@alicloud/cloudapi20160714 3.0.2 → 3.1.1
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 +1391 -179
- package/dist/client.js +2033 -232
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +2425 -335
package/dist/client.js
CHANGED
|
@@ -253,6 +253,62 @@ class AddTrafficSpecialControlResponse extends $tea.Model {
|
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
exports.AddTrafficSpecialControlResponse = AddTrafficSpecialControlResponse;
|
|
256
|
+
class AttachApiProductRequest extends $tea.Model {
|
|
257
|
+
constructor(map) {
|
|
258
|
+
super(map);
|
|
259
|
+
}
|
|
260
|
+
static names() {
|
|
261
|
+
return {
|
|
262
|
+
apiProductId: 'ApiProductId',
|
|
263
|
+
apis: 'Apis',
|
|
264
|
+
securityToken: 'SecurityToken',
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
static types() {
|
|
268
|
+
return {
|
|
269
|
+
apiProductId: 'string',
|
|
270
|
+
apis: { 'type': 'array', 'itemType': AttachApiProductRequestApis },
|
|
271
|
+
securityToken: 'string',
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
exports.AttachApiProductRequest = AttachApiProductRequest;
|
|
276
|
+
class AttachApiProductResponseBody extends $tea.Model {
|
|
277
|
+
constructor(map) {
|
|
278
|
+
super(map);
|
|
279
|
+
}
|
|
280
|
+
static names() {
|
|
281
|
+
return {
|
|
282
|
+
requestId: 'RequestId',
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
static types() {
|
|
286
|
+
return {
|
|
287
|
+
requestId: 'string',
|
|
288
|
+
};
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
exports.AttachApiProductResponseBody = AttachApiProductResponseBody;
|
|
292
|
+
class AttachApiProductResponse extends $tea.Model {
|
|
293
|
+
constructor(map) {
|
|
294
|
+
super(map);
|
|
295
|
+
}
|
|
296
|
+
static names() {
|
|
297
|
+
return {
|
|
298
|
+
headers: 'headers',
|
|
299
|
+
statusCode: 'statusCode',
|
|
300
|
+
body: 'body',
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
static types() {
|
|
304
|
+
return {
|
|
305
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
306
|
+
statusCode: 'number',
|
|
307
|
+
body: AttachApiProductResponseBody,
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
exports.AttachApiProductResponse = AttachApiProductResponse;
|
|
256
312
|
class AttachPluginRequest extends $tea.Model {
|
|
257
313
|
constructor(map) {
|
|
258
314
|
super(map);
|
|
@@ -1859,6 +1915,60 @@ class DeleteApiGroupResponse extends $tea.Model {
|
|
|
1859
1915
|
}
|
|
1860
1916
|
}
|
|
1861
1917
|
exports.DeleteApiGroupResponse = DeleteApiGroupResponse;
|
|
1918
|
+
class DeleteApiProductRequest extends $tea.Model {
|
|
1919
|
+
constructor(map) {
|
|
1920
|
+
super(map);
|
|
1921
|
+
}
|
|
1922
|
+
static names() {
|
|
1923
|
+
return {
|
|
1924
|
+
apiProductId: 'ApiProductId',
|
|
1925
|
+
securityToken: 'SecurityToken',
|
|
1926
|
+
};
|
|
1927
|
+
}
|
|
1928
|
+
static types() {
|
|
1929
|
+
return {
|
|
1930
|
+
apiProductId: 'string',
|
|
1931
|
+
securityToken: 'string',
|
|
1932
|
+
};
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
exports.DeleteApiProductRequest = DeleteApiProductRequest;
|
|
1936
|
+
class DeleteApiProductResponseBody extends $tea.Model {
|
|
1937
|
+
constructor(map) {
|
|
1938
|
+
super(map);
|
|
1939
|
+
}
|
|
1940
|
+
static names() {
|
|
1941
|
+
return {
|
|
1942
|
+
requestId: 'RequestId',
|
|
1943
|
+
};
|
|
1944
|
+
}
|
|
1945
|
+
static types() {
|
|
1946
|
+
return {
|
|
1947
|
+
requestId: 'string',
|
|
1948
|
+
};
|
|
1949
|
+
}
|
|
1950
|
+
}
|
|
1951
|
+
exports.DeleteApiProductResponseBody = DeleteApiProductResponseBody;
|
|
1952
|
+
class DeleteApiProductResponse extends $tea.Model {
|
|
1953
|
+
constructor(map) {
|
|
1954
|
+
super(map);
|
|
1955
|
+
}
|
|
1956
|
+
static names() {
|
|
1957
|
+
return {
|
|
1958
|
+
headers: 'headers',
|
|
1959
|
+
statusCode: 'statusCode',
|
|
1960
|
+
body: 'body',
|
|
1961
|
+
};
|
|
1962
|
+
}
|
|
1963
|
+
static types() {
|
|
1964
|
+
return {
|
|
1965
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1966
|
+
statusCode: 'number',
|
|
1967
|
+
body: DeleteApiProductResponseBody,
|
|
1968
|
+
};
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
1971
|
+
exports.DeleteApiProductResponse = DeleteApiProductResponse;
|
|
1862
1972
|
class DeleteApiStageVariableRequest extends $tea.Model {
|
|
1863
1973
|
constructor(map) {
|
|
1864
1974
|
super(map);
|
|
@@ -3917,6 +4027,138 @@ class DescribeApiMarketAttributesResponse extends $tea.Model {
|
|
|
3917
4027
|
}
|
|
3918
4028
|
}
|
|
3919
4029
|
exports.DescribeApiMarketAttributesResponse = DescribeApiMarketAttributesResponse;
|
|
4030
|
+
class DescribeApiProductApisRequest extends $tea.Model {
|
|
4031
|
+
constructor(map) {
|
|
4032
|
+
super(map);
|
|
4033
|
+
}
|
|
4034
|
+
static names() {
|
|
4035
|
+
return {
|
|
4036
|
+
apiProductId: 'ApiProductId',
|
|
4037
|
+
pageNumber: 'PageNumber',
|
|
4038
|
+
pageSize: 'PageSize',
|
|
4039
|
+
securityToken: 'SecurityToken',
|
|
4040
|
+
};
|
|
4041
|
+
}
|
|
4042
|
+
static types() {
|
|
4043
|
+
return {
|
|
4044
|
+
apiProductId: 'string',
|
|
4045
|
+
pageNumber: 'number',
|
|
4046
|
+
pageSize: 'number',
|
|
4047
|
+
securityToken: 'string',
|
|
4048
|
+
};
|
|
4049
|
+
}
|
|
4050
|
+
}
|
|
4051
|
+
exports.DescribeApiProductApisRequest = DescribeApiProductApisRequest;
|
|
4052
|
+
class DescribeApiProductApisResponseBody extends $tea.Model {
|
|
4053
|
+
constructor(map) {
|
|
4054
|
+
super(map);
|
|
4055
|
+
}
|
|
4056
|
+
static names() {
|
|
4057
|
+
return {
|
|
4058
|
+
apiInfoList: 'ApiInfoList',
|
|
4059
|
+
pageNumber: 'PageNumber',
|
|
4060
|
+
pageSize: 'PageSize',
|
|
4061
|
+
requestId: 'RequestId',
|
|
4062
|
+
totalCount: 'TotalCount',
|
|
4063
|
+
};
|
|
4064
|
+
}
|
|
4065
|
+
static types() {
|
|
4066
|
+
return {
|
|
4067
|
+
apiInfoList: DescribeApiProductApisResponseBodyApiInfoList,
|
|
4068
|
+
pageNumber: 'number',
|
|
4069
|
+
pageSize: 'number',
|
|
4070
|
+
requestId: 'string',
|
|
4071
|
+
totalCount: 'number',
|
|
4072
|
+
};
|
|
4073
|
+
}
|
|
4074
|
+
}
|
|
4075
|
+
exports.DescribeApiProductApisResponseBody = DescribeApiProductApisResponseBody;
|
|
4076
|
+
class DescribeApiProductApisResponse extends $tea.Model {
|
|
4077
|
+
constructor(map) {
|
|
4078
|
+
super(map);
|
|
4079
|
+
}
|
|
4080
|
+
static names() {
|
|
4081
|
+
return {
|
|
4082
|
+
headers: 'headers',
|
|
4083
|
+
statusCode: 'statusCode',
|
|
4084
|
+
body: 'body',
|
|
4085
|
+
};
|
|
4086
|
+
}
|
|
4087
|
+
static types() {
|
|
4088
|
+
return {
|
|
4089
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4090
|
+
statusCode: 'number',
|
|
4091
|
+
body: DescribeApiProductApisResponseBody,
|
|
4092
|
+
};
|
|
4093
|
+
}
|
|
4094
|
+
}
|
|
4095
|
+
exports.DescribeApiProductApisResponse = DescribeApiProductApisResponse;
|
|
4096
|
+
class DescribeApiProductsByAppRequest extends $tea.Model {
|
|
4097
|
+
constructor(map) {
|
|
4098
|
+
super(map);
|
|
4099
|
+
}
|
|
4100
|
+
static names() {
|
|
4101
|
+
return {
|
|
4102
|
+
appId: 'AppId',
|
|
4103
|
+
pageNumber: 'PageNumber',
|
|
4104
|
+
pageSize: 'PageSize',
|
|
4105
|
+
securityToken: 'SecurityToken',
|
|
4106
|
+
};
|
|
4107
|
+
}
|
|
4108
|
+
static types() {
|
|
4109
|
+
return {
|
|
4110
|
+
appId: 'number',
|
|
4111
|
+
pageNumber: 'number',
|
|
4112
|
+
pageSize: 'number',
|
|
4113
|
+
securityToken: 'string',
|
|
4114
|
+
};
|
|
4115
|
+
}
|
|
4116
|
+
}
|
|
4117
|
+
exports.DescribeApiProductsByAppRequest = DescribeApiProductsByAppRequest;
|
|
4118
|
+
class DescribeApiProductsByAppResponseBody extends $tea.Model {
|
|
4119
|
+
constructor(map) {
|
|
4120
|
+
super(map);
|
|
4121
|
+
}
|
|
4122
|
+
static names() {
|
|
4123
|
+
return {
|
|
4124
|
+
apiProductInfoList: 'ApiProductInfoList',
|
|
4125
|
+
pageNumber: 'PageNumber',
|
|
4126
|
+
pageSize: 'PageSize',
|
|
4127
|
+
requestId: 'RequestId',
|
|
4128
|
+
totalCount: 'TotalCount',
|
|
4129
|
+
};
|
|
4130
|
+
}
|
|
4131
|
+
static types() {
|
|
4132
|
+
return {
|
|
4133
|
+
apiProductInfoList: DescribeApiProductsByAppResponseBodyApiProductInfoList,
|
|
4134
|
+
pageNumber: 'number',
|
|
4135
|
+
pageSize: 'number',
|
|
4136
|
+
requestId: 'string',
|
|
4137
|
+
totalCount: 'number',
|
|
4138
|
+
};
|
|
4139
|
+
}
|
|
4140
|
+
}
|
|
4141
|
+
exports.DescribeApiProductsByAppResponseBody = DescribeApiProductsByAppResponseBody;
|
|
4142
|
+
class DescribeApiProductsByAppResponse extends $tea.Model {
|
|
4143
|
+
constructor(map) {
|
|
4144
|
+
super(map);
|
|
4145
|
+
}
|
|
4146
|
+
static names() {
|
|
4147
|
+
return {
|
|
4148
|
+
headers: 'headers',
|
|
4149
|
+
statusCode: 'statusCode',
|
|
4150
|
+
body: 'body',
|
|
4151
|
+
};
|
|
4152
|
+
}
|
|
4153
|
+
static types() {
|
|
4154
|
+
return {
|
|
4155
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4156
|
+
statusCode: 'number',
|
|
4157
|
+
body: DescribeApiProductsByAppResponseBody,
|
|
4158
|
+
};
|
|
4159
|
+
}
|
|
4160
|
+
}
|
|
4161
|
+
exports.DescribeApiProductsByAppResponse = DescribeApiProductsByAppResponse;
|
|
3920
4162
|
class DescribeApiQpsDataRequest extends $tea.Model {
|
|
3921
4163
|
constructor(map) {
|
|
3922
4164
|
super(map);
|
|
@@ -4617,53 +4859,63 @@ class DescribeApisByTrafficControlResponse extends $tea.Model {
|
|
|
4617
4859
|
}
|
|
4618
4860
|
}
|
|
4619
4861
|
exports.DescribeApisByTrafficControlResponse = DescribeApisByTrafficControlResponse;
|
|
4620
|
-
class
|
|
4862
|
+
class DescribeApisWithStageNameIntegratedByAppRequest extends $tea.Model {
|
|
4621
4863
|
constructor(map) {
|
|
4622
4864
|
super(map);
|
|
4623
4865
|
}
|
|
4624
4866
|
static names() {
|
|
4625
4867
|
return {
|
|
4868
|
+
apiName: 'ApiName',
|
|
4869
|
+
apiUid: 'ApiUid',
|
|
4626
4870
|
appId: 'AppId',
|
|
4871
|
+
description: 'Description',
|
|
4872
|
+
method: 'Method',
|
|
4873
|
+
pageNumber: 'PageNumber',
|
|
4874
|
+
pageSize: 'PageSize',
|
|
4875
|
+
path: 'Path',
|
|
4627
4876
|
securityToken: 'SecurityToken',
|
|
4628
4877
|
};
|
|
4629
4878
|
}
|
|
4630
4879
|
static types() {
|
|
4631
4880
|
return {
|
|
4881
|
+
apiName: 'string',
|
|
4882
|
+
apiUid: 'string',
|
|
4632
4883
|
appId: 'number',
|
|
4884
|
+
description: 'string',
|
|
4885
|
+
method: 'string',
|
|
4886
|
+
pageNumber: 'number',
|
|
4887
|
+
pageSize: 'number',
|
|
4888
|
+
path: 'string',
|
|
4633
4889
|
securityToken: 'string',
|
|
4634
4890
|
};
|
|
4635
4891
|
}
|
|
4636
4892
|
}
|
|
4637
|
-
exports.
|
|
4638
|
-
class
|
|
4893
|
+
exports.DescribeApisWithStageNameIntegratedByAppRequest = DescribeApisWithStageNameIntegratedByAppRequest;
|
|
4894
|
+
class DescribeApisWithStageNameIntegratedByAppResponseBody extends $tea.Model {
|
|
4639
4895
|
constructor(map) {
|
|
4640
4896
|
super(map);
|
|
4641
4897
|
}
|
|
4642
4898
|
static names() {
|
|
4643
4899
|
return {
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
description: 'Description',
|
|
4648
|
-
extend: 'Extend',
|
|
4649
|
-
modifiedTime: 'ModifiedTime',
|
|
4900
|
+
appApiRelationInfos: 'AppApiRelationInfos',
|
|
4901
|
+
pageNumber: 'PageNumber',
|
|
4902
|
+
pageSize: 'PageSize',
|
|
4650
4903
|
requestId: 'RequestId',
|
|
4904
|
+
totalCount: 'TotalCount',
|
|
4651
4905
|
};
|
|
4652
4906
|
}
|
|
4653
4907
|
static types() {
|
|
4654
4908
|
return {
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
description: 'string',
|
|
4659
|
-
extend: 'string',
|
|
4660
|
-
modifiedTime: 'string',
|
|
4909
|
+
appApiRelationInfos: DescribeApisWithStageNameIntegratedByAppResponseBodyAppApiRelationInfos,
|
|
4910
|
+
pageNumber: 'number',
|
|
4911
|
+
pageSize: 'number',
|
|
4661
4912
|
requestId: 'string',
|
|
4913
|
+
totalCount: 'number',
|
|
4662
4914
|
};
|
|
4663
4915
|
}
|
|
4664
4916
|
}
|
|
4665
|
-
exports.
|
|
4666
|
-
class
|
|
4917
|
+
exports.DescribeApisWithStageNameIntegratedByAppResponseBody = DescribeApisWithStageNameIntegratedByAppResponseBody;
|
|
4918
|
+
class DescribeApisWithStageNameIntegratedByAppResponse extends $tea.Model {
|
|
4667
4919
|
constructor(map) {
|
|
4668
4920
|
super(map);
|
|
4669
4921
|
}
|
|
@@ -4678,33 +4930,99 @@ class DescribeAppResponse extends $tea.Model {
|
|
|
4678
4930
|
return {
|
|
4679
4931
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4680
4932
|
statusCode: 'number',
|
|
4681
|
-
body:
|
|
4933
|
+
body: DescribeApisWithStageNameIntegratedByAppResponseBody,
|
|
4682
4934
|
};
|
|
4683
4935
|
}
|
|
4684
4936
|
}
|
|
4685
|
-
exports.
|
|
4686
|
-
class
|
|
4937
|
+
exports.DescribeApisWithStageNameIntegratedByAppResponse = DescribeApisWithStageNameIntegratedByAppResponse;
|
|
4938
|
+
class DescribeAppRequest extends $tea.Model {
|
|
4687
4939
|
constructor(map) {
|
|
4688
4940
|
super(map);
|
|
4689
4941
|
}
|
|
4690
4942
|
static names() {
|
|
4691
4943
|
return {
|
|
4692
|
-
appCode: 'AppCode',
|
|
4693
4944
|
appId: 'AppId',
|
|
4694
|
-
appKey: 'AppKey',
|
|
4695
|
-
appName: 'AppName',
|
|
4696
|
-
enableTagAuth: 'EnableTagAuth',
|
|
4697
|
-
extend: 'Extend',
|
|
4698
|
-
pageNumber: 'PageNumber',
|
|
4699
|
-
pageSize: 'PageSize',
|
|
4700
4945
|
securityToken: 'SecurityToken',
|
|
4701
|
-
sort: 'Sort',
|
|
4702
|
-
tag: 'Tag',
|
|
4703
4946
|
};
|
|
4704
4947
|
}
|
|
4705
4948
|
static types() {
|
|
4706
4949
|
return {
|
|
4707
|
-
|
|
4950
|
+
appId: 'number',
|
|
4951
|
+
securityToken: 'string',
|
|
4952
|
+
};
|
|
4953
|
+
}
|
|
4954
|
+
}
|
|
4955
|
+
exports.DescribeAppRequest = DescribeAppRequest;
|
|
4956
|
+
class DescribeAppResponseBody extends $tea.Model {
|
|
4957
|
+
constructor(map) {
|
|
4958
|
+
super(map);
|
|
4959
|
+
}
|
|
4960
|
+
static names() {
|
|
4961
|
+
return {
|
|
4962
|
+
appId: 'AppId',
|
|
4963
|
+
appName: 'AppName',
|
|
4964
|
+
createdTime: 'CreatedTime',
|
|
4965
|
+
description: 'Description',
|
|
4966
|
+
extend: 'Extend',
|
|
4967
|
+
modifiedTime: 'ModifiedTime',
|
|
4968
|
+
requestId: 'RequestId',
|
|
4969
|
+
};
|
|
4970
|
+
}
|
|
4971
|
+
static types() {
|
|
4972
|
+
return {
|
|
4973
|
+
appId: 'number',
|
|
4974
|
+
appName: 'string',
|
|
4975
|
+
createdTime: 'string',
|
|
4976
|
+
description: 'string',
|
|
4977
|
+
extend: 'string',
|
|
4978
|
+
modifiedTime: 'string',
|
|
4979
|
+
requestId: 'string',
|
|
4980
|
+
};
|
|
4981
|
+
}
|
|
4982
|
+
}
|
|
4983
|
+
exports.DescribeAppResponseBody = DescribeAppResponseBody;
|
|
4984
|
+
class DescribeAppResponse extends $tea.Model {
|
|
4985
|
+
constructor(map) {
|
|
4986
|
+
super(map);
|
|
4987
|
+
}
|
|
4988
|
+
static names() {
|
|
4989
|
+
return {
|
|
4990
|
+
headers: 'headers',
|
|
4991
|
+
statusCode: 'statusCode',
|
|
4992
|
+
body: 'body',
|
|
4993
|
+
};
|
|
4994
|
+
}
|
|
4995
|
+
static types() {
|
|
4996
|
+
return {
|
|
4997
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4998
|
+
statusCode: 'number',
|
|
4999
|
+
body: DescribeAppResponseBody,
|
|
5000
|
+
};
|
|
5001
|
+
}
|
|
5002
|
+
}
|
|
5003
|
+
exports.DescribeAppResponse = DescribeAppResponse;
|
|
5004
|
+
class DescribeAppAttributesRequest extends $tea.Model {
|
|
5005
|
+
constructor(map) {
|
|
5006
|
+
super(map);
|
|
5007
|
+
}
|
|
5008
|
+
static names() {
|
|
5009
|
+
return {
|
|
5010
|
+
appCode: 'AppCode',
|
|
5011
|
+
appId: 'AppId',
|
|
5012
|
+
appKey: 'AppKey',
|
|
5013
|
+
appName: 'AppName',
|
|
5014
|
+
enableTagAuth: 'EnableTagAuth',
|
|
5015
|
+
extend: 'Extend',
|
|
5016
|
+
pageNumber: 'PageNumber',
|
|
5017
|
+
pageSize: 'PageSize',
|
|
5018
|
+
securityToken: 'SecurityToken',
|
|
5019
|
+
sort: 'Sort',
|
|
5020
|
+
tag: 'Tag',
|
|
5021
|
+
};
|
|
5022
|
+
}
|
|
5023
|
+
static types() {
|
|
5024
|
+
return {
|
|
5025
|
+
appCode: 'string',
|
|
4708
5026
|
appId: 'number',
|
|
4709
5027
|
appKey: 'string',
|
|
4710
5028
|
appName: 'string',
|
|
@@ -4897,6 +5215,74 @@ class DescribeAppsResponse extends $tea.Model {
|
|
|
4897
5215
|
}
|
|
4898
5216
|
}
|
|
4899
5217
|
exports.DescribeAppsResponse = DescribeAppsResponse;
|
|
5218
|
+
class DescribeAppsByApiProductRequest extends $tea.Model {
|
|
5219
|
+
constructor(map) {
|
|
5220
|
+
super(map);
|
|
5221
|
+
}
|
|
5222
|
+
static names() {
|
|
5223
|
+
return {
|
|
5224
|
+
apiProductId: 'ApiProductId',
|
|
5225
|
+
appName: 'AppName',
|
|
5226
|
+
pageNumber: 'PageNumber',
|
|
5227
|
+
pageSize: 'PageSize',
|
|
5228
|
+
securityToken: 'SecurityToken',
|
|
5229
|
+
};
|
|
5230
|
+
}
|
|
5231
|
+
static types() {
|
|
5232
|
+
return {
|
|
5233
|
+
apiProductId: 'string',
|
|
5234
|
+
appName: 'string',
|
|
5235
|
+
pageNumber: 'number',
|
|
5236
|
+
pageSize: 'number',
|
|
5237
|
+
securityToken: 'string',
|
|
5238
|
+
};
|
|
5239
|
+
}
|
|
5240
|
+
}
|
|
5241
|
+
exports.DescribeAppsByApiProductRequest = DescribeAppsByApiProductRequest;
|
|
5242
|
+
class DescribeAppsByApiProductResponseBody extends $tea.Model {
|
|
5243
|
+
constructor(map) {
|
|
5244
|
+
super(map);
|
|
5245
|
+
}
|
|
5246
|
+
static names() {
|
|
5247
|
+
return {
|
|
5248
|
+
authorizedApps: 'AuthorizedApps',
|
|
5249
|
+
pageNumber: 'PageNumber',
|
|
5250
|
+
pageSize: 'PageSize',
|
|
5251
|
+
requestId: 'RequestId',
|
|
5252
|
+
totalCount: 'TotalCount',
|
|
5253
|
+
};
|
|
5254
|
+
}
|
|
5255
|
+
static types() {
|
|
5256
|
+
return {
|
|
5257
|
+
authorizedApps: DescribeAppsByApiProductResponseBodyAuthorizedApps,
|
|
5258
|
+
pageNumber: 'number',
|
|
5259
|
+
pageSize: 'number',
|
|
5260
|
+
requestId: 'string',
|
|
5261
|
+
totalCount: 'number',
|
|
5262
|
+
};
|
|
5263
|
+
}
|
|
5264
|
+
}
|
|
5265
|
+
exports.DescribeAppsByApiProductResponseBody = DescribeAppsByApiProductResponseBody;
|
|
5266
|
+
class DescribeAppsByApiProductResponse extends $tea.Model {
|
|
5267
|
+
constructor(map) {
|
|
5268
|
+
super(map);
|
|
5269
|
+
}
|
|
5270
|
+
static names() {
|
|
5271
|
+
return {
|
|
5272
|
+
headers: 'headers',
|
|
5273
|
+
statusCode: 'statusCode',
|
|
5274
|
+
body: 'body',
|
|
5275
|
+
};
|
|
5276
|
+
}
|
|
5277
|
+
static types() {
|
|
5278
|
+
return {
|
|
5279
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5280
|
+
statusCode: 'number',
|
|
5281
|
+
body: DescribeAppsByApiProductResponseBody,
|
|
5282
|
+
};
|
|
5283
|
+
}
|
|
5284
|
+
}
|
|
5285
|
+
exports.DescribeAppsByApiProductResponse = DescribeAppsByApiProductResponse;
|
|
4900
5286
|
class DescribeAuthorizedApisRequest extends $tea.Model {
|
|
4901
5287
|
constructor(map) {
|
|
4902
5288
|
super(map);
|
|
@@ -8101,6 +8487,62 @@ class DescribeZonesResponse extends $tea.Model {
|
|
|
8101
8487
|
}
|
|
8102
8488
|
}
|
|
8103
8489
|
exports.DescribeZonesResponse = DescribeZonesResponse;
|
|
8490
|
+
class DetachApiProductRequest extends $tea.Model {
|
|
8491
|
+
constructor(map) {
|
|
8492
|
+
super(map);
|
|
8493
|
+
}
|
|
8494
|
+
static names() {
|
|
8495
|
+
return {
|
|
8496
|
+
apiProductId: 'ApiProductId',
|
|
8497
|
+
apis: 'Apis',
|
|
8498
|
+
securityToken: 'SecurityToken',
|
|
8499
|
+
};
|
|
8500
|
+
}
|
|
8501
|
+
static types() {
|
|
8502
|
+
return {
|
|
8503
|
+
apiProductId: 'string',
|
|
8504
|
+
apis: { 'type': 'array', 'itemType': DetachApiProductRequestApis },
|
|
8505
|
+
securityToken: 'string',
|
|
8506
|
+
};
|
|
8507
|
+
}
|
|
8508
|
+
}
|
|
8509
|
+
exports.DetachApiProductRequest = DetachApiProductRequest;
|
|
8510
|
+
class DetachApiProductResponseBody extends $tea.Model {
|
|
8511
|
+
constructor(map) {
|
|
8512
|
+
super(map);
|
|
8513
|
+
}
|
|
8514
|
+
static names() {
|
|
8515
|
+
return {
|
|
8516
|
+
requestId: 'RequestId',
|
|
8517
|
+
};
|
|
8518
|
+
}
|
|
8519
|
+
static types() {
|
|
8520
|
+
return {
|
|
8521
|
+
requestId: 'string',
|
|
8522
|
+
};
|
|
8523
|
+
}
|
|
8524
|
+
}
|
|
8525
|
+
exports.DetachApiProductResponseBody = DetachApiProductResponseBody;
|
|
8526
|
+
class DetachApiProductResponse extends $tea.Model {
|
|
8527
|
+
constructor(map) {
|
|
8528
|
+
super(map);
|
|
8529
|
+
}
|
|
8530
|
+
static names() {
|
|
8531
|
+
return {
|
|
8532
|
+
headers: 'headers',
|
|
8533
|
+
statusCode: 'statusCode',
|
|
8534
|
+
body: 'body',
|
|
8535
|
+
};
|
|
8536
|
+
}
|
|
8537
|
+
static types() {
|
|
8538
|
+
return {
|
|
8539
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8540
|
+
statusCode: 'number',
|
|
8541
|
+
body: DetachApiProductResponseBody,
|
|
8542
|
+
};
|
|
8543
|
+
}
|
|
8544
|
+
}
|
|
8545
|
+
exports.DetachApiProductResponse = DetachApiProductResponse;
|
|
8104
8546
|
class DetachPluginRequest extends $tea.Model {
|
|
8105
8547
|
constructor(map) {
|
|
8106
8548
|
super(map);
|
|
@@ -9361,6 +9803,62 @@ class ModifyInstanceSpecResponse extends $tea.Model {
|
|
|
9361
9803
|
}
|
|
9362
9804
|
}
|
|
9363
9805
|
exports.ModifyInstanceSpecResponse = ModifyInstanceSpecResponse;
|
|
9806
|
+
class ModifyIntranetDomainPolicyRequest extends $tea.Model {
|
|
9807
|
+
constructor(map) {
|
|
9808
|
+
super(map);
|
|
9809
|
+
}
|
|
9810
|
+
static names() {
|
|
9811
|
+
return {
|
|
9812
|
+
groupId: 'GroupId',
|
|
9813
|
+
securityToken: 'SecurityToken',
|
|
9814
|
+
vpcIntranetEnable: 'VpcIntranetEnable',
|
|
9815
|
+
};
|
|
9816
|
+
}
|
|
9817
|
+
static types() {
|
|
9818
|
+
return {
|
|
9819
|
+
groupId: 'string',
|
|
9820
|
+
securityToken: 'string',
|
|
9821
|
+
vpcIntranetEnable: 'boolean',
|
|
9822
|
+
};
|
|
9823
|
+
}
|
|
9824
|
+
}
|
|
9825
|
+
exports.ModifyIntranetDomainPolicyRequest = ModifyIntranetDomainPolicyRequest;
|
|
9826
|
+
class ModifyIntranetDomainPolicyResponseBody extends $tea.Model {
|
|
9827
|
+
constructor(map) {
|
|
9828
|
+
super(map);
|
|
9829
|
+
}
|
|
9830
|
+
static names() {
|
|
9831
|
+
return {
|
|
9832
|
+
requestId: 'RequestId',
|
|
9833
|
+
};
|
|
9834
|
+
}
|
|
9835
|
+
static types() {
|
|
9836
|
+
return {
|
|
9837
|
+
requestId: 'string',
|
|
9838
|
+
};
|
|
9839
|
+
}
|
|
9840
|
+
}
|
|
9841
|
+
exports.ModifyIntranetDomainPolicyResponseBody = ModifyIntranetDomainPolicyResponseBody;
|
|
9842
|
+
class ModifyIntranetDomainPolicyResponse extends $tea.Model {
|
|
9843
|
+
constructor(map) {
|
|
9844
|
+
super(map);
|
|
9845
|
+
}
|
|
9846
|
+
static names() {
|
|
9847
|
+
return {
|
|
9848
|
+
headers: 'headers',
|
|
9849
|
+
statusCode: 'statusCode',
|
|
9850
|
+
body: 'body',
|
|
9851
|
+
};
|
|
9852
|
+
}
|
|
9853
|
+
static types() {
|
|
9854
|
+
return {
|
|
9855
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9856
|
+
statusCode: 'number',
|
|
9857
|
+
body: ModifyIntranetDomainPolicyResponseBody,
|
|
9858
|
+
};
|
|
9859
|
+
}
|
|
9860
|
+
}
|
|
9861
|
+
exports.ModifyIntranetDomainPolicyResponse = ModifyIntranetDomainPolicyResponse;
|
|
9364
9862
|
class ModifyIpControlRequest extends $tea.Model {
|
|
9365
9863
|
constructor(map) {
|
|
9366
9864
|
super(map);
|
|
@@ -10065,64 +10563,140 @@ class RemoveAccessControlListEntryResponse extends $tea.Model {
|
|
|
10065
10563
|
}
|
|
10066
10564
|
}
|
|
10067
10565
|
exports.RemoveAccessControlListEntryResponse = RemoveAccessControlListEntryResponse;
|
|
10068
|
-
class
|
|
10566
|
+
class RemoveApiProductsAuthoritiesRequest extends $tea.Model {
|
|
10069
10567
|
constructor(map) {
|
|
10070
10568
|
super(map);
|
|
10071
10569
|
}
|
|
10072
10570
|
static names() {
|
|
10073
10571
|
return {
|
|
10074
|
-
|
|
10572
|
+
apiProductIds: 'ApiProductIds',
|
|
10075
10573
|
appId: 'AppId',
|
|
10076
|
-
description: 'Description',
|
|
10077
|
-
groupId: 'GroupId',
|
|
10078
10574
|
securityToken: 'SecurityToken',
|
|
10079
|
-
stageName: 'StageName',
|
|
10080
10575
|
};
|
|
10081
10576
|
}
|
|
10082
10577
|
static types() {
|
|
10083
10578
|
return {
|
|
10084
|
-
|
|
10579
|
+
apiProductIds: { 'type': 'array', 'itemType': 'string' },
|
|
10085
10580
|
appId: 'number',
|
|
10086
|
-
description: 'string',
|
|
10087
|
-
groupId: 'string',
|
|
10088
10581
|
securityToken: 'string',
|
|
10089
|
-
stageName: 'string',
|
|
10090
10582
|
};
|
|
10091
10583
|
}
|
|
10092
10584
|
}
|
|
10093
|
-
exports.
|
|
10094
|
-
class
|
|
10585
|
+
exports.RemoveApiProductsAuthoritiesRequest = RemoveApiProductsAuthoritiesRequest;
|
|
10586
|
+
class RemoveApiProductsAuthoritiesShrinkRequest extends $tea.Model {
|
|
10095
10587
|
constructor(map) {
|
|
10096
10588
|
super(map);
|
|
10097
10589
|
}
|
|
10098
10590
|
static names() {
|
|
10099
10591
|
return {
|
|
10100
|
-
|
|
10592
|
+
apiProductIdsShrink: 'ApiProductIds',
|
|
10593
|
+
appId: 'AppId',
|
|
10594
|
+
securityToken: 'SecurityToken',
|
|
10101
10595
|
};
|
|
10102
10596
|
}
|
|
10103
10597
|
static types() {
|
|
10104
10598
|
return {
|
|
10105
|
-
|
|
10599
|
+
apiProductIdsShrink: 'string',
|
|
10600
|
+
appId: 'number',
|
|
10601
|
+
securityToken: 'string',
|
|
10106
10602
|
};
|
|
10107
10603
|
}
|
|
10108
10604
|
}
|
|
10109
|
-
exports.
|
|
10110
|
-
class
|
|
10605
|
+
exports.RemoveApiProductsAuthoritiesShrinkRequest = RemoveApiProductsAuthoritiesShrinkRequest;
|
|
10606
|
+
class RemoveApiProductsAuthoritiesResponseBody extends $tea.Model {
|
|
10111
10607
|
constructor(map) {
|
|
10112
10608
|
super(map);
|
|
10113
10609
|
}
|
|
10114
10610
|
static names() {
|
|
10115
10611
|
return {
|
|
10116
|
-
|
|
10117
|
-
statusCode: 'statusCode',
|
|
10118
|
-
body: 'body',
|
|
10612
|
+
requestId: 'RequestId',
|
|
10119
10613
|
};
|
|
10120
10614
|
}
|
|
10121
10615
|
static types() {
|
|
10122
10616
|
return {
|
|
10123
|
-
|
|
10124
|
-
|
|
10125
|
-
|
|
10617
|
+
requestId: 'string',
|
|
10618
|
+
};
|
|
10619
|
+
}
|
|
10620
|
+
}
|
|
10621
|
+
exports.RemoveApiProductsAuthoritiesResponseBody = RemoveApiProductsAuthoritiesResponseBody;
|
|
10622
|
+
class RemoveApiProductsAuthoritiesResponse extends $tea.Model {
|
|
10623
|
+
constructor(map) {
|
|
10624
|
+
super(map);
|
|
10625
|
+
}
|
|
10626
|
+
static names() {
|
|
10627
|
+
return {
|
|
10628
|
+
headers: 'headers',
|
|
10629
|
+
statusCode: 'statusCode',
|
|
10630
|
+
body: 'body',
|
|
10631
|
+
};
|
|
10632
|
+
}
|
|
10633
|
+
static types() {
|
|
10634
|
+
return {
|
|
10635
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10636
|
+
statusCode: 'number',
|
|
10637
|
+
body: RemoveApiProductsAuthoritiesResponseBody,
|
|
10638
|
+
};
|
|
10639
|
+
}
|
|
10640
|
+
}
|
|
10641
|
+
exports.RemoveApiProductsAuthoritiesResponse = RemoveApiProductsAuthoritiesResponse;
|
|
10642
|
+
class RemoveApisAuthoritiesRequest extends $tea.Model {
|
|
10643
|
+
constructor(map) {
|
|
10644
|
+
super(map);
|
|
10645
|
+
}
|
|
10646
|
+
static names() {
|
|
10647
|
+
return {
|
|
10648
|
+
apiIds: 'ApiIds',
|
|
10649
|
+
appId: 'AppId',
|
|
10650
|
+
description: 'Description',
|
|
10651
|
+
groupId: 'GroupId',
|
|
10652
|
+
securityToken: 'SecurityToken',
|
|
10653
|
+
stageName: 'StageName',
|
|
10654
|
+
};
|
|
10655
|
+
}
|
|
10656
|
+
static types() {
|
|
10657
|
+
return {
|
|
10658
|
+
apiIds: 'string',
|
|
10659
|
+
appId: 'number',
|
|
10660
|
+
description: 'string',
|
|
10661
|
+
groupId: 'string',
|
|
10662
|
+
securityToken: 'string',
|
|
10663
|
+
stageName: 'string',
|
|
10664
|
+
};
|
|
10665
|
+
}
|
|
10666
|
+
}
|
|
10667
|
+
exports.RemoveApisAuthoritiesRequest = RemoveApisAuthoritiesRequest;
|
|
10668
|
+
class RemoveApisAuthoritiesResponseBody extends $tea.Model {
|
|
10669
|
+
constructor(map) {
|
|
10670
|
+
super(map);
|
|
10671
|
+
}
|
|
10672
|
+
static names() {
|
|
10673
|
+
return {
|
|
10674
|
+
requestId: 'RequestId',
|
|
10675
|
+
};
|
|
10676
|
+
}
|
|
10677
|
+
static types() {
|
|
10678
|
+
return {
|
|
10679
|
+
requestId: 'string',
|
|
10680
|
+
};
|
|
10681
|
+
}
|
|
10682
|
+
}
|
|
10683
|
+
exports.RemoveApisAuthoritiesResponseBody = RemoveApisAuthoritiesResponseBody;
|
|
10684
|
+
class RemoveApisAuthoritiesResponse extends $tea.Model {
|
|
10685
|
+
constructor(map) {
|
|
10686
|
+
super(map);
|
|
10687
|
+
}
|
|
10688
|
+
static names() {
|
|
10689
|
+
return {
|
|
10690
|
+
headers: 'headers',
|
|
10691
|
+
statusCode: 'statusCode',
|
|
10692
|
+
body: 'body',
|
|
10693
|
+
};
|
|
10694
|
+
}
|
|
10695
|
+
static types() {
|
|
10696
|
+
return {
|
|
10697
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10698
|
+
statusCode: 'number',
|
|
10699
|
+
body: RemoveApisAuthoritiesResponseBody,
|
|
10126
10700
|
};
|
|
10127
10701
|
}
|
|
10128
10702
|
}
|
|
@@ -10891,6 +11465,90 @@ class SetAccessControlListAttributeResponse extends $tea.Model {
|
|
|
10891
11465
|
}
|
|
10892
11466
|
}
|
|
10893
11467
|
exports.SetAccessControlListAttributeResponse = SetAccessControlListAttributeResponse;
|
|
11468
|
+
class SetApiProductsAuthoritiesRequest extends $tea.Model {
|
|
11469
|
+
constructor(map) {
|
|
11470
|
+
super(map);
|
|
11471
|
+
}
|
|
11472
|
+
static names() {
|
|
11473
|
+
return {
|
|
11474
|
+
apiProductIds: 'ApiProductIds',
|
|
11475
|
+
appId: 'AppId',
|
|
11476
|
+
authValidTime: 'AuthValidTime',
|
|
11477
|
+
description: 'Description',
|
|
11478
|
+
securityToken: 'SecurityToken',
|
|
11479
|
+
};
|
|
11480
|
+
}
|
|
11481
|
+
static types() {
|
|
11482
|
+
return {
|
|
11483
|
+
apiProductIds: { 'type': 'array', 'itemType': 'string' },
|
|
11484
|
+
appId: 'number',
|
|
11485
|
+
authValidTime: 'string',
|
|
11486
|
+
description: 'string',
|
|
11487
|
+
securityToken: 'string',
|
|
11488
|
+
};
|
|
11489
|
+
}
|
|
11490
|
+
}
|
|
11491
|
+
exports.SetApiProductsAuthoritiesRequest = SetApiProductsAuthoritiesRequest;
|
|
11492
|
+
class SetApiProductsAuthoritiesShrinkRequest extends $tea.Model {
|
|
11493
|
+
constructor(map) {
|
|
11494
|
+
super(map);
|
|
11495
|
+
}
|
|
11496
|
+
static names() {
|
|
11497
|
+
return {
|
|
11498
|
+
apiProductIdsShrink: 'ApiProductIds',
|
|
11499
|
+
appId: 'AppId',
|
|
11500
|
+
authValidTime: 'AuthValidTime',
|
|
11501
|
+
description: 'Description',
|
|
11502
|
+
securityToken: 'SecurityToken',
|
|
11503
|
+
};
|
|
11504
|
+
}
|
|
11505
|
+
static types() {
|
|
11506
|
+
return {
|
|
11507
|
+
apiProductIdsShrink: 'string',
|
|
11508
|
+
appId: 'number',
|
|
11509
|
+
authValidTime: 'string',
|
|
11510
|
+
description: 'string',
|
|
11511
|
+
securityToken: 'string',
|
|
11512
|
+
};
|
|
11513
|
+
}
|
|
11514
|
+
}
|
|
11515
|
+
exports.SetApiProductsAuthoritiesShrinkRequest = SetApiProductsAuthoritiesShrinkRequest;
|
|
11516
|
+
class SetApiProductsAuthoritiesResponseBody extends $tea.Model {
|
|
11517
|
+
constructor(map) {
|
|
11518
|
+
super(map);
|
|
11519
|
+
}
|
|
11520
|
+
static names() {
|
|
11521
|
+
return {
|
|
11522
|
+
requestId: 'RequestId',
|
|
11523
|
+
};
|
|
11524
|
+
}
|
|
11525
|
+
static types() {
|
|
11526
|
+
return {
|
|
11527
|
+
requestId: 'string',
|
|
11528
|
+
};
|
|
11529
|
+
}
|
|
11530
|
+
}
|
|
11531
|
+
exports.SetApiProductsAuthoritiesResponseBody = SetApiProductsAuthoritiesResponseBody;
|
|
11532
|
+
class SetApiProductsAuthoritiesResponse extends $tea.Model {
|
|
11533
|
+
constructor(map) {
|
|
11534
|
+
super(map);
|
|
11535
|
+
}
|
|
11536
|
+
static names() {
|
|
11537
|
+
return {
|
|
11538
|
+
headers: 'headers',
|
|
11539
|
+
statusCode: 'statusCode',
|
|
11540
|
+
body: 'body',
|
|
11541
|
+
};
|
|
11542
|
+
}
|
|
11543
|
+
static types() {
|
|
11544
|
+
return {
|
|
11545
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
11546
|
+
statusCode: 'number',
|
|
11547
|
+
body: SetApiProductsAuthoritiesResponseBody,
|
|
11548
|
+
};
|
|
11549
|
+
}
|
|
11550
|
+
}
|
|
11551
|
+
exports.SetApiProductsAuthoritiesResponse = SetApiProductsAuthoritiesResponse;
|
|
10894
11552
|
class SetApisAuthoritiesRequest extends $tea.Model {
|
|
10895
11553
|
constructor(map) {
|
|
10896
11554
|
super(map);
|
|
@@ -11819,6 +12477,24 @@ class ValidateVpcConnectivityResponse extends $tea.Model {
|
|
|
11819
12477
|
}
|
|
11820
12478
|
}
|
|
11821
12479
|
exports.ValidateVpcConnectivityResponse = ValidateVpcConnectivityResponse;
|
|
12480
|
+
class AttachApiProductRequestApis extends $tea.Model {
|
|
12481
|
+
constructor(map) {
|
|
12482
|
+
super(map);
|
|
12483
|
+
}
|
|
12484
|
+
static names() {
|
|
12485
|
+
return {
|
|
12486
|
+
apiId: 'ApiId',
|
|
12487
|
+
stageName: 'StageName',
|
|
12488
|
+
};
|
|
12489
|
+
}
|
|
12490
|
+
static types() {
|
|
12491
|
+
return {
|
|
12492
|
+
apiId: 'string',
|
|
12493
|
+
stageName: 'string',
|
|
12494
|
+
};
|
|
12495
|
+
}
|
|
12496
|
+
}
|
|
12497
|
+
exports.AttachApiProductRequestApis = AttachApiProductRequestApis;
|
|
11822
12498
|
class BatchAbolishApisRequestApi extends $tea.Model {
|
|
11823
12499
|
constructor(map) {
|
|
11824
12500
|
super(map);
|
|
@@ -13809,6 +14485,86 @@ class DescribeApiLatencyDataResponseBodyCallLatencys extends $tea.Model {
|
|
|
13809
14485
|
}
|
|
13810
14486
|
}
|
|
13811
14487
|
exports.DescribeApiLatencyDataResponseBodyCallLatencys = DescribeApiLatencyDataResponseBodyCallLatencys;
|
|
14488
|
+
class DescribeApiProductApisResponseBodyApiInfoListApiInfo extends $tea.Model {
|
|
14489
|
+
constructor(map) {
|
|
14490
|
+
super(map);
|
|
14491
|
+
}
|
|
14492
|
+
static names() {
|
|
14493
|
+
return {
|
|
14494
|
+
apiId: 'ApiId',
|
|
14495
|
+
apiName: 'ApiName',
|
|
14496
|
+
description: 'Description',
|
|
14497
|
+
groupId: 'GroupId',
|
|
14498
|
+
groupName: 'GroupName',
|
|
14499
|
+
method: 'Method',
|
|
14500
|
+
path: 'Path',
|
|
14501
|
+
regionId: 'RegionId',
|
|
14502
|
+
stageName: 'StageName',
|
|
14503
|
+
};
|
|
14504
|
+
}
|
|
14505
|
+
static types() {
|
|
14506
|
+
return {
|
|
14507
|
+
apiId: 'string',
|
|
14508
|
+
apiName: 'string',
|
|
14509
|
+
description: 'string',
|
|
14510
|
+
groupId: 'string',
|
|
14511
|
+
groupName: 'string',
|
|
14512
|
+
method: 'string',
|
|
14513
|
+
path: 'string',
|
|
14514
|
+
regionId: 'string',
|
|
14515
|
+
stageName: 'string',
|
|
14516
|
+
};
|
|
14517
|
+
}
|
|
14518
|
+
}
|
|
14519
|
+
exports.DescribeApiProductApisResponseBodyApiInfoListApiInfo = DescribeApiProductApisResponseBodyApiInfoListApiInfo;
|
|
14520
|
+
class DescribeApiProductApisResponseBodyApiInfoList extends $tea.Model {
|
|
14521
|
+
constructor(map) {
|
|
14522
|
+
super(map);
|
|
14523
|
+
}
|
|
14524
|
+
static names() {
|
|
14525
|
+
return {
|
|
14526
|
+
apiInfo: 'ApiInfo',
|
|
14527
|
+
};
|
|
14528
|
+
}
|
|
14529
|
+
static types() {
|
|
14530
|
+
return {
|
|
14531
|
+
apiInfo: { 'type': 'array', 'itemType': DescribeApiProductApisResponseBodyApiInfoListApiInfo },
|
|
14532
|
+
};
|
|
14533
|
+
}
|
|
14534
|
+
}
|
|
14535
|
+
exports.DescribeApiProductApisResponseBodyApiInfoList = DescribeApiProductApisResponseBodyApiInfoList;
|
|
14536
|
+
class DescribeApiProductsByAppResponseBodyApiProductInfoListApiProductInfo extends $tea.Model {
|
|
14537
|
+
constructor(map) {
|
|
14538
|
+
super(map);
|
|
14539
|
+
}
|
|
14540
|
+
static names() {
|
|
14541
|
+
return {
|
|
14542
|
+
apiProductId: 'ApiProductId',
|
|
14543
|
+
};
|
|
14544
|
+
}
|
|
14545
|
+
static types() {
|
|
14546
|
+
return {
|
|
14547
|
+
apiProductId: 'string',
|
|
14548
|
+
};
|
|
14549
|
+
}
|
|
14550
|
+
}
|
|
14551
|
+
exports.DescribeApiProductsByAppResponseBodyApiProductInfoListApiProductInfo = DescribeApiProductsByAppResponseBodyApiProductInfoListApiProductInfo;
|
|
14552
|
+
class DescribeApiProductsByAppResponseBodyApiProductInfoList extends $tea.Model {
|
|
14553
|
+
constructor(map) {
|
|
14554
|
+
super(map);
|
|
14555
|
+
}
|
|
14556
|
+
static names() {
|
|
14557
|
+
return {
|
|
14558
|
+
apiProductInfo: 'ApiProductInfo',
|
|
14559
|
+
};
|
|
14560
|
+
}
|
|
14561
|
+
static types() {
|
|
14562
|
+
return {
|
|
14563
|
+
apiProductInfo: { 'type': 'array', 'itemType': DescribeApiProductsByAppResponseBodyApiProductInfoListApiProductInfo },
|
|
14564
|
+
};
|
|
14565
|
+
}
|
|
14566
|
+
}
|
|
14567
|
+
exports.DescribeApiProductsByAppResponseBodyApiProductInfoList = DescribeApiProductsByAppResponseBodyApiProductInfoList;
|
|
13812
14568
|
class DescribeApiQpsDataResponseBodyCallFailsMonitorItem extends $tea.Model {
|
|
13813
14569
|
constructor(map) {
|
|
13814
14570
|
super(map);
|
|
@@ -14413,28 +15169,82 @@ class DescribeApisByTrafficControlResponseBodyApiInfos extends $tea.Model {
|
|
|
14413
15169
|
}
|
|
14414
15170
|
}
|
|
14415
15171
|
exports.DescribeApisByTrafficControlResponseBodyApiInfos = DescribeApisByTrafficControlResponseBodyApiInfos;
|
|
14416
|
-
class
|
|
15172
|
+
class DescribeApisWithStageNameIntegratedByAppResponseBodyAppApiRelationInfosAppApiRelationInfo extends $tea.Model {
|
|
14417
15173
|
constructor(map) {
|
|
14418
15174
|
super(map);
|
|
14419
15175
|
}
|
|
14420
15176
|
static names() {
|
|
14421
15177
|
return {
|
|
14422
|
-
|
|
14423
|
-
|
|
15178
|
+
apiId: 'ApiId',
|
|
15179
|
+
apiName: 'ApiName',
|
|
15180
|
+
authorizationSource: 'AuthorizationSource',
|
|
15181
|
+
createdTime: 'CreatedTime',
|
|
15182
|
+
description: 'Description',
|
|
15183
|
+
groupId: 'GroupId',
|
|
15184
|
+
groupName: 'GroupName',
|
|
15185
|
+
method: 'Method',
|
|
15186
|
+
operator: 'Operator',
|
|
15187
|
+
path: 'Path',
|
|
15188
|
+
regionId: 'RegionId',
|
|
15189
|
+
stageNameAndAuth: 'StageNameAndAuth',
|
|
14424
15190
|
};
|
|
14425
15191
|
}
|
|
14426
15192
|
static types() {
|
|
14427
15193
|
return {
|
|
14428
|
-
|
|
14429
|
-
|
|
14430
|
-
|
|
14431
|
-
|
|
14432
|
-
|
|
14433
|
-
|
|
14434
|
-
|
|
14435
|
-
|
|
14436
|
-
|
|
14437
|
-
|
|
15194
|
+
apiId: 'string',
|
|
15195
|
+
apiName: 'string',
|
|
15196
|
+
authorizationSource: 'string',
|
|
15197
|
+
createdTime: 'string',
|
|
15198
|
+
description: 'string',
|
|
15199
|
+
groupId: 'string',
|
|
15200
|
+
groupName: 'string',
|
|
15201
|
+
method: 'string',
|
|
15202
|
+
operator: 'string',
|
|
15203
|
+
path: 'string',
|
|
15204
|
+
regionId: 'string',
|
|
15205
|
+
stageNameAndAuth: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
15206
|
+
};
|
|
15207
|
+
}
|
|
15208
|
+
}
|
|
15209
|
+
exports.DescribeApisWithStageNameIntegratedByAppResponseBodyAppApiRelationInfosAppApiRelationInfo = DescribeApisWithStageNameIntegratedByAppResponseBodyAppApiRelationInfosAppApiRelationInfo;
|
|
15210
|
+
class DescribeApisWithStageNameIntegratedByAppResponseBodyAppApiRelationInfos extends $tea.Model {
|
|
15211
|
+
constructor(map) {
|
|
15212
|
+
super(map);
|
|
15213
|
+
}
|
|
15214
|
+
static names() {
|
|
15215
|
+
return {
|
|
15216
|
+
appApiRelationInfo: 'AppApiRelationInfo',
|
|
15217
|
+
};
|
|
15218
|
+
}
|
|
15219
|
+
static types() {
|
|
15220
|
+
return {
|
|
15221
|
+
appApiRelationInfo: { 'type': 'array', 'itemType': DescribeApisWithStageNameIntegratedByAppResponseBodyAppApiRelationInfosAppApiRelationInfo },
|
|
15222
|
+
};
|
|
15223
|
+
}
|
|
15224
|
+
}
|
|
15225
|
+
exports.DescribeApisWithStageNameIntegratedByAppResponseBodyAppApiRelationInfos = DescribeApisWithStageNameIntegratedByAppResponseBodyAppApiRelationInfos;
|
|
15226
|
+
class DescribeAppAttributesRequestTag extends $tea.Model {
|
|
15227
|
+
constructor(map) {
|
|
15228
|
+
super(map);
|
|
15229
|
+
}
|
|
15230
|
+
static names() {
|
|
15231
|
+
return {
|
|
15232
|
+
key: 'Key',
|
|
15233
|
+
value: 'Value',
|
|
15234
|
+
};
|
|
15235
|
+
}
|
|
15236
|
+
static types() {
|
|
15237
|
+
return {
|
|
15238
|
+
key: 'string',
|
|
15239
|
+
value: 'string',
|
|
15240
|
+
};
|
|
15241
|
+
}
|
|
15242
|
+
}
|
|
15243
|
+
exports.DescribeAppAttributesRequestTag = DescribeAppAttributesRequestTag;
|
|
15244
|
+
class DescribeAppAttributesResponseBodyAppsAppAttributeTagsTagInfo extends $tea.Model {
|
|
15245
|
+
constructor(map) {
|
|
15246
|
+
super(map);
|
|
15247
|
+
}
|
|
14438
15248
|
static names() {
|
|
14439
15249
|
return {
|
|
14440
15250
|
key: 'Key',
|
|
@@ -14563,6 +15373,48 @@ class DescribeAppsResponseBodyApps extends $tea.Model {
|
|
|
14563
15373
|
}
|
|
14564
15374
|
}
|
|
14565
15375
|
exports.DescribeAppsResponseBodyApps = DescribeAppsResponseBodyApps;
|
|
15376
|
+
class DescribeAppsByApiProductResponseBodyAuthorizedAppsAuthorizedApp extends $tea.Model {
|
|
15377
|
+
constructor(map) {
|
|
15378
|
+
super(map);
|
|
15379
|
+
}
|
|
15380
|
+
static names() {
|
|
15381
|
+
return {
|
|
15382
|
+
appId: 'AppId',
|
|
15383
|
+
appName: 'AppName',
|
|
15384
|
+
authValidTime: 'AuthValidTime',
|
|
15385
|
+
authorizedTime: 'AuthorizedTime',
|
|
15386
|
+
description: 'Description',
|
|
15387
|
+
extend: 'Extend',
|
|
15388
|
+
};
|
|
15389
|
+
}
|
|
15390
|
+
static types() {
|
|
15391
|
+
return {
|
|
15392
|
+
appId: 'number',
|
|
15393
|
+
appName: 'string',
|
|
15394
|
+
authValidTime: 'string',
|
|
15395
|
+
authorizedTime: 'string',
|
|
15396
|
+
description: 'string',
|
|
15397
|
+
extend: 'string',
|
|
15398
|
+
};
|
|
15399
|
+
}
|
|
15400
|
+
}
|
|
15401
|
+
exports.DescribeAppsByApiProductResponseBodyAuthorizedAppsAuthorizedApp = DescribeAppsByApiProductResponseBodyAuthorizedAppsAuthorizedApp;
|
|
15402
|
+
class DescribeAppsByApiProductResponseBodyAuthorizedApps extends $tea.Model {
|
|
15403
|
+
constructor(map) {
|
|
15404
|
+
super(map);
|
|
15405
|
+
}
|
|
15406
|
+
static names() {
|
|
15407
|
+
return {
|
|
15408
|
+
authorizedApp: 'AuthorizedApp',
|
|
15409
|
+
};
|
|
15410
|
+
}
|
|
15411
|
+
static types() {
|
|
15412
|
+
return {
|
|
15413
|
+
authorizedApp: { 'type': 'array', 'itemType': DescribeAppsByApiProductResponseBodyAuthorizedAppsAuthorizedApp },
|
|
15414
|
+
};
|
|
15415
|
+
}
|
|
15416
|
+
}
|
|
15417
|
+
exports.DescribeAppsByApiProductResponseBodyAuthorizedApps = DescribeAppsByApiProductResponseBodyAuthorizedApps;
|
|
14566
15418
|
class DescribeAuthorizedApisResponseBodyAuthorizedApisAuthorizedApi extends $tea.Model {
|
|
14567
15419
|
constructor(map) {
|
|
14568
15420
|
super(map);
|
|
@@ -14862,6 +15714,7 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig exten
|
|
|
14862
15714
|
mockConfig: 'MockConfig',
|
|
14863
15715
|
ossConfig: 'OssConfig',
|
|
14864
15716
|
serviceAddress: 'ServiceAddress',
|
|
15717
|
+
serviceTimeout: 'ServiceTimeout',
|
|
14865
15718
|
type: 'Type',
|
|
14866
15719
|
vpcConfig: 'VpcConfig',
|
|
14867
15720
|
};
|
|
@@ -14875,6 +15728,7 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig exten
|
|
|
14875
15728
|
mockConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigMockConfig,
|
|
14876
15729
|
ossConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigOssConfig,
|
|
14877
15730
|
serviceAddress: 'string',
|
|
15731
|
+
serviceTimeout: 'number',
|
|
14878
15732
|
type: 'string',
|
|
14879
15733
|
vpcConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigVpcConfig,
|
|
14880
15734
|
};
|
|
@@ -17443,6 +18297,24 @@ class DescribeZonesResponseBodyZones extends $tea.Model {
|
|
|
17443
18297
|
}
|
|
17444
18298
|
}
|
|
17445
18299
|
exports.DescribeZonesResponseBodyZones = DescribeZonesResponseBodyZones;
|
|
18300
|
+
class DetachApiProductRequestApis extends $tea.Model {
|
|
18301
|
+
constructor(map) {
|
|
18302
|
+
super(map);
|
|
18303
|
+
}
|
|
18304
|
+
static names() {
|
|
18305
|
+
return {
|
|
18306
|
+
apiId: 'ApiId',
|
|
18307
|
+
stageName: 'StageName',
|
|
18308
|
+
};
|
|
18309
|
+
}
|
|
18310
|
+
static types() {
|
|
18311
|
+
return {
|
|
18312
|
+
apiId: 'string',
|
|
18313
|
+
stageName: 'string',
|
|
18314
|
+
};
|
|
18315
|
+
}
|
|
18316
|
+
}
|
|
18317
|
+
exports.DetachApiProductRequestApis = DetachApiProductRequestApis;
|
|
17446
18318
|
class DryRunSwaggerResponseBodyFailedApiImportSwaggerFailed extends $tea.Model {
|
|
17447
18319
|
constructor(map) {
|
|
17448
18320
|
super(map);
|
|
@@ -18245,6 +19117,15 @@ class Client extends openapi_client_1.default {
|
|
|
18245
19117
|
}
|
|
18246
19118
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
18247
19119
|
}
|
|
19120
|
+
/**
|
|
19121
|
+
* * This operation is intended for API providers and is the opposite of DeployApi.
|
|
19122
|
+
* * An API can be unpublished from a specified runtime environment in under 5 seconds.
|
|
19123
|
+
* * An unpublished API cannot be called in the specified runtime environment.
|
|
19124
|
+
*
|
|
19125
|
+
* @param request AbolishApiRequest
|
|
19126
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19127
|
+
* @return AbolishApiResponse
|
|
19128
|
+
*/
|
|
18248
19129
|
async abolishApiWithOptions(request, runtime) {
|
|
18249
19130
|
tea_util_1.default.validateModel(request);
|
|
18250
19131
|
let query = {};
|
|
@@ -18276,6 +19157,14 @@ class Client extends openapi_client_1.default {
|
|
|
18276
19157
|
});
|
|
18277
19158
|
return $tea.cast(await this.callApi(params, req, runtime), new AbolishApiResponse({}));
|
|
18278
19159
|
}
|
|
19160
|
+
/**
|
|
19161
|
+
* * This operation is intended for API providers and is the opposite of DeployApi.
|
|
19162
|
+
* * An API can be unpublished from a specified runtime environment in under 5 seconds.
|
|
19163
|
+
* * An unpublished API cannot be called in the specified runtime environment.
|
|
19164
|
+
*
|
|
19165
|
+
* @param request AbolishApiRequest
|
|
19166
|
+
* @return AbolishApiResponse
|
|
19167
|
+
*/
|
|
18279
19168
|
async abolishApi(request) {
|
|
18280
19169
|
let runtime = new $Util.RuntimeOptions({});
|
|
18281
19170
|
return await this.abolishApiWithOptions(request, runtime);
|
|
@@ -18313,12 +19202,10 @@ class Client extends openapi_client_1.default {
|
|
|
18313
19202
|
return await this.addAccessControlListEntryWithOptions(request, runtime);
|
|
18314
19203
|
}
|
|
18315
19204
|
/**
|
|
18316
|
-
*
|
|
18317
|
-
* *
|
|
18318
|
-
* *
|
|
18319
|
-
* *
|
|
18320
|
-
* * Please note that if this parameter is not empty and the security authentication method of the API is No Authentication, all API calls are restricted.
|
|
18321
|
-
* * If this parameter is not empty for a blacklist, API Gateway automatically skips this parameter and sets only restriction on IP addresses. The IpControlType value of a blacklist is REFUSE.
|
|
19205
|
+
* When you call this operation, note that:
|
|
19206
|
+
* * This operation is intended for API providers.
|
|
19207
|
+
* * An added policy immediately takes effect on all APIs that are bound to the access control list (ACL).
|
|
19208
|
+
* * A maximum of 100 policies can be added to an ACL.
|
|
18322
19209
|
*
|
|
18323
19210
|
* @param request AddIpControlPolicyItemRequest
|
|
18324
19211
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18356,12 +19243,10 @@ class Client extends openapi_client_1.default {
|
|
|
18356
19243
|
return $tea.cast(await this.callApi(params, req, runtime), new AddIpControlPolicyItemResponse({}));
|
|
18357
19244
|
}
|
|
18358
19245
|
/**
|
|
18359
|
-
*
|
|
18360
|
-
* *
|
|
18361
|
-
* *
|
|
18362
|
-
* *
|
|
18363
|
-
* * Please note that if this parameter is not empty and the security authentication method of the API is No Authentication, all API calls are restricted.
|
|
18364
|
-
* * If this parameter is not empty for a blacklist, API Gateway automatically skips this parameter and sets only restriction on IP addresses. The IpControlType value of a blacklist is REFUSE.
|
|
19246
|
+
* When you call this operation, note that:
|
|
19247
|
+
* * This operation is intended for API providers.
|
|
19248
|
+
* * An added policy immediately takes effect on all APIs that are bound to the access control list (ACL).
|
|
19249
|
+
* * A maximum of 100 policies can be added to an ACL.
|
|
18365
19250
|
*
|
|
18366
19251
|
* @param request AddIpControlPolicyItemRequest
|
|
18367
19252
|
* @return AddIpControlPolicyItemResponse
|
|
@@ -18371,9 +19256,9 @@ class Client extends openapi_client_1.default {
|
|
|
18371
19256
|
return await this.addIpControlPolicyItemWithOptions(request, runtime);
|
|
18372
19257
|
}
|
|
18373
19258
|
/**
|
|
18374
|
-
*
|
|
18375
|
-
* *
|
|
18376
|
-
* *
|
|
19259
|
+
* * This API is intended for API providers.
|
|
19260
|
+
* * If the input SpecialKey already exists, the previous configuration is overwritten. Use caution when calling this operation.
|
|
19261
|
+
* * Special throttling policies must be added to an existing throttling policy, and can take effect on all the APIs to which the throttling policy is bound.
|
|
18377
19262
|
*
|
|
18378
19263
|
* @param request AddTrafficSpecialControlRequest
|
|
18379
19264
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18414,9 +19299,9 @@ class Client extends openapi_client_1.default {
|
|
|
18414
19299
|
return $tea.cast(await this.callApi(params, req, runtime), new AddTrafficSpecialControlResponse({}));
|
|
18415
19300
|
}
|
|
18416
19301
|
/**
|
|
18417
|
-
*
|
|
18418
|
-
* *
|
|
18419
|
-
* *
|
|
19302
|
+
* * This API is intended for API providers.
|
|
19303
|
+
* * If the input SpecialKey already exists, the previous configuration is overwritten. Use caution when calling this operation.
|
|
19304
|
+
* * Special throttling policies must be added to an existing throttling policy, and can take effect on all the APIs to which the throttling policy is bound.
|
|
18420
19305
|
*
|
|
18421
19306
|
* @param request AddTrafficSpecialControlRequest
|
|
18422
19307
|
* @return AddTrafficSpecialControlResponse
|
|
@@ -18425,6 +19310,48 @@ class Client extends openapi_client_1.default {
|
|
|
18425
19310
|
let runtime = new $Util.RuntimeOptions({});
|
|
18426
19311
|
return await this.addTrafficSpecialControlWithOptions(request, runtime);
|
|
18427
19312
|
}
|
|
19313
|
+
async attachApiProductWithOptions(request, runtime) {
|
|
19314
|
+
tea_util_1.default.validateModel(request);
|
|
19315
|
+
let query = {};
|
|
19316
|
+
if (!tea_util_1.default.isUnset(request.apiProductId)) {
|
|
19317
|
+
query["ApiProductId"] = request.apiProductId;
|
|
19318
|
+
}
|
|
19319
|
+
if (!tea_util_1.default.isUnset(request.apis)) {
|
|
19320
|
+
query["Apis"] = request.apis;
|
|
19321
|
+
}
|
|
19322
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
19323
|
+
query["SecurityToken"] = request.securityToken;
|
|
19324
|
+
}
|
|
19325
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19326
|
+
query: openapi_util_1.default.query(query),
|
|
19327
|
+
});
|
|
19328
|
+
let params = new $OpenApi.Params({
|
|
19329
|
+
action: "AttachApiProduct",
|
|
19330
|
+
version: "2016-07-14",
|
|
19331
|
+
protocol: "HTTPS",
|
|
19332
|
+
pathname: "/",
|
|
19333
|
+
method: "POST",
|
|
19334
|
+
authType: "AK",
|
|
19335
|
+
style: "RPC",
|
|
19336
|
+
reqBodyType: "formData",
|
|
19337
|
+
bodyType: "json",
|
|
19338
|
+
});
|
|
19339
|
+
return $tea.cast(await this.callApi(params, req, runtime), new AttachApiProductResponse({}));
|
|
19340
|
+
}
|
|
19341
|
+
async attachApiProduct(request) {
|
|
19342
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
19343
|
+
return await this.attachApiProductWithOptions(request, runtime);
|
|
19344
|
+
}
|
|
19345
|
+
/**
|
|
19346
|
+
* * This operation is intended for API providers.
|
|
19347
|
+
* * You can only bind plug-ins to published APIs.
|
|
19348
|
+
* * The plug-in takes effect immediately after it is bound to an API.
|
|
19349
|
+
* * If you bind a different plug-in to an API, this plug-in takes effect immediately.
|
|
19350
|
+
*
|
|
19351
|
+
* @param request AttachPluginRequest
|
|
19352
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19353
|
+
* @return AttachPluginResponse
|
|
19354
|
+
*/
|
|
18428
19355
|
async attachPluginWithOptions(request, runtime) {
|
|
18429
19356
|
tea_util_1.default.validateModel(request);
|
|
18430
19357
|
let query = {};
|
|
@@ -18462,6 +19389,15 @@ class Client extends openapi_client_1.default {
|
|
|
18462
19389
|
});
|
|
18463
19390
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachPluginResponse({}));
|
|
18464
19391
|
}
|
|
19392
|
+
/**
|
|
19393
|
+
* * This operation is intended for API providers.
|
|
19394
|
+
* * You can only bind plug-ins to published APIs.
|
|
19395
|
+
* * The plug-in takes effect immediately after it is bound to an API.
|
|
19396
|
+
* * If you bind a different plug-in to an API, this plug-in takes effect immediately.
|
|
19397
|
+
*
|
|
19398
|
+
* @param request AttachPluginRequest
|
|
19399
|
+
* @return AttachPluginResponse
|
|
19400
|
+
*/
|
|
18465
19401
|
async attachPlugin(request) {
|
|
18466
19402
|
let runtime = new $Util.RuntimeOptions({});
|
|
18467
19403
|
return await this.attachPluginWithOptions(request, runtime);
|
|
@@ -18728,6 +19664,13 @@ class Client extends openapi_client_1.default {
|
|
|
18728
19664
|
let runtime = new $Util.RuntimeOptions({});
|
|
18729
19665
|
return await this.createApiGroupWithOptions(request, runtime);
|
|
18730
19666
|
}
|
|
19667
|
+
/**
|
|
19668
|
+
* * This operation is intended for API providers.
|
|
19669
|
+
*
|
|
19670
|
+
* @param request CreateApiStageVariableRequest
|
|
19671
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19672
|
+
* @return CreateApiStageVariableResponse
|
|
19673
|
+
*/
|
|
18731
19674
|
async createApiStageVariableWithOptions(request, runtime) {
|
|
18732
19675
|
tea_util_1.default.validateModel(request);
|
|
18733
19676
|
let query = {};
|
|
@@ -18768,10 +19711,28 @@ class Client extends openapi_client_1.default {
|
|
|
18768
19711
|
});
|
|
18769
19712
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateApiStageVariableResponse({}));
|
|
18770
19713
|
}
|
|
19714
|
+
/**
|
|
19715
|
+
* * This operation is intended for API providers.
|
|
19716
|
+
*
|
|
19717
|
+
* @param request CreateApiStageVariableRequest
|
|
19718
|
+
* @return CreateApiStageVariableResponse
|
|
19719
|
+
*/
|
|
18771
19720
|
async createApiStageVariable(request) {
|
|
18772
19721
|
let runtime = new $Util.RuntimeOptions({});
|
|
18773
19722
|
return await this.createApiStageVariableWithOptions(request, runtime);
|
|
18774
19723
|
}
|
|
19724
|
+
/**
|
|
19725
|
+
* * This operation is intended for API callers.
|
|
19726
|
+
* * Each application has a key-value pair which is used for identity verification when you call an API.
|
|
19727
|
+
* * An application must be authorized to call an API.
|
|
19728
|
+
* * Each application has only one key-value pair, which can be reset if the pair is leaked.
|
|
19729
|
+
* * A maximum of 1,000 applications can be created for each Alibaba Cloud account.
|
|
19730
|
+
* * You can call this operation up to 50 times per second per account.
|
|
19731
|
+
*
|
|
19732
|
+
* @param request CreateAppRequest
|
|
19733
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19734
|
+
* @return CreateAppResponse
|
|
19735
|
+
*/
|
|
18775
19736
|
async createAppWithOptions(request, runtime) {
|
|
18776
19737
|
tea_util_1.default.validateModel(request);
|
|
18777
19738
|
let query = {};
|
|
@@ -18815,6 +19776,17 @@ class Client extends openapi_client_1.default {
|
|
|
18815
19776
|
});
|
|
18816
19777
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAppResponse({}));
|
|
18817
19778
|
}
|
|
19779
|
+
/**
|
|
19780
|
+
* * This operation is intended for API callers.
|
|
19781
|
+
* * Each application has a key-value pair which is used for identity verification when you call an API.
|
|
19782
|
+
* * An application must be authorized to call an API.
|
|
19783
|
+
* * Each application has only one key-value pair, which can be reset if the pair is leaked.
|
|
19784
|
+
* * A maximum of 1,000 applications can be created for each Alibaba Cloud account.
|
|
19785
|
+
* * You can call this operation up to 50 times per second per account.
|
|
19786
|
+
*
|
|
19787
|
+
* @param request CreateAppRequest
|
|
19788
|
+
* @return CreateAppResponse
|
|
19789
|
+
*/
|
|
18818
19790
|
async createApp(request) {
|
|
18819
19791
|
let runtime = new $Util.RuntimeOptions({});
|
|
18820
19792
|
return await this.createAppWithOptions(request, runtime);
|
|
@@ -19062,6 +20034,16 @@ class Client extends openapi_client_1.default {
|
|
|
19062
20034
|
let runtime = new $Util.RuntimeOptions({});
|
|
19063
20035
|
return await this.createIntranetDomainWithOptions(request, runtime);
|
|
19064
20036
|
}
|
|
20037
|
+
/**
|
|
20038
|
+
* * This operation is intended for API providers.
|
|
20039
|
+
* * An ACL must be bound to an API to take effect. After an ACL is bound to an API, the ACL takes effect on the API immediately.
|
|
20040
|
+
* * You can add policies to an ACL when you create the ACL.
|
|
20041
|
+
* * If an ACL does not have any policy, the ACL is ineffective.
|
|
20042
|
+
*
|
|
20043
|
+
* @param request CreateIpControlRequest
|
|
20044
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20045
|
+
* @return CreateIpControlResponse
|
|
20046
|
+
*/
|
|
19065
20047
|
async createIpControlWithOptions(request, runtime) {
|
|
19066
20048
|
tea_util_1.default.validateModel(request);
|
|
19067
20049
|
let query = {};
|
|
@@ -19096,6 +20078,15 @@ class Client extends openapi_client_1.default {
|
|
|
19096
20078
|
});
|
|
19097
20079
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateIpControlResponse({}));
|
|
19098
20080
|
}
|
|
20081
|
+
/**
|
|
20082
|
+
* * This operation is intended for API providers.
|
|
20083
|
+
* * An ACL must be bound to an API to take effect. After an ACL is bound to an API, the ACL takes effect on the API immediately.
|
|
20084
|
+
* * You can add policies to an ACL when you create the ACL.
|
|
20085
|
+
* * If an ACL does not have any policy, the ACL is ineffective.
|
|
20086
|
+
*
|
|
20087
|
+
* @param request CreateIpControlRequest
|
|
20088
|
+
* @return CreateIpControlResponse
|
|
20089
|
+
*/
|
|
19099
20090
|
async createIpControl(request) {
|
|
19100
20091
|
let runtime = new $Util.RuntimeOptions({});
|
|
19101
20092
|
return await this.createIpControlWithOptions(request, runtime);
|
|
@@ -19220,6 +20211,16 @@ class Client extends openapi_client_1.default {
|
|
|
19220
20211
|
let runtime = new $Util.RuntimeOptions({});
|
|
19221
20212
|
return await this.createMonitorGroupWithOptions(request, runtime);
|
|
19222
20213
|
}
|
|
20214
|
+
/**
|
|
20215
|
+
* * This operation is intended for API providers.
|
|
20216
|
+
* * The number of plug-ins of the same type that each user can create is limited. Different limits apply to different plug-in types.
|
|
20217
|
+
* * The plug-in definitions for advanced features are restricted.
|
|
20218
|
+
* * Plug-ins must be bound to APIs to take effect. After a plug-in is bound, it takes effect on that API immediately.
|
|
20219
|
+
*
|
|
20220
|
+
* @param request CreatePluginRequest
|
|
20221
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20222
|
+
* @return CreatePluginResponse
|
|
20223
|
+
*/
|
|
19223
20224
|
async createPluginWithOptions(request, runtime) {
|
|
19224
20225
|
tea_util_1.default.validateModel(request);
|
|
19225
20226
|
let query = {};
|
|
@@ -19257,12 +20258,24 @@ class Client extends openapi_client_1.default {
|
|
|
19257
20258
|
});
|
|
19258
20259
|
return $tea.cast(await this.callApi(params, req, runtime), new CreatePluginResponse({}));
|
|
19259
20260
|
}
|
|
20261
|
+
/**
|
|
20262
|
+
* * This operation is intended for API providers.
|
|
20263
|
+
* * The number of plug-ins of the same type that each user can create is limited. Different limits apply to different plug-in types.
|
|
20264
|
+
* * The plug-in definitions for advanced features are restricted.
|
|
20265
|
+
* * Plug-ins must be bound to APIs to take effect. After a plug-in is bound, it takes effect on that API immediately.
|
|
20266
|
+
*
|
|
20267
|
+
* @param request CreatePluginRequest
|
|
20268
|
+
* @return CreatePluginResponse
|
|
20269
|
+
*/
|
|
19260
20270
|
async createPlugin(request) {
|
|
19261
20271
|
let runtime = new $Util.RuntimeOptions({});
|
|
19262
20272
|
return await this.createPluginWithOptions(request, runtime);
|
|
19263
20273
|
}
|
|
19264
20274
|
/**
|
|
19265
|
-
*
|
|
20275
|
+
* * This API is intended for API providers.
|
|
20276
|
+
* * The API operation only creates a key policy. You must call the binding operation to bind the key to an API.
|
|
20277
|
+
* * After the key is bound to the API, requests sent from API Gateway to the backend service contain signature strings. You can specify whether your backend service verifies these signature strings.
|
|
20278
|
+
* * The QPS limit on this operation is 50 per user.
|
|
19266
20279
|
*
|
|
19267
20280
|
* @param request CreateSignatureRequest
|
|
19268
20281
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19300,7 +20313,10 @@ class Client extends openapi_client_1.default {
|
|
|
19300
20313
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateSignatureResponse({}));
|
|
19301
20314
|
}
|
|
19302
20315
|
/**
|
|
19303
|
-
*
|
|
20316
|
+
* * This API is intended for API providers.
|
|
20317
|
+
* * The API operation only creates a key policy. You must call the binding operation to bind the key to an API.
|
|
20318
|
+
* * After the key is bound to the API, requests sent from API Gateway to the backend service contain signature strings. You can specify whether your backend service verifies these signature strings.
|
|
20319
|
+
* * The QPS limit on this operation is 50 per user.
|
|
19304
20320
|
*
|
|
19305
20321
|
* @param request CreateSignatureRequest
|
|
19306
20322
|
* @return CreateSignatureResponse
|
|
@@ -19310,7 +20326,9 @@ class Client extends openapi_client_1.default {
|
|
|
19310
20326
|
return await this.createSignatureWithOptions(request, runtime);
|
|
19311
20327
|
}
|
|
19312
20328
|
/**
|
|
19313
|
-
*
|
|
20329
|
+
* * This API is intended for API providers.
|
|
20330
|
+
* * Throttling policies must be bound to APIs to take effect. After a policy is bound to an API, it goes into effect on that API immediately.
|
|
20331
|
+
* * The QPS limit on this operation is 50 per user.
|
|
19314
20332
|
*
|
|
19315
20333
|
* @param request CreateTrafficControlRequest
|
|
19316
20334
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19357,7 +20375,9 @@ class Client extends openapi_client_1.default {
|
|
|
19357
20375
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateTrafficControlResponse({}));
|
|
19358
20376
|
}
|
|
19359
20377
|
/**
|
|
19360
|
-
*
|
|
20378
|
+
* * This API is intended for API providers.
|
|
20379
|
+
* * Throttling policies must be bound to APIs to take effect. After a policy is bound to an API, it goes into effect on that API immediately.
|
|
20380
|
+
* * The QPS limit on this operation is 50 per user.
|
|
19361
20381
|
*
|
|
19362
20382
|
* @param request CreateTrafficControlRequest
|
|
19363
20383
|
* @return CreateTrafficControlResponse
|
|
@@ -19396,7 +20416,7 @@ class Client extends openapi_client_1.default {
|
|
|
19396
20416
|
return await this.deleteAccessControlListWithOptions(request, runtime);
|
|
19397
20417
|
}
|
|
19398
20418
|
/**
|
|
19399
|
-
*
|
|
20419
|
+
* * This API is intended for API providers.
|
|
19400
20420
|
*
|
|
19401
20421
|
* @param request DeleteAllTrafficSpecialControlRequest
|
|
19402
20422
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19428,7 +20448,7 @@ class Client extends openapi_client_1.default {
|
|
|
19428
20448
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAllTrafficSpecialControlResponse({}));
|
|
19429
20449
|
}
|
|
19430
20450
|
/**
|
|
19431
|
-
*
|
|
20451
|
+
* * This API is intended for API providers.
|
|
19432
20452
|
*
|
|
19433
20453
|
* @param request DeleteAllTrafficSpecialControlRequest
|
|
19434
20454
|
* @return DeleteAllTrafficSpecialControlResponse
|
|
@@ -19437,6 +20457,15 @@ class Client extends openapi_client_1.default {
|
|
|
19437
20457
|
let runtime = new $Util.RuntimeOptions({});
|
|
19438
20458
|
return await this.deleteAllTrafficSpecialControlWithOptions(request, runtime);
|
|
19439
20459
|
}
|
|
20460
|
+
/**
|
|
20461
|
+
* * This operation is intended for API providers and cannot be undone after it is complete.
|
|
20462
|
+
* * An API that is running in the runtime environment must be unpublished before you can delete the API.****
|
|
20463
|
+
* * The QPS limit on this operation is 50 per user.
|
|
20464
|
+
*
|
|
20465
|
+
* @param request DeleteApiRequest
|
|
20466
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20467
|
+
* @return DeleteApiResponse
|
|
20468
|
+
*/
|
|
19440
20469
|
async deleteApiWithOptions(request, runtime) {
|
|
19441
20470
|
tea_util_1.default.validateModel(request);
|
|
19442
20471
|
let query = {};
|
|
@@ -19465,10 +20494,29 @@ class Client extends openapi_client_1.default {
|
|
|
19465
20494
|
});
|
|
19466
20495
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteApiResponse({}));
|
|
19467
20496
|
}
|
|
20497
|
+
/**
|
|
20498
|
+
* * This operation is intended for API providers and cannot be undone after it is complete.
|
|
20499
|
+
* * An API that is running in the runtime environment must be unpublished before you can delete the API.****
|
|
20500
|
+
* * The QPS limit on this operation is 50 per user.
|
|
20501
|
+
*
|
|
20502
|
+
* @param request DeleteApiRequest
|
|
20503
|
+
* @return DeleteApiResponse
|
|
20504
|
+
*/
|
|
19468
20505
|
async deleteApi(request) {
|
|
19469
20506
|
let runtime = new $Util.RuntimeOptions({});
|
|
19470
20507
|
return await this.deleteApiWithOptions(request, runtime);
|
|
19471
20508
|
}
|
|
20509
|
+
/**
|
|
20510
|
+
* * This operation is intended for API providers.
|
|
20511
|
+
* * An API group that contains APIs cannot be deleted. To delete the API group, you must first delete its APIs.
|
|
20512
|
+
* * After an API group is deleted, the second-level domain name bound to the API group is automatically invalidated.
|
|
20513
|
+
* * If the specified API group does not exist, a success response is returned.
|
|
20514
|
+
* * The QPS limit on this operation is 50 per user.
|
|
20515
|
+
*
|
|
20516
|
+
* @param request DeleteApiGroupRequest
|
|
20517
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20518
|
+
* @return DeleteApiGroupResponse
|
|
20519
|
+
*/
|
|
19472
20520
|
async deleteApiGroupWithOptions(request, runtime) {
|
|
19473
20521
|
tea_util_1.default.validateModel(request);
|
|
19474
20522
|
let query = {};
|
|
@@ -19497,10 +20545,56 @@ class Client extends openapi_client_1.default {
|
|
|
19497
20545
|
});
|
|
19498
20546
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteApiGroupResponse({}));
|
|
19499
20547
|
}
|
|
20548
|
+
/**
|
|
20549
|
+
* * This operation is intended for API providers.
|
|
20550
|
+
* * An API group that contains APIs cannot be deleted. To delete the API group, you must first delete its APIs.
|
|
20551
|
+
* * After an API group is deleted, the second-level domain name bound to the API group is automatically invalidated.
|
|
20552
|
+
* * If the specified API group does not exist, a success response is returned.
|
|
20553
|
+
* * The QPS limit on this operation is 50 per user.
|
|
20554
|
+
*
|
|
20555
|
+
* @param request DeleteApiGroupRequest
|
|
20556
|
+
* @return DeleteApiGroupResponse
|
|
20557
|
+
*/
|
|
19500
20558
|
async deleteApiGroup(request) {
|
|
19501
20559
|
let runtime = new $Util.RuntimeOptions({});
|
|
19502
20560
|
return await this.deleteApiGroupWithOptions(request, runtime);
|
|
19503
20561
|
}
|
|
20562
|
+
async deleteApiProductWithOptions(request, runtime) {
|
|
20563
|
+
tea_util_1.default.validateModel(request);
|
|
20564
|
+
let query = {};
|
|
20565
|
+
if (!tea_util_1.default.isUnset(request.apiProductId)) {
|
|
20566
|
+
query["ApiProductId"] = request.apiProductId;
|
|
20567
|
+
}
|
|
20568
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
20569
|
+
query["SecurityToken"] = request.securityToken;
|
|
20570
|
+
}
|
|
20571
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20572
|
+
query: openapi_util_1.default.query(query),
|
|
20573
|
+
});
|
|
20574
|
+
let params = new $OpenApi.Params({
|
|
20575
|
+
action: "DeleteApiProduct",
|
|
20576
|
+
version: "2016-07-14",
|
|
20577
|
+
protocol: "HTTPS",
|
|
20578
|
+
pathname: "/",
|
|
20579
|
+
method: "POST",
|
|
20580
|
+
authType: "AK",
|
|
20581
|
+
style: "RPC",
|
|
20582
|
+
reqBodyType: "formData",
|
|
20583
|
+
bodyType: "json",
|
|
20584
|
+
});
|
|
20585
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteApiProductResponse({}));
|
|
20586
|
+
}
|
|
20587
|
+
async deleteApiProduct(request) {
|
|
20588
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
20589
|
+
return await this.deleteApiProductWithOptions(request, runtime);
|
|
20590
|
+
}
|
|
20591
|
+
/**
|
|
20592
|
+
* * This operation is intended for API providers.
|
|
20593
|
+
*
|
|
20594
|
+
* @param request DeleteApiStageVariableRequest
|
|
20595
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20596
|
+
* @return DeleteApiStageVariableResponse
|
|
20597
|
+
*/
|
|
19504
20598
|
async deleteApiStageVariableWithOptions(request, runtime) {
|
|
19505
20599
|
tea_util_1.default.validateModel(request);
|
|
19506
20600
|
let query = {};
|
|
@@ -19532,10 +20626,25 @@ class Client extends openapi_client_1.default {
|
|
|
19532
20626
|
});
|
|
19533
20627
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteApiStageVariableResponse({}));
|
|
19534
20628
|
}
|
|
20629
|
+
/**
|
|
20630
|
+
* * This operation is intended for API providers.
|
|
20631
|
+
*
|
|
20632
|
+
* @param request DeleteApiStageVariableRequest
|
|
20633
|
+
* @return DeleteApiStageVariableResponse
|
|
20634
|
+
*/
|
|
19535
20635
|
async deleteApiStageVariable(request) {
|
|
19536
20636
|
let runtime = new $Util.RuntimeOptions({});
|
|
19537
20637
|
return await this.deleteApiStageVariableWithOptions(request, runtime);
|
|
19538
20638
|
}
|
|
20639
|
+
/**
|
|
20640
|
+
* * This operation is intended for API callers.
|
|
20641
|
+
* * After an application is deleted, the application and its API authorization cannot be restored.
|
|
20642
|
+
* * You can call this operation up to 50 times per second per account.
|
|
20643
|
+
*
|
|
20644
|
+
* @param request DeleteAppRequest
|
|
20645
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20646
|
+
* @return DeleteAppResponse
|
|
20647
|
+
*/
|
|
19539
20648
|
async deleteAppWithOptions(request, runtime) {
|
|
19540
20649
|
tea_util_1.default.validateModel(request);
|
|
19541
20650
|
let query = {};
|
|
@@ -19564,6 +20673,14 @@ class Client extends openapi_client_1.default {
|
|
|
19564
20673
|
});
|
|
19565
20674
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAppResponse({}));
|
|
19566
20675
|
}
|
|
20676
|
+
/**
|
|
20677
|
+
* * This operation is intended for API callers.
|
|
20678
|
+
* * After an application is deleted, the application and its API authorization cannot be restored.
|
|
20679
|
+
* * You can call this operation up to 50 times per second per account.
|
|
20680
|
+
*
|
|
20681
|
+
* @param request DeleteAppRequest
|
|
20682
|
+
* @return DeleteAppResponse
|
|
20683
|
+
*/
|
|
19567
20684
|
async deleteApp(request) {
|
|
19568
20685
|
let runtime = new $Util.RuntimeOptions({});
|
|
19569
20686
|
return await this.deleteAppWithOptions(request, runtime);
|
|
@@ -19694,7 +20811,9 @@ class Client extends openapi_client_1.default {
|
|
|
19694
20811
|
return await this.deleteDatasetItemWithOptions(request, runtime);
|
|
19695
20812
|
}
|
|
19696
20813
|
/**
|
|
19697
|
-
*
|
|
20814
|
+
* * This operation is intended for API providers.
|
|
20815
|
+
* * If the specified domain name does not exist, a successful response will still appear.
|
|
20816
|
+
* * Unbinding a domain name from an API group will affect access to the APIs in the group. Exercise caution when using this operation.
|
|
19698
20817
|
*
|
|
19699
20818
|
* @param request DeleteDomainRequest
|
|
19700
20819
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19729,7 +20848,9 @@ class Client extends openapi_client_1.default {
|
|
|
19729
20848
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDomainResponse({}));
|
|
19730
20849
|
}
|
|
19731
20850
|
/**
|
|
19732
|
-
*
|
|
20851
|
+
* * This operation is intended for API providers.
|
|
20852
|
+
* * If the specified domain name does not exist, a successful response will still appear.
|
|
20853
|
+
* * Unbinding a domain name from an API group will affect access to the APIs in the group. Exercise caution when using this operation.
|
|
19733
20854
|
*
|
|
19734
20855
|
* @param request DeleteDomainRequest
|
|
19735
20856
|
* @return DeleteDomainResponse
|
|
@@ -19803,7 +20924,9 @@ class Client extends openapi_client_1.default {
|
|
|
19803
20924
|
return await this.deleteInstanceWithOptions(request, runtime);
|
|
19804
20925
|
}
|
|
19805
20926
|
/**
|
|
19806
|
-
*
|
|
20927
|
+
* * This operation is intended for API providers.
|
|
20928
|
+
* * If the ACL is bound to an API, you must unbind the ACL from the API before you can delete the ACL. Otherwise, an error is returned.
|
|
20929
|
+
* * If you call this operation on an ACL that does not exist, a success message is returned.
|
|
19807
20930
|
*
|
|
19808
20931
|
* @param request DeleteIpControlRequest
|
|
19809
20932
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19835,7 +20958,9 @@ class Client extends openapi_client_1.default {
|
|
|
19835
20958
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteIpControlResponse({}));
|
|
19836
20959
|
}
|
|
19837
20960
|
/**
|
|
19838
|
-
*
|
|
20961
|
+
* * This operation is intended for API providers.
|
|
20962
|
+
* * If the ACL is bound to an API, you must unbind the ACL from the API before you can delete the ACL. Otherwise, an error is returned.
|
|
20963
|
+
* * If you call this operation on an ACL that does not exist, a success message is returned.
|
|
19839
20964
|
*
|
|
19840
20965
|
* @param request DeleteIpControlRequest
|
|
19841
20966
|
* @return DeleteIpControlResponse
|
|
@@ -19934,6 +21059,14 @@ class Client extends openapi_client_1.default {
|
|
|
19934
21059
|
let runtime = new $Util.RuntimeOptions({});
|
|
19935
21060
|
return await this.deleteMonitorGroupWithOptions(request, runtime);
|
|
19936
21061
|
}
|
|
21062
|
+
/**
|
|
21063
|
+
* * This operation is intended for API providers.
|
|
21064
|
+
* * You must first unbind the plug-in from the API. Otherwise, an error is reported when you delete the plug-in.
|
|
21065
|
+
*
|
|
21066
|
+
* @param request DeletePluginRequest
|
|
21067
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21068
|
+
* @return DeletePluginResponse
|
|
21069
|
+
*/
|
|
19937
21070
|
async deletePluginWithOptions(request, runtime) {
|
|
19938
21071
|
tea_util_1.default.validateModel(request);
|
|
19939
21072
|
let query = {};
|
|
@@ -19962,12 +21095,22 @@ class Client extends openapi_client_1.default {
|
|
|
19962
21095
|
});
|
|
19963
21096
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePluginResponse({}));
|
|
19964
21097
|
}
|
|
19965
|
-
|
|
19966
|
-
|
|
21098
|
+
/**
|
|
21099
|
+
* * This operation is intended for API providers.
|
|
21100
|
+
* * You must first unbind the plug-in from the API. Otherwise, an error is reported when you delete the plug-in.
|
|
21101
|
+
*
|
|
21102
|
+
* @param request DeletePluginRequest
|
|
21103
|
+
* @return DeletePluginResponse
|
|
21104
|
+
*/
|
|
21105
|
+
async deletePlugin(request) {
|
|
21106
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
19967
21107
|
return await this.deletePluginWithOptions(request, runtime);
|
|
19968
21108
|
}
|
|
19969
21109
|
/**
|
|
19970
|
-
*
|
|
21110
|
+
* * This API is intended for API providers.
|
|
21111
|
+
* * This API operation deletes an existing backend signature key.
|
|
21112
|
+
* * You cannot delete a key that is bound to an API. To delete the key, you must unbind it first.
|
|
21113
|
+
* * The QPS limit on this operation is 50 per user.
|
|
19971
21114
|
*
|
|
19972
21115
|
* @param request DeleteSignatureRequest
|
|
19973
21116
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19999,7 +21142,10 @@ class Client extends openapi_client_1.default {
|
|
|
19999
21142
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSignatureResponse({}));
|
|
20000
21143
|
}
|
|
20001
21144
|
/**
|
|
20002
|
-
*
|
|
21145
|
+
* * This API is intended for API providers.
|
|
21146
|
+
* * This API operation deletes an existing backend signature key.
|
|
21147
|
+
* * You cannot delete a key that is bound to an API. To delete the key, you must unbind it first.
|
|
21148
|
+
* * The QPS limit on this operation is 50 per user.
|
|
20003
21149
|
*
|
|
20004
21150
|
* @param request DeleteSignatureRequest
|
|
20005
21151
|
* @return DeleteSignatureResponse
|
|
@@ -20008,6 +21154,15 @@ class Client extends openapi_client_1.default {
|
|
|
20008
21154
|
let runtime = new $Util.RuntimeOptions({});
|
|
20009
21155
|
return await this.deleteSignatureWithOptions(request, runtime);
|
|
20010
21156
|
}
|
|
21157
|
+
/**
|
|
21158
|
+
* * This API is intended for API providers.
|
|
21159
|
+
* * If the throttling policy you want to delete is bound to APIs, you need to unbind the policy first. Otherwise, an error is reported when you delete the policy.
|
|
21160
|
+
* * The QPS limit on this operation is 50 per user.
|
|
21161
|
+
*
|
|
21162
|
+
* @param request DeleteTrafficControlRequest
|
|
21163
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21164
|
+
* @return DeleteTrafficControlResponse
|
|
21165
|
+
*/
|
|
20011
21166
|
async deleteTrafficControlWithOptions(request, runtime) {
|
|
20012
21167
|
tea_util_1.default.validateModel(request);
|
|
20013
21168
|
let query = {};
|
|
@@ -20033,14 +21188,21 @@ class Client extends openapi_client_1.default {
|
|
|
20033
21188
|
});
|
|
20034
21189
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTrafficControlResponse({}));
|
|
20035
21190
|
}
|
|
21191
|
+
/**
|
|
21192
|
+
* * This API is intended for API providers.
|
|
21193
|
+
* * If the throttling policy you want to delete is bound to APIs, you need to unbind the policy first. Otherwise, an error is reported when you delete the policy.
|
|
21194
|
+
* * The QPS limit on this operation is 50 per user.
|
|
21195
|
+
*
|
|
21196
|
+
* @param request DeleteTrafficControlRequest
|
|
21197
|
+
* @return DeleteTrafficControlResponse
|
|
21198
|
+
*/
|
|
20036
21199
|
async deleteTrafficControl(request) {
|
|
20037
21200
|
let runtime = new $Util.RuntimeOptions({});
|
|
20038
21201
|
return await this.deleteTrafficControlWithOptions(request, runtime);
|
|
20039
21202
|
}
|
|
20040
21203
|
/**
|
|
20041
|
-
*
|
|
20042
|
-
* *
|
|
20043
|
-
* * **USER**
|
|
21204
|
+
* * This API is intended for API providers.
|
|
21205
|
+
* * You can obtain the input parameters required in this operation by calling other APIs.
|
|
20044
21206
|
*
|
|
20045
21207
|
* @param request DeleteTrafficSpecialControlRequest
|
|
20046
21208
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20078,9 +21240,8 @@ class Client extends openapi_client_1.default {
|
|
|
20078
21240
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTrafficSpecialControlResponse({}));
|
|
20079
21241
|
}
|
|
20080
21242
|
/**
|
|
20081
|
-
*
|
|
20082
|
-
* *
|
|
20083
|
-
* * **USER**
|
|
21243
|
+
* * This API is intended for API providers.
|
|
21244
|
+
* * You can obtain the input parameters required in this operation by calling other APIs.
|
|
20084
21245
|
*
|
|
20085
21246
|
* @param request DeleteTrafficSpecialControlRequest
|
|
20086
21247
|
* @return DeleteTrafficSpecialControlResponse
|
|
@@ -20090,7 +21251,9 @@ class Client extends openapi_client_1.default {
|
|
|
20090
21251
|
return await this.deleteTrafficSpecialControlWithOptions(request, runtime);
|
|
20091
21252
|
}
|
|
20092
21253
|
/**
|
|
20093
|
-
*
|
|
21254
|
+
* * This operation is intended for API providers. Only the API that you have defined and published to a runtime environment can be called.
|
|
21255
|
+
* * An API is published to a cluster in under 5 seconds.
|
|
21256
|
+
* * The QPS limit on this operation is 50 per user.
|
|
20094
21257
|
*
|
|
20095
21258
|
* @param request DeployApiRequest
|
|
20096
21259
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20131,7 +21294,9 @@ class Client extends openapi_client_1.default {
|
|
|
20131
21294
|
return $tea.cast(await this.callApi(params, req, runtime), new DeployApiResponse({}));
|
|
20132
21295
|
}
|
|
20133
21296
|
/**
|
|
20134
|
-
*
|
|
21297
|
+
* * This operation is intended for API providers. Only the API that you have defined and published to a runtime environment can be called.
|
|
21298
|
+
* * An API is published to a cluster in under 5 seconds.
|
|
21299
|
+
* * The QPS limit on this operation is 50 per user.
|
|
20135
21300
|
*
|
|
20136
21301
|
* @param request DeployApiRequest
|
|
20137
21302
|
* @return DeployApiResponse
|
|
@@ -20281,6 +21446,16 @@ class Client extends openapi_client_1.default {
|
|
|
20281
21446
|
let runtime = new $Util.RuntimeOptions({});
|
|
20282
21447
|
return await this.describeApiWithOptions(request, runtime);
|
|
20283
21448
|
}
|
|
21449
|
+
/**
|
|
21450
|
+
* * For API callers, the specified API must be a public or authorized private API that has been published to a runtime environment.****************
|
|
21451
|
+
* * When you call this operation as an API caller, the service information, parameter definitions, and other details of the API you specify are returned.
|
|
21452
|
+
* * When you call this operation as an API provider, the definition of the specified API running in the specified runtime environment is returned. The returned definition takes effect in the runtime environment, and may be different from the definition of the API you modify.
|
|
21453
|
+
* * Before you call this operation as an API provider, ensure that the API to be queried is a public one or that your application has been authorized to call the API, because authentication on API callers is required.
|
|
21454
|
+
*
|
|
21455
|
+
* @param request DescribeApiDocRequest
|
|
21456
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21457
|
+
* @return DescribeApiDocResponse
|
|
21458
|
+
*/
|
|
20284
21459
|
async describeApiDocWithOptions(request, runtime) {
|
|
20285
21460
|
tea_util_1.default.validateModel(request);
|
|
20286
21461
|
let query = {};
|
|
@@ -20312,6 +21487,15 @@ class Client extends openapi_client_1.default {
|
|
|
20312
21487
|
});
|
|
20313
21488
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiDocResponse({}));
|
|
20314
21489
|
}
|
|
21490
|
+
/**
|
|
21491
|
+
* * For API callers, the specified API must be a public or authorized private API that has been published to a runtime environment.****************
|
|
21492
|
+
* * When you call this operation as an API caller, the service information, parameter definitions, and other details of the API you specify are returned.
|
|
21493
|
+
* * When you call this operation as an API provider, the definition of the specified API running in the specified runtime environment is returned. The returned definition takes effect in the runtime environment, and may be different from the definition of the API you modify.
|
|
21494
|
+
* * Before you call this operation as an API provider, ensure that the API to be queried is a public one or that your application has been authorized to call the API, because authentication on API callers is required.
|
|
21495
|
+
*
|
|
21496
|
+
* @param request DescribeApiDocRequest
|
|
21497
|
+
* @return DescribeApiDocResponse
|
|
21498
|
+
*/
|
|
20315
21499
|
async describeApiDoc(request) {
|
|
20316
21500
|
let runtime = new $Util.RuntimeOptions({});
|
|
20317
21501
|
return await this.describeApiDocWithOptions(request, runtime);
|
|
@@ -20390,6 +21574,13 @@ class Client extends openapi_client_1.default {
|
|
|
20390
21574
|
let runtime = new $Util.RuntimeOptions({});
|
|
20391
21575
|
return await this.describeApiGroupVpcWhitelistWithOptions(request, runtime);
|
|
20392
21576
|
}
|
|
21577
|
+
/**
|
|
21578
|
+
* * This operation is intended for API providers.
|
|
21579
|
+
*
|
|
21580
|
+
* @param request DescribeApiGroupsRequest
|
|
21581
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21582
|
+
* @return DescribeApiGroupsResponse
|
|
21583
|
+
*/
|
|
20393
21584
|
async describeApiGroupsWithOptions(request, runtime) {
|
|
20394
21585
|
tea_util_1.default.validateModel(request);
|
|
20395
21586
|
let query = {};
|
|
@@ -20436,14 +21627,19 @@ class Client extends openapi_client_1.default {
|
|
|
20436
21627
|
});
|
|
20437
21628
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiGroupsResponse({}));
|
|
20438
21629
|
}
|
|
21630
|
+
/**
|
|
21631
|
+
* * This operation is intended for API providers.
|
|
21632
|
+
*
|
|
21633
|
+
* @param request DescribeApiGroupsRequest
|
|
21634
|
+
* @return DescribeApiGroupsResponse
|
|
21635
|
+
*/
|
|
20439
21636
|
async describeApiGroups(request) {
|
|
20440
21637
|
let runtime = new $Util.RuntimeOptions({});
|
|
20441
21638
|
return await this.describeApiGroupsWithOptions(request, runtime);
|
|
20442
21639
|
}
|
|
20443
21640
|
/**
|
|
20444
|
-
*
|
|
20445
|
-
* *
|
|
20446
|
-
* * **TEST: the test environment**
|
|
21641
|
+
* * This operation is intended for API providers. Only APIs that have been published have historical version records.
|
|
21642
|
+
* * This operation allows you to obtain the historical versions of an API. This operation is always called by other operations.
|
|
20447
21643
|
*
|
|
20448
21644
|
* @param request DescribeApiHistoriesRequest
|
|
20449
21645
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20490,9 +21686,8 @@ class Client extends openapi_client_1.default {
|
|
|
20490
21686
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiHistoriesResponse({}));
|
|
20491
21687
|
}
|
|
20492
21688
|
/**
|
|
20493
|
-
*
|
|
20494
|
-
* *
|
|
20495
|
-
* * **TEST: the test environment**
|
|
21689
|
+
* * This operation is intended for API providers. Only APIs that have been published have historical version records.
|
|
21690
|
+
* * This operation allows you to obtain the historical versions of an API. This operation is always called by other operations.
|
|
20496
21691
|
*
|
|
20497
21692
|
* @param request DescribeApiHistoriesRequest
|
|
20498
21693
|
* @return DescribeApiHistoriesResponse
|
|
@@ -20502,9 +21697,9 @@ class Client extends openapi_client_1.default {
|
|
|
20502
21697
|
return await this.describeApiHistoriesWithOptions(request, runtime);
|
|
20503
21698
|
}
|
|
20504
21699
|
/**
|
|
20505
|
-
*
|
|
20506
|
-
* * This
|
|
20507
|
-
* *
|
|
21700
|
+
* Queries the details of a specified historical version of a specified API definition.
|
|
21701
|
+
* * This API is intended for API providers.
|
|
21702
|
+
* * API Gateway records the time and definition of an API every time the API is published. You can use the version number obtained from other operations to query definition details at a certain publication.
|
|
20508
21703
|
*
|
|
20509
21704
|
* @param request DescribeApiHistoryRequest
|
|
20510
21705
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20545,9 +21740,9 @@ class Client extends openapi_client_1.default {
|
|
|
20545
21740
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiHistoryResponse({}));
|
|
20546
21741
|
}
|
|
20547
21742
|
/**
|
|
20548
|
-
*
|
|
20549
|
-
* * This
|
|
20550
|
-
* *
|
|
21743
|
+
* Queries the details of a specified historical version of a specified API definition.
|
|
21744
|
+
* * This API is intended for API providers.
|
|
21745
|
+
* * API Gateway records the time and definition of an API every time the API is published. You can use the version number obtained from other operations to query definition details at a certain publication.
|
|
20551
21746
|
*
|
|
20552
21747
|
* @param request DescribeApiHistoryRequest
|
|
20553
21748
|
* @return DescribeApiHistoryResponse
|
|
@@ -20557,7 +21752,9 @@ class Client extends openapi_client_1.default {
|
|
|
20557
21752
|
return await this.describeApiHistoryWithOptions(request, runtime);
|
|
20558
21753
|
}
|
|
20559
21754
|
/**
|
|
20560
|
-
*
|
|
21755
|
+
* * This operation is intended for API callers.
|
|
21756
|
+
* * If an optional parameter is not specified, all results are returned on separate pages.
|
|
21757
|
+
* ·
|
|
20561
21758
|
*
|
|
20562
21759
|
* @param request DescribeApiIpControlsRequest
|
|
20563
21760
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20601,7 +21798,9 @@ class Client extends openapi_client_1.default {
|
|
|
20601
21798
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiIpControlsResponse({}));
|
|
20602
21799
|
}
|
|
20603
21800
|
/**
|
|
20604
|
-
*
|
|
21801
|
+
* * This operation is intended for API callers.
|
|
21802
|
+
* * If an optional parameter is not specified, all results are returned on separate pages.
|
|
21803
|
+
* ·
|
|
20605
21804
|
*
|
|
20606
21805
|
* @param request DescribeApiIpControlsRequest
|
|
20607
21806
|
* @return DescribeApiIpControlsResponse
|
|
@@ -20610,6 +21809,15 @@ class Client extends openapi_client_1.default {
|
|
|
20610
21809
|
let runtime = new $Util.RuntimeOptions({});
|
|
20611
21810
|
return await this.describeApiIpControlsWithOptions(request, runtime);
|
|
20612
21811
|
}
|
|
21812
|
+
/**
|
|
21813
|
+
* You can call this operation to query the latency metrics in milliseconds for a specified API.
|
|
21814
|
+
* * This API is intended for API providers.
|
|
21815
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
21816
|
+
*
|
|
21817
|
+
* @param request DescribeApiLatencyDataRequest
|
|
21818
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21819
|
+
* @return DescribeApiLatencyDataResponse
|
|
21820
|
+
*/
|
|
20613
21821
|
async describeApiLatencyDataWithOptions(request, runtime) {
|
|
20614
21822
|
tea_util_1.default.validateModel(request);
|
|
20615
21823
|
let query = {};
|
|
@@ -20647,6 +21855,14 @@ class Client extends openapi_client_1.default {
|
|
|
20647
21855
|
});
|
|
20648
21856
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiLatencyDataResponse({}));
|
|
20649
21857
|
}
|
|
21858
|
+
/**
|
|
21859
|
+
* You can call this operation to query the latency metrics in milliseconds for a specified API.
|
|
21860
|
+
* * This API is intended for API providers.
|
|
21861
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
21862
|
+
*
|
|
21863
|
+
* @param request DescribeApiLatencyDataRequest
|
|
21864
|
+
* @return DescribeApiLatencyDataResponse
|
|
21865
|
+
*/
|
|
20650
21866
|
async describeApiLatencyData(request) {
|
|
20651
21867
|
let runtime = new $Util.RuntimeOptions({});
|
|
20652
21868
|
return await this.describeApiLatencyDataWithOptions(request, runtime);
|
|
@@ -20683,6 +21899,84 @@ class Client extends openapi_client_1.default {
|
|
|
20683
21899
|
let runtime = new $Util.RuntimeOptions({});
|
|
20684
21900
|
return await this.describeApiMarketAttributesWithOptions(request, runtime);
|
|
20685
21901
|
}
|
|
21902
|
+
async describeApiProductApisWithOptions(request, runtime) {
|
|
21903
|
+
tea_util_1.default.validateModel(request);
|
|
21904
|
+
let query = {};
|
|
21905
|
+
if (!tea_util_1.default.isUnset(request.apiProductId)) {
|
|
21906
|
+
query["ApiProductId"] = request.apiProductId;
|
|
21907
|
+
}
|
|
21908
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
21909
|
+
query["PageNumber"] = request.pageNumber;
|
|
21910
|
+
}
|
|
21911
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
21912
|
+
query["PageSize"] = request.pageSize;
|
|
21913
|
+
}
|
|
21914
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
21915
|
+
query["SecurityToken"] = request.securityToken;
|
|
21916
|
+
}
|
|
21917
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21918
|
+
query: openapi_util_1.default.query(query),
|
|
21919
|
+
});
|
|
21920
|
+
let params = new $OpenApi.Params({
|
|
21921
|
+
action: "DescribeApiProductApis",
|
|
21922
|
+
version: "2016-07-14",
|
|
21923
|
+
protocol: "HTTPS",
|
|
21924
|
+
pathname: "/",
|
|
21925
|
+
method: "POST",
|
|
21926
|
+
authType: "AK",
|
|
21927
|
+
style: "RPC",
|
|
21928
|
+
reqBodyType: "formData",
|
|
21929
|
+
bodyType: "json",
|
|
21930
|
+
});
|
|
21931
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiProductApisResponse({}));
|
|
21932
|
+
}
|
|
21933
|
+
async describeApiProductApis(request) {
|
|
21934
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
21935
|
+
return await this.describeApiProductApisWithOptions(request, runtime);
|
|
21936
|
+
}
|
|
21937
|
+
async describeApiProductsByAppWithOptions(request, runtime) {
|
|
21938
|
+
tea_util_1.default.validateModel(request);
|
|
21939
|
+
let query = {};
|
|
21940
|
+
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
21941
|
+
query["AppId"] = request.appId;
|
|
21942
|
+
}
|
|
21943
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
21944
|
+
query["PageNumber"] = request.pageNumber;
|
|
21945
|
+
}
|
|
21946
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
21947
|
+
query["PageSize"] = request.pageSize;
|
|
21948
|
+
}
|
|
21949
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
21950
|
+
query["SecurityToken"] = request.securityToken;
|
|
21951
|
+
}
|
|
21952
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21953
|
+
query: openapi_util_1.default.query(query),
|
|
21954
|
+
});
|
|
21955
|
+
let params = new $OpenApi.Params({
|
|
21956
|
+
action: "DescribeApiProductsByApp",
|
|
21957
|
+
version: "2016-07-14",
|
|
21958
|
+
protocol: "HTTPS",
|
|
21959
|
+
pathname: "/",
|
|
21960
|
+
method: "POST",
|
|
21961
|
+
authType: "AK",
|
|
21962
|
+
style: "RPC",
|
|
21963
|
+
reqBodyType: "formData",
|
|
21964
|
+
bodyType: "json",
|
|
21965
|
+
});
|
|
21966
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiProductsByAppResponse({}));
|
|
21967
|
+
}
|
|
21968
|
+
async describeApiProductsByApp(request) {
|
|
21969
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
21970
|
+
return await this.describeApiProductsByAppWithOptions(request, runtime);
|
|
21971
|
+
}
|
|
21972
|
+
/**
|
|
21973
|
+
* * This API is intended for API providers.
|
|
21974
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
21975
|
+
*
|
|
21976
|
+
* @param request DescribeApiQpsDataRequest
|
|
21977
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21978
|
+
* @return DescribeApiQpsDataResponse
|
|
21979
|
+
*/
|
|
20686
21980
|
async describeApiQpsDataWithOptions(request, runtime) {
|
|
20687
21981
|
tea_util_1.default.validateModel(request);
|
|
20688
21982
|
let query = {};
|
|
@@ -20720,14 +22014,20 @@ class Client extends openapi_client_1.default {
|
|
|
20720
22014
|
});
|
|
20721
22015
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiQpsDataResponse({}));
|
|
20722
22016
|
}
|
|
22017
|
+
/**
|
|
22018
|
+
* * This API is intended for API providers.
|
|
22019
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
22020
|
+
*
|
|
22021
|
+
* @param request DescribeApiQpsDataRequest
|
|
22022
|
+
* @return DescribeApiQpsDataResponse
|
|
22023
|
+
*/
|
|
20723
22024
|
async describeApiQpsData(request) {
|
|
20724
22025
|
let runtime = new $Util.RuntimeOptions({});
|
|
20725
22026
|
return await this.describeApiQpsDataWithOptions(request, runtime);
|
|
20726
22027
|
}
|
|
20727
22028
|
/**
|
|
20728
|
-
*
|
|
20729
|
-
* *
|
|
20730
|
-
* * **TEST**
|
|
22029
|
+
* * This API is intended for API providers.
|
|
22030
|
+
* * The ApiIds parameter is optional. If this parameter is not specified, all results in the specified environment of an API group are returned.
|
|
20731
22031
|
*
|
|
20732
22032
|
* @param request DescribeApiSignaturesRequest
|
|
20733
22033
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20771,9 +22071,8 @@ class Client extends openapi_client_1.default {
|
|
|
20771
22071
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiSignaturesResponse({}));
|
|
20772
22072
|
}
|
|
20773
22073
|
/**
|
|
20774
|
-
*
|
|
20775
|
-
* *
|
|
20776
|
-
* * **TEST**
|
|
22074
|
+
* * This API is intended for API providers.
|
|
22075
|
+
* * The ApiIds parameter is optional. If this parameter is not specified, all results in the specified environment of an API group are returned.
|
|
20777
22076
|
*
|
|
20778
22077
|
* @param request DescribeApiSignaturesRequest
|
|
20779
22078
|
* @return DescribeApiSignaturesResponse
|
|
@@ -20783,9 +22082,8 @@ class Client extends openapi_client_1.default {
|
|
|
20783
22082
|
return await this.describeApiSignaturesWithOptions(request, runtime);
|
|
20784
22083
|
}
|
|
20785
22084
|
/**
|
|
20786
|
-
*
|
|
20787
|
-
* *
|
|
20788
|
-
* * **TEST**: the test environment
|
|
22085
|
+
* * This API is intended for API providers.
|
|
22086
|
+
* * The ApiIds parameter is optional. If this parameter is not specified, all results in the specified environment of an API group are returned.
|
|
20789
22087
|
*
|
|
20790
22088
|
* @param request DescribeApiTrafficControlsRequest
|
|
20791
22089
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20829,9 +22127,8 @@ class Client extends openapi_client_1.default {
|
|
|
20829
22127
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiTrafficControlsResponse({}));
|
|
20830
22128
|
}
|
|
20831
22129
|
/**
|
|
20832
|
-
*
|
|
20833
|
-
* *
|
|
20834
|
-
* * **TEST**: the test environment
|
|
22130
|
+
* * This API is intended for API providers.
|
|
22131
|
+
* * The ApiIds parameter is optional. If this parameter is not specified, all results in the specified environment of an API group are returned.
|
|
20835
22132
|
*
|
|
20836
22133
|
* @param request DescribeApiTrafficControlsRequest
|
|
20837
22134
|
* @return DescribeApiTrafficControlsResponse
|
|
@@ -20840,6 +22137,14 @@ class Client extends openapi_client_1.default {
|
|
|
20840
22137
|
let runtime = new $Util.RuntimeOptions({});
|
|
20841
22138
|
return await this.describeApiTrafficControlsWithOptions(request, runtime);
|
|
20842
22139
|
}
|
|
22140
|
+
/**
|
|
22141
|
+
* * This API is intended for API providers.
|
|
22142
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
22143
|
+
*
|
|
22144
|
+
* @param request DescribeApiTrafficDataRequest
|
|
22145
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22146
|
+
* @return DescribeApiTrafficDataResponse
|
|
22147
|
+
*/
|
|
20843
22148
|
async describeApiTrafficDataWithOptions(request, runtime) {
|
|
20844
22149
|
tea_util_1.default.validateModel(request);
|
|
20845
22150
|
let query = {};
|
|
@@ -20877,6 +22182,13 @@ class Client extends openapi_client_1.default {
|
|
|
20877
22182
|
});
|
|
20878
22183
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiTrafficDataResponse({}));
|
|
20879
22184
|
}
|
|
22185
|
+
/**
|
|
22186
|
+
* * This API is intended for API providers.
|
|
22187
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
22188
|
+
*
|
|
22189
|
+
* @param request DescribeApiTrafficDataRequest
|
|
22190
|
+
* @return DescribeApiTrafficDataResponse
|
|
22191
|
+
*/
|
|
20880
22192
|
async describeApiTrafficData(request) {
|
|
20881
22193
|
let runtime = new $Util.RuntimeOptions({});
|
|
20882
22194
|
return await this.describeApiTrafficDataWithOptions(request, runtime);
|
|
@@ -21052,7 +22364,8 @@ class Client extends openapi_client_1.default {
|
|
|
21052
22364
|
return await this.describeApisByBackendWithOptions(request, runtime);
|
|
21053
22365
|
}
|
|
21054
22366
|
/**
|
|
21055
|
-
*
|
|
22367
|
+
* * This operation is intended for API callers.
|
|
22368
|
+
* * You can specify PageNumber to obtain the result on the specified page.
|
|
21056
22369
|
*
|
|
21057
22370
|
* @param request DescribeApisByIpControlRequest
|
|
21058
22371
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21090,7 +22403,8 @@ class Client extends openapi_client_1.default {
|
|
|
21090
22403
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApisByIpControlResponse({}));
|
|
21091
22404
|
}
|
|
21092
22405
|
/**
|
|
21093
|
-
*
|
|
22406
|
+
* * This operation is intended for API callers.
|
|
22407
|
+
* * You can specify PageNumber to obtain the result on the specified page.
|
|
21094
22408
|
*
|
|
21095
22409
|
* @param request DescribeApisByIpControlRequest
|
|
21096
22410
|
* @return DescribeApisByIpControlResponse
|
|
@@ -21100,7 +22414,8 @@ class Client extends openapi_client_1.default {
|
|
|
21100
22414
|
return await this.describeApisByIpControlWithOptions(request, runtime);
|
|
21101
22415
|
}
|
|
21102
22416
|
/**
|
|
21103
|
-
*
|
|
22417
|
+
* * This API is intended for API providers.
|
|
22418
|
+
* * The results are returned on separate pages. You can specify PageNumber to obtain the result on the specified page.
|
|
21104
22419
|
*
|
|
21105
22420
|
* @param request DescribeApisBySignatureRequest
|
|
21106
22421
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21138,7 +22453,8 @@ class Client extends openapi_client_1.default {
|
|
|
21138
22453
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApisBySignatureResponse({}));
|
|
21139
22454
|
}
|
|
21140
22455
|
/**
|
|
21141
|
-
*
|
|
22456
|
+
* * This API is intended for API providers.
|
|
22457
|
+
* * The results are returned on separate pages. You can specify PageNumber to obtain the result on the specified page.
|
|
21142
22458
|
*
|
|
21143
22459
|
* @param request DescribeApisBySignatureRequest
|
|
21144
22460
|
* @return DescribeApisBySignatureResponse
|
|
@@ -21148,7 +22464,8 @@ class Client extends openapi_client_1.default {
|
|
|
21148
22464
|
return await this.describeApisBySignatureWithOptions(request, runtime);
|
|
21149
22465
|
}
|
|
21150
22466
|
/**
|
|
21151
|
-
*
|
|
22467
|
+
* * This API is intended for API providers.
|
|
22468
|
+
* * You can specify PageNumber to obtain the result on the specified page.
|
|
21152
22469
|
*
|
|
21153
22470
|
* @param request DescribeApisByTrafficControlRequest
|
|
21154
22471
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21186,7 +22503,8 @@ class Client extends openapi_client_1.default {
|
|
|
21186
22503
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApisByTrafficControlResponse({}));
|
|
21187
22504
|
}
|
|
21188
22505
|
/**
|
|
21189
|
-
*
|
|
22506
|
+
* * This API is intended for API providers.
|
|
22507
|
+
* * You can specify PageNumber to obtain the result on the specified page.
|
|
21190
22508
|
*
|
|
21191
22509
|
* @param request DescribeApisByTrafficControlRequest
|
|
21192
22510
|
* @return DescribeApisByTrafficControlResponse
|
|
@@ -21195,6 +22513,56 @@ class Client extends openapi_client_1.default {
|
|
|
21195
22513
|
let runtime = new $Util.RuntimeOptions({});
|
|
21196
22514
|
return await this.describeApisByTrafficControlWithOptions(request, runtime);
|
|
21197
22515
|
}
|
|
22516
|
+
async describeApisWithStageNameIntegratedByAppWithOptions(request, runtime) {
|
|
22517
|
+
tea_util_1.default.validateModel(request);
|
|
22518
|
+
let query = {};
|
|
22519
|
+
if (!tea_util_1.default.isUnset(request.apiName)) {
|
|
22520
|
+
query["ApiName"] = request.apiName;
|
|
22521
|
+
}
|
|
22522
|
+
if (!tea_util_1.default.isUnset(request.apiUid)) {
|
|
22523
|
+
query["ApiUid"] = request.apiUid;
|
|
22524
|
+
}
|
|
22525
|
+
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
22526
|
+
query["AppId"] = request.appId;
|
|
22527
|
+
}
|
|
22528
|
+
if (!tea_util_1.default.isUnset(request.description)) {
|
|
22529
|
+
query["Description"] = request.description;
|
|
22530
|
+
}
|
|
22531
|
+
if (!tea_util_1.default.isUnset(request.method)) {
|
|
22532
|
+
query["Method"] = request.method;
|
|
22533
|
+
}
|
|
22534
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
22535
|
+
query["PageNumber"] = request.pageNumber;
|
|
22536
|
+
}
|
|
22537
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
22538
|
+
query["PageSize"] = request.pageSize;
|
|
22539
|
+
}
|
|
22540
|
+
if (!tea_util_1.default.isUnset(request.path)) {
|
|
22541
|
+
query["Path"] = request.path;
|
|
22542
|
+
}
|
|
22543
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
22544
|
+
query["SecurityToken"] = request.securityToken;
|
|
22545
|
+
}
|
|
22546
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22547
|
+
query: openapi_util_1.default.query(query),
|
|
22548
|
+
});
|
|
22549
|
+
let params = new $OpenApi.Params({
|
|
22550
|
+
action: "DescribeApisWithStageNameIntegratedByApp",
|
|
22551
|
+
version: "2016-07-14",
|
|
22552
|
+
protocol: "HTTPS",
|
|
22553
|
+
pathname: "/",
|
|
22554
|
+
method: "POST",
|
|
22555
|
+
authType: "AK",
|
|
22556
|
+
style: "RPC",
|
|
22557
|
+
reqBodyType: "formData",
|
|
22558
|
+
bodyType: "json",
|
|
22559
|
+
});
|
|
22560
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApisWithStageNameIntegratedByAppResponse({}));
|
|
22561
|
+
}
|
|
22562
|
+
async describeApisWithStageNameIntegratedByApp(request) {
|
|
22563
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
22564
|
+
return await this.describeApisWithStageNameIntegratedByAppWithOptions(request, runtime);
|
|
22565
|
+
}
|
|
21198
22566
|
async describeAppWithOptions(request, runtime) {
|
|
21199
22567
|
tea_util_1.default.validateModel(request);
|
|
21200
22568
|
let query = {};
|
|
@@ -21224,6 +22592,14 @@ class Client extends openapi_client_1.default {
|
|
|
21224
22592
|
let runtime = new $Util.RuntimeOptions({});
|
|
21225
22593
|
return await this.describeAppWithOptions(request, runtime);
|
|
21226
22594
|
}
|
|
22595
|
+
/**
|
|
22596
|
+
* * This operation is intended for API callers.
|
|
22597
|
+
* * AppId is optional.
|
|
22598
|
+
*
|
|
22599
|
+
* @param request DescribeAppAttributesRequest
|
|
22600
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22601
|
+
* @return DescribeAppAttributesResponse
|
|
22602
|
+
*/
|
|
21227
22603
|
async describeAppAttributesWithOptions(request, runtime) {
|
|
21228
22604
|
tea_util_1.default.validateModel(request);
|
|
21229
22605
|
let query = {};
|
|
@@ -21276,6 +22652,13 @@ class Client extends openapi_client_1.default {
|
|
|
21276
22652
|
});
|
|
21277
22653
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAppAttributesResponse({}));
|
|
21278
22654
|
}
|
|
22655
|
+
/**
|
|
22656
|
+
* * This operation is intended for API callers.
|
|
22657
|
+
* * AppId is optional.
|
|
22658
|
+
*
|
|
22659
|
+
* @param request DescribeAppAttributesRequest
|
|
22660
|
+
* @return DescribeAppAttributesResponse
|
|
22661
|
+
*/
|
|
21279
22662
|
async describeAppAttributes(request) {
|
|
21280
22663
|
let runtime = new $Util.RuntimeOptions({});
|
|
21281
22664
|
return await this.describeAppAttributesWithOptions(request, runtime);
|
|
@@ -21313,7 +22696,9 @@ class Client extends openapi_client_1.default {
|
|
|
21313
22696
|
return await this.describeAppSecurityWithOptions(request, runtime);
|
|
21314
22697
|
}
|
|
21315
22698
|
/**
|
|
21316
|
-
*
|
|
22699
|
+
* * This API is intended for API providers.
|
|
22700
|
+
* * API providers can use the app IDs or their Apsara Stack tenant accounts to query app information.
|
|
22701
|
+
* * Each provider can call this operation for a maximum of 200 times every day in a region.
|
|
21317
22702
|
*
|
|
21318
22703
|
* @param request DescribeAppsRequest
|
|
21319
22704
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21354,7 +22739,9 @@ class Client extends openapi_client_1.default {
|
|
|
21354
22739
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAppsResponse({}));
|
|
21355
22740
|
}
|
|
21356
22741
|
/**
|
|
21357
|
-
*
|
|
22742
|
+
* * This API is intended for API providers.
|
|
22743
|
+
* * API providers can use the app IDs or their Apsara Stack tenant accounts to query app information.
|
|
22744
|
+
* * Each provider can call this operation for a maximum of 200 times every day in a region.
|
|
21358
22745
|
*
|
|
21359
22746
|
* @param request DescribeAppsRequest
|
|
21360
22747
|
* @return DescribeAppsResponse
|
|
@@ -21363,8 +22750,47 @@ class Client extends openapi_client_1.default {
|
|
|
21363
22750
|
let runtime = new $Util.RuntimeOptions({});
|
|
21364
22751
|
return await this.describeAppsWithOptions(request, runtime);
|
|
21365
22752
|
}
|
|
22753
|
+
async describeAppsByApiProductWithOptions(request, runtime) {
|
|
22754
|
+
tea_util_1.default.validateModel(request);
|
|
22755
|
+
let query = {};
|
|
22756
|
+
if (!tea_util_1.default.isUnset(request.apiProductId)) {
|
|
22757
|
+
query["ApiProductId"] = request.apiProductId;
|
|
22758
|
+
}
|
|
22759
|
+
if (!tea_util_1.default.isUnset(request.appName)) {
|
|
22760
|
+
query["AppName"] = request.appName;
|
|
22761
|
+
}
|
|
22762
|
+
if (!tea_util_1.default.isUnset(request.pageNumber)) {
|
|
22763
|
+
query["PageNumber"] = request.pageNumber;
|
|
22764
|
+
}
|
|
22765
|
+
if (!tea_util_1.default.isUnset(request.pageSize)) {
|
|
22766
|
+
query["PageSize"] = request.pageSize;
|
|
22767
|
+
}
|
|
22768
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
22769
|
+
query["SecurityToken"] = request.securityToken;
|
|
22770
|
+
}
|
|
22771
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22772
|
+
query: openapi_util_1.default.query(query),
|
|
22773
|
+
});
|
|
22774
|
+
let params = new $OpenApi.Params({
|
|
22775
|
+
action: "DescribeAppsByApiProduct",
|
|
22776
|
+
version: "2016-07-14",
|
|
22777
|
+
protocol: "HTTPS",
|
|
22778
|
+
pathname: "/",
|
|
22779
|
+
method: "POST",
|
|
22780
|
+
authType: "AK",
|
|
22781
|
+
style: "RPC",
|
|
22782
|
+
reqBodyType: "formData",
|
|
22783
|
+
bodyType: "json",
|
|
22784
|
+
});
|
|
22785
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAppsByApiProductResponse({}));
|
|
22786
|
+
}
|
|
22787
|
+
async describeAppsByApiProduct(request) {
|
|
22788
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
22789
|
+
return await this.describeAppsByApiProductWithOptions(request, runtime);
|
|
22790
|
+
}
|
|
21366
22791
|
/**
|
|
21367
|
-
*
|
|
22792
|
+
* * This operation is intended for API callers.
|
|
22793
|
+
* * The specified application can call all APIs included in the responses.
|
|
21368
22794
|
*
|
|
21369
22795
|
* @param request DescribeAuthorizedApisRequest
|
|
21370
22796
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -21402,7 +22828,8 @@ class Client extends openapi_client_1.default {
|
|
|
21402
22828
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAuthorizedApisResponse({}));
|
|
21403
22829
|
}
|
|
21404
22830
|
/**
|
|
21405
|
-
*
|
|
22831
|
+
* * This operation is intended for API callers.
|
|
22832
|
+
* * The specified application can call all APIs included in the responses.
|
|
21406
22833
|
*
|
|
21407
22834
|
* @param request DescribeAuthorizedApisRequest
|
|
21408
22835
|
* @return DescribeAuthorizedApisResponse
|
|
@@ -21411,6 +22838,14 @@ class Client extends openapi_client_1.default {
|
|
|
21411
22838
|
let runtime = new $Util.RuntimeOptions({});
|
|
21412
22839
|
return await this.describeAuthorizedApisWithOptions(request, runtime);
|
|
21413
22840
|
}
|
|
22841
|
+
/**
|
|
22842
|
+
* * This operation is intended for API providers.
|
|
22843
|
+
* * All applications included in the responses have access to the specified API.
|
|
22844
|
+
*
|
|
22845
|
+
* @param request DescribeAuthorizedAppsRequest
|
|
22846
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22847
|
+
* @return DescribeAuthorizedAppsResponse
|
|
22848
|
+
*/
|
|
21414
22849
|
async describeAuthorizedAppsWithOptions(request, runtime) {
|
|
21415
22850
|
tea_util_1.default.validateModel(request);
|
|
21416
22851
|
let query = {};
|
|
@@ -21457,6 +22892,13 @@ class Client extends openapi_client_1.default {
|
|
|
21457
22892
|
});
|
|
21458
22893
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAuthorizedAppsResponse({}));
|
|
21459
22894
|
}
|
|
22895
|
+
/**
|
|
22896
|
+
* * This operation is intended for API providers.
|
|
22897
|
+
* * All applications included in the responses have access to the specified API.
|
|
22898
|
+
*
|
|
22899
|
+
* @param request DescribeAuthorizedAppsRequest
|
|
22900
|
+
* @return DescribeAuthorizedAppsResponse
|
|
22901
|
+
*/
|
|
21460
22902
|
async describeAuthorizedApps(request) {
|
|
21461
22903
|
let runtime = new $Util.RuntimeOptions({});
|
|
21462
22904
|
return await this.describeAuthorizedAppsWithOptions(request, runtime);
|
|
@@ -21729,6 +23171,13 @@ class Client extends openapi_client_1.default {
|
|
|
21729
23171
|
let runtime = new $Util.RuntimeOptions({});
|
|
21730
23172
|
return await this.describeDeployedApiWithOptions(request, runtime);
|
|
21731
23173
|
}
|
|
23174
|
+
/**
|
|
23175
|
+
* * This API is intended for API providers.
|
|
23176
|
+
*
|
|
23177
|
+
* @param request DescribeDeployedApisRequest
|
|
23178
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23179
|
+
* @return DescribeDeployedApisResponse
|
|
23180
|
+
*/
|
|
21732
23181
|
async describeDeployedApisWithOptions(request, runtime) {
|
|
21733
23182
|
tea_util_1.default.validateModel(request);
|
|
21734
23183
|
let query = {};
|
|
@@ -21781,17 +23230,16 @@ class Client extends openapi_client_1.default {
|
|
|
21781
23230
|
});
|
|
21782
23231
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDeployedApisResponse({}));
|
|
21783
23232
|
}
|
|
23233
|
+
/**
|
|
23234
|
+
* * This API is intended for API providers.
|
|
23235
|
+
*
|
|
23236
|
+
* @param request DescribeDeployedApisRequest
|
|
23237
|
+
* @return DescribeDeployedApisResponse
|
|
23238
|
+
*/
|
|
21784
23239
|
async describeDeployedApis(request) {
|
|
21785
23240
|
let runtime = new $Util.RuntimeOptions({});
|
|
21786
23241
|
return await this.describeDeployedApisWithOptions(request, runtime);
|
|
21787
23242
|
}
|
|
21788
|
-
/**
|
|
21789
|
-
* The ID of the API group to which the domain name is bound. This ID is generated by the system and globally unique.
|
|
21790
|
-
*
|
|
21791
|
-
* @param request DescribeDomainRequest
|
|
21792
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
21793
|
-
* @return DescribeDomainResponse
|
|
21794
|
-
*/
|
|
21795
23243
|
async describeDomainWithOptions(request, runtime) {
|
|
21796
23244
|
tea_util_1.default.validateModel(request);
|
|
21797
23245
|
let query = {};
|
|
@@ -21820,12 +23268,6 @@ class Client extends openapi_client_1.default {
|
|
|
21820
23268
|
});
|
|
21821
23269
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDomainResponse({}));
|
|
21822
23270
|
}
|
|
21823
|
-
/**
|
|
21824
|
-
* The ID of the API group to which the domain name is bound. This ID is generated by the system and globally unique.
|
|
21825
|
-
*
|
|
21826
|
-
* @param request DescribeDomainRequest
|
|
21827
|
-
* @return DescribeDomainResponse
|
|
21828
|
-
*/
|
|
21829
23271
|
async describeDomain(request) {
|
|
21830
23272
|
let runtime = new $Util.RuntimeOptions({});
|
|
21831
23273
|
return await this.describeDomainWithOptions(request, runtime);
|
|
@@ -22321,6 +23763,14 @@ class Client extends openapi_client_1.default {
|
|
|
22321
23763
|
let runtime = new $Util.RuntimeOptions({});
|
|
22322
23764
|
return await this.describeInstancesWithOptions(request, runtime);
|
|
22323
23765
|
}
|
|
23766
|
+
/**
|
|
23767
|
+
* * This operation is intended for API providers.
|
|
23768
|
+
* * You can filter the query results by policy ID.
|
|
23769
|
+
*
|
|
23770
|
+
* @param request DescribeIpControlPolicyItemsRequest
|
|
23771
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23772
|
+
* @return DescribeIpControlPolicyItemsResponse
|
|
23773
|
+
*/
|
|
22324
23774
|
async describeIpControlPolicyItemsWithOptions(request, runtime) {
|
|
22325
23775
|
tea_util_1.default.validateModel(request);
|
|
22326
23776
|
let query = {};
|
|
@@ -22355,15 +23805,22 @@ class Client extends openapi_client_1.default {
|
|
|
22355
23805
|
});
|
|
22356
23806
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeIpControlPolicyItemsResponse({}));
|
|
22357
23807
|
}
|
|
23808
|
+
/**
|
|
23809
|
+
* * This operation is intended for API providers.
|
|
23810
|
+
* * You can filter the query results by policy ID.
|
|
23811
|
+
*
|
|
23812
|
+
* @param request DescribeIpControlPolicyItemsRequest
|
|
23813
|
+
* @return DescribeIpControlPolicyItemsResponse
|
|
23814
|
+
*/
|
|
22358
23815
|
async describeIpControlPolicyItems(request) {
|
|
22359
23816
|
let runtime = new $Util.RuntimeOptions({});
|
|
22360
23817
|
return await this.describeIpControlPolicyItemsWithOptions(request, runtime);
|
|
22361
23818
|
}
|
|
22362
23819
|
/**
|
|
22363
23820
|
* * This operation is intended for API providers.
|
|
22364
|
-
* * This operation is used to query the ACLs in a
|
|
23821
|
+
* * This operation is used to query the ACLs in a Region. Region is a system parameter.
|
|
22365
23822
|
* * You can filter the query results by ACL ID, name, or type.
|
|
22366
|
-
* * This operation cannot be used to query specific policies. If you want to query specific policies,
|
|
23823
|
+
* * This operation cannot be used to query specific policies. If you want to query specific policies, use the DescribeIpControlPolicyItems operation.
|
|
22367
23824
|
*
|
|
22368
23825
|
* @param request DescribeIpControlsRequest
|
|
22369
23826
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22408,9 +23865,9 @@ class Client extends openapi_client_1.default {
|
|
|
22408
23865
|
}
|
|
22409
23866
|
/**
|
|
22410
23867
|
* * This operation is intended for API providers.
|
|
22411
|
-
* * This operation is used to query the ACLs in a
|
|
23868
|
+
* * This operation is used to query the ACLs in a Region. Region is a system parameter.
|
|
22412
23869
|
* * You can filter the query results by ACL ID, name, or type.
|
|
22413
|
-
* * This operation cannot be used to query specific policies. If you want to query specific policies,
|
|
23870
|
+
* * This operation cannot be used to query specific policies. If you want to query specific policies, use the DescribeIpControlPolicyItems operation.
|
|
22414
23871
|
*
|
|
22415
23872
|
* @param request DescribeIpControlsRequest
|
|
22416
23873
|
* @return DescribeIpControlsResponse
|
|
@@ -22478,7 +23935,7 @@ class Client extends openapi_client_1.default {
|
|
|
22478
23935
|
return await this.describeMarketRemainsQuotaWithOptions(request, runtime);
|
|
22479
23936
|
}
|
|
22480
23937
|
/**
|
|
22481
|
-
*
|
|
23938
|
+
* * Fuzzy queries are supported.
|
|
22482
23939
|
*
|
|
22483
23940
|
* @param request DescribeModelsRequest
|
|
22484
23941
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22519,7 +23976,7 @@ class Client extends openapi_client_1.default {
|
|
|
22519
23976
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeModelsResponse({}));
|
|
22520
23977
|
}
|
|
22521
23978
|
/**
|
|
22522
|
-
*
|
|
23979
|
+
* * Fuzzy queries are supported.
|
|
22523
23980
|
*
|
|
22524
23981
|
* @param request DescribeModelsRequest
|
|
22525
23982
|
* @return DescribeModelsResponse
|
|
@@ -22642,6 +24099,16 @@ class Client extends openapi_client_1.default {
|
|
|
22642
24099
|
let runtime = new $Util.RuntimeOptions({});
|
|
22643
24100
|
return await this.describePluginTemplatesWithOptions(request, runtime);
|
|
22644
24101
|
}
|
|
24102
|
+
/**
|
|
24103
|
+
* * This operation supports pagination.
|
|
24104
|
+
* * This operation allows you to query plug-ins by business type.
|
|
24105
|
+
* * This operation allows you to query plug-ins by ID.
|
|
24106
|
+
* * This operation allows you to query plug-ins by name.
|
|
24107
|
+
*
|
|
24108
|
+
* @param request DescribePluginsRequest
|
|
24109
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24110
|
+
* @return DescribePluginsResponse
|
|
24111
|
+
*/
|
|
22645
24112
|
async describePluginsWithOptions(request, runtime) {
|
|
22646
24113
|
tea_util_1.default.validateModel(request);
|
|
22647
24114
|
let query = {};
|
|
@@ -22682,6 +24149,15 @@ class Client extends openapi_client_1.default {
|
|
|
22682
24149
|
});
|
|
22683
24150
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePluginsResponse({}));
|
|
22684
24151
|
}
|
|
24152
|
+
/**
|
|
24153
|
+
* * This operation supports pagination.
|
|
24154
|
+
* * This operation allows you to query plug-ins by business type.
|
|
24155
|
+
* * This operation allows you to query plug-ins by ID.
|
|
24156
|
+
* * This operation allows you to query plug-ins by name.
|
|
24157
|
+
*
|
|
24158
|
+
* @param request DescribePluginsRequest
|
|
24159
|
+
* @return DescribePluginsResponse
|
|
24160
|
+
*/
|
|
22685
24161
|
async describePlugins(request) {
|
|
22686
24162
|
let runtime = new $Util.RuntimeOptions({});
|
|
22687
24163
|
return await this.describePluginsWithOptions(request, runtime);
|
|
@@ -22850,6 +24326,14 @@ class Client extends openapi_client_1.default {
|
|
|
22850
24326
|
let runtime = new $Util.RuntimeOptions({});
|
|
22851
24327
|
return await this.describePurchasedApisWithOptions(request, runtime);
|
|
22852
24328
|
}
|
|
24329
|
+
/**
|
|
24330
|
+
* This operation queries regions in which API Gateway is available.
|
|
24331
|
+
* * This operation is intended for API providers and callers.
|
|
24332
|
+
*
|
|
24333
|
+
* @param request DescribeRegionsRequest
|
|
24334
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24335
|
+
* @return DescribeRegionsResponse
|
|
24336
|
+
*/
|
|
22853
24337
|
async describeRegionsWithOptions(request, runtime) {
|
|
22854
24338
|
tea_util_1.default.validateModel(request);
|
|
22855
24339
|
let query = {};
|
|
@@ -22875,12 +24359,20 @@ class Client extends openapi_client_1.default {
|
|
|
22875
24359
|
});
|
|
22876
24360
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
22877
24361
|
}
|
|
24362
|
+
/**
|
|
24363
|
+
* This operation queries regions in which API Gateway is available.
|
|
24364
|
+
* * This operation is intended for API providers and callers.
|
|
24365
|
+
*
|
|
24366
|
+
* @param request DescribeRegionsRequest
|
|
24367
|
+
* @return DescribeRegionsResponse
|
|
24368
|
+
*/
|
|
22878
24369
|
async describeRegions(request) {
|
|
22879
24370
|
let runtime = new $Util.RuntimeOptions({});
|
|
22880
24371
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
22881
24372
|
}
|
|
22882
24373
|
/**
|
|
22883
|
-
*
|
|
24374
|
+
* * This API is intended for API providers.
|
|
24375
|
+
* * This operation is used to query the backend signature keys in a Region. Region is a system parameter.
|
|
22884
24376
|
*
|
|
22885
24377
|
* @param request DescribeSignaturesRequest
|
|
22886
24378
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22921,7 +24413,8 @@ class Client extends openapi_client_1.default {
|
|
|
22921
24413
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSignaturesResponse({}));
|
|
22922
24414
|
}
|
|
22923
24415
|
/**
|
|
22924
|
-
*
|
|
24416
|
+
* * This API is intended for API providers.
|
|
24417
|
+
* * This operation is used to query the backend signature keys in a Region. Region is a system parameter.
|
|
22925
24418
|
*
|
|
22926
24419
|
* @param request DescribeSignaturesRequest
|
|
22927
24420
|
* @return DescribeSignaturesResponse
|
|
@@ -22931,7 +24424,7 @@ class Client extends openapi_client_1.default {
|
|
|
22931
24424
|
return await this.describeSignaturesWithOptions(request, runtime);
|
|
22932
24425
|
}
|
|
22933
24426
|
/**
|
|
22934
|
-
*
|
|
24427
|
+
* * This API is intended for API providers.
|
|
22935
24428
|
*
|
|
22936
24429
|
* @param request DescribeSignaturesByApiRequest
|
|
22937
24430
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -22969,7 +24462,7 @@ class Client extends openapi_client_1.default {
|
|
|
22969
24462
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSignaturesByApiResponse({}));
|
|
22970
24463
|
}
|
|
22971
24464
|
/**
|
|
22972
|
-
*
|
|
24465
|
+
* * This API is intended for API providers.
|
|
22973
24466
|
*
|
|
22974
24467
|
* @param request DescribeSignaturesByApiRequest
|
|
22975
24468
|
* @return DescribeSignaturesByApiResponse
|
|
@@ -23005,7 +24498,8 @@ class Client extends openapi_client_1.default {
|
|
|
23005
24498
|
return await this.describeSummaryDataWithOptions(request, runtime);
|
|
23006
24499
|
}
|
|
23007
24500
|
/**
|
|
23008
|
-
*
|
|
24501
|
+
* * This API is intended for API callers.
|
|
24502
|
+
* * The response of this API contains the system parameters that are optional in API definitions.
|
|
23009
24503
|
*
|
|
23010
24504
|
* @param request DescribeSystemParametersRequest
|
|
23011
24505
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23034,7 +24528,8 @@ class Client extends openapi_client_1.default {
|
|
|
23034
24528
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSystemParametersResponse({}));
|
|
23035
24529
|
}
|
|
23036
24530
|
/**
|
|
23037
|
-
*
|
|
24531
|
+
* * This API is intended for API callers.
|
|
24532
|
+
* * The response of this API contains the system parameters that are optional in API definitions.
|
|
23038
24533
|
*
|
|
23039
24534
|
* @param request DescribeSystemParametersRequest
|
|
23040
24535
|
* @return DescribeSystemParametersResponse
|
|
@@ -23044,7 +24539,9 @@ class Client extends openapi_client_1.default {
|
|
|
23044
24539
|
return await this.describeSystemParametersWithOptions(request, runtime);
|
|
23045
24540
|
}
|
|
23046
24541
|
/**
|
|
23047
|
-
*
|
|
24542
|
+
* * This API is intended for API providers.
|
|
24543
|
+
* * This API can be used to query all existing throttling policies (including special throttling policies) and their details.
|
|
24544
|
+
* * You can specify query conditions. For example, you can query the throttling policies bound to a specified API or in a specified environment.
|
|
23048
24545
|
*
|
|
23049
24546
|
* @param request DescribeTrafficControlsRequest
|
|
23050
24547
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23094,7 +24591,9 @@ class Client extends openapi_client_1.default {
|
|
|
23094
24591
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrafficControlsResponse({}));
|
|
23095
24592
|
}
|
|
23096
24593
|
/**
|
|
23097
|
-
*
|
|
24594
|
+
* * This API is intended for API providers.
|
|
24595
|
+
* * This API can be used to query all existing throttling policies (including special throttling policies) and their details.
|
|
24596
|
+
* * You can specify query conditions. For example, you can query the throttling policies bound to a specified API or in a specified environment.
|
|
23098
24597
|
*
|
|
23099
24598
|
* @param request DescribeTrafficControlsRequest
|
|
23100
24599
|
* @return DescribeTrafficControlsResponse
|
|
@@ -23104,7 +24603,7 @@ class Client extends openapi_client_1.default {
|
|
|
23104
24603
|
return await this.describeTrafficControlsWithOptions(request, runtime);
|
|
23105
24604
|
}
|
|
23106
24605
|
/**
|
|
23107
|
-
*
|
|
24606
|
+
* * This API is intended for API providers.
|
|
23108
24607
|
*
|
|
23109
24608
|
* @param request DescribeTrafficControlsByApiRequest
|
|
23110
24609
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23142,7 +24641,7 @@ class Client extends openapi_client_1.default {
|
|
|
23142
24641
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrafficControlsByApiResponse({}));
|
|
23143
24642
|
}
|
|
23144
24643
|
/**
|
|
23145
|
-
*
|
|
24644
|
+
* * This API is intended for API providers.
|
|
23146
24645
|
*
|
|
23147
24646
|
* @param request DescribeTrafficControlsByApiRequest
|
|
23148
24647
|
* @return DescribeTrafficControlsByApiResponse
|
|
@@ -23285,6 +24784,38 @@ class Client extends openapi_client_1.default {
|
|
|
23285
24784
|
let runtime = new $Util.RuntimeOptions({});
|
|
23286
24785
|
return await this.describeZonesWithOptions(request, runtime);
|
|
23287
24786
|
}
|
|
24787
|
+
async detachApiProductWithOptions(request, runtime) {
|
|
24788
|
+
tea_util_1.default.validateModel(request);
|
|
24789
|
+
let query = {};
|
|
24790
|
+
if (!tea_util_1.default.isUnset(request.apiProductId)) {
|
|
24791
|
+
query["ApiProductId"] = request.apiProductId;
|
|
24792
|
+
}
|
|
24793
|
+
if (!tea_util_1.default.isUnset(request.apis)) {
|
|
24794
|
+
query["Apis"] = request.apis;
|
|
24795
|
+
}
|
|
24796
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
24797
|
+
query["SecurityToken"] = request.securityToken;
|
|
24798
|
+
}
|
|
24799
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
24800
|
+
query: openapi_util_1.default.query(query),
|
|
24801
|
+
});
|
|
24802
|
+
let params = new $OpenApi.Params({
|
|
24803
|
+
action: "DetachApiProduct",
|
|
24804
|
+
version: "2016-07-14",
|
|
24805
|
+
protocol: "HTTPS",
|
|
24806
|
+
pathname: "/",
|
|
24807
|
+
method: "POST",
|
|
24808
|
+
authType: "AK",
|
|
24809
|
+
style: "RPC",
|
|
24810
|
+
reqBodyType: "formData",
|
|
24811
|
+
bodyType: "json",
|
|
24812
|
+
});
|
|
24813
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DetachApiProductResponse({}));
|
|
24814
|
+
}
|
|
24815
|
+
async detachApiProduct(request) {
|
|
24816
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
24817
|
+
return await this.detachApiProductWithOptions(request, runtime);
|
|
24818
|
+
}
|
|
23288
24819
|
async detachPluginWithOptions(request, runtime) {
|
|
23289
24820
|
tea_util_1.default.validateModel(request);
|
|
23290
24821
|
let query = {};
|
|
@@ -23500,7 +25031,8 @@ class Client extends openapi_client_1.default {
|
|
|
23500
25031
|
return await this.importOASWithOptions(request, runtime);
|
|
23501
25032
|
}
|
|
23502
25033
|
/**
|
|
23503
|
-
*
|
|
25034
|
+
* * Alibaba Cloud supports extensions based on Swagger 2.0.
|
|
25035
|
+
* * Alibaba Cloud supports Swagger configuration files in JSON and YAML formats.
|
|
23504
25036
|
*
|
|
23505
25037
|
* @param tmpReq ImportSwaggerRequest
|
|
23506
25038
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23554,7 +25086,8 @@ class Client extends openapi_client_1.default {
|
|
|
23554
25086
|
return $tea.cast(await this.callApi(params, req, runtime), new ImportSwaggerResponse({}));
|
|
23555
25087
|
}
|
|
23556
25088
|
/**
|
|
23557
|
-
*
|
|
25089
|
+
* * Alibaba Cloud supports extensions based on Swagger 2.0.
|
|
25090
|
+
* * Alibaba Cloud supports Swagger configuration files in JSON and YAML formats.
|
|
23558
25091
|
*
|
|
23559
25092
|
* @param request ImportSwaggerRequest
|
|
23560
25093
|
* @return ImportSwaggerResponse
|
|
@@ -23563,6 +25096,21 @@ class Client extends openapi_client_1.default {
|
|
|
23563
25096
|
let runtime = new $Util.RuntimeOptions({});
|
|
23564
25097
|
return await this.importSwaggerWithOptions(request, runtime);
|
|
23565
25098
|
}
|
|
25099
|
+
/**
|
|
25100
|
+
* * The Tag.N.Key and Tag.N.Value parameters constitute a key-value pair.
|
|
25101
|
+
* * ResourceId.N must meet all the key-value pairs that are entered. If you enter multiple key-value pairs, resources that contain the specified key-value pairs are returned.
|
|
25102
|
+
* * This operation is used to query resource tags based on conditions. If no relationship matches the conditions, an empty list is returned.
|
|
25103
|
+
* * You can query both user tags and visible system tags.
|
|
25104
|
+
* * In addition to the required parameters, you can also specify ResourceId.N to query the visible resource tags of a specified resource in a region.
|
|
25105
|
+
* * You can also specify Tag.N.Key to query the visible keys of a specified key in a region.
|
|
25106
|
+
* * At least one of ResourceId.N, Tag.N.Key, and Tag.N.Value exists.
|
|
25107
|
+
* * You can query tags of the same type or different types in a single operation.
|
|
25108
|
+
* * You can query all your user tags and visible system tags.
|
|
25109
|
+
*
|
|
25110
|
+
* @param request ListTagResourcesRequest
|
|
25111
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25112
|
+
* @return ListTagResourcesResponse
|
|
25113
|
+
*/
|
|
23566
25114
|
async listTagResourcesWithOptions(request, runtime) {
|
|
23567
25115
|
tea_util_1.default.validateModel(request);
|
|
23568
25116
|
let query = {};
|
|
@@ -23594,12 +25142,30 @@ class Client extends openapi_client_1.default {
|
|
|
23594
25142
|
});
|
|
23595
25143
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
23596
25144
|
}
|
|
25145
|
+
/**
|
|
25146
|
+
* * The Tag.N.Key and Tag.N.Value parameters constitute a key-value pair.
|
|
25147
|
+
* * ResourceId.N must meet all the key-value pairs that are entered. If you enter multiple key-value pairs, resources that contain the specified key-value pairs are returned.
|
|
25148
|
+
* * This operation is used to query resource tags based on conditions. If no relationship matches the conditions, an empty list is returned.
|
|
25149
|
+
* * You can query both user tags and visible system tags.
|
|
25150
|
+
* * In addition to the required parameters, you can also specify ResourceId.N to query the visible resource tags of a specified resource in a region.
|
|
25151
|
+
* * You can also specify Tag.N.Key to query the visible keys of a specified key in a region.
|
|
25152
|
+
* * At least one of ResourceId.N, Tag.N.Key, and Tag.N.Value exists.
|
|
25153
|
+
* * You can query tags of the same type or different types in a single operation.
|
|
25154
|
+
* * You can query all your user tags and visible system tags.
|
|
25155
|
+
*
|
|
25156
|
+
* @param request ListTagResourcesRequest
|
|
25157
|
+
* @return ListTagResourcesResponse
|
|
25158
|
+
*/
|
|
23597
25159
|
async listTagResources(request) {
|
|
23598
25160
|
let runtime = new $Util.RuntimeOptions({});
|
|
23599
25161
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
23600
25162
|
}
|
|
23601
25163
|
/**
|
|
23602
|
-
*
|
|
25164
|
+
* **This operation is intended for API providers.**
|
|
25165
|
+
* * This API operation requires a full update. Updates of partial parameters are not supported.
|
|
25166
|
+
* * When you modify an API name, make sure that the name of each API within the same group is unique.
|
|
25167
|
+
* * When you modify the request path, make sure that each request path within the same group is unique.
|
|
25168
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23603
25169
|
*
|
|
23604
25170
|
* @param request ModifyApiRequest
|
|
23605
25171
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -23709,7 +25275,11 @@ class Client extends openapi_client_1.default {
|
|
|
23709
25275
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyApiResponse({}));
|
|
23710
25276
|
}
|
|
23711
25277
|
/**
|
|
23712
|
-
*
|
|
25278
|
+
* **This operation is intended for API providers.**
|
|
25279
|
+
* * This API operation requires a full update. Updates of partial parameters are not supported.
|
|
25280
|
+
* * When you modify an API name, make sure that the name of each API within the same group is unique.
|
|
25281
|
+
* * When you modify the request path, make sure that each request path within the same group is unique.
|
|
25282
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23713
25283
|
*
|
|
23714
25284
|
* @param request ModifyApiRequest
|
|
23715
25285
|
* @return ModifyApiResponse
|
|
@@ -23849,6 +25419,14 @@ class Client extends openapi_client_1.default {
|
|
|
23849
25419
|
let runtime = new $Util.RuntimeOptions({});
|
|
23850
25420
|
return await this.modifyApiConfigurationWithOptions(request, runtime);
|
|
23851
25421
|
}
|
|
25422
|
+
/**
|
|
25423
|
+
* * This operation is intended for API providers.
|
|
25424
|
+
* * The QPS limit on this operation is 50 per user.
|
|
25425
|
+
*
|
|
25426
|
+
* @param request ModifyApiGroupRequest
|
|
25427
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25428
|
+
* @return ModifyApiGroupResponse
|
|
25429
|
+
*/
|
|
23852
25430
|
async modifyApiGroupWithOptions(request, runtime) {
|
|
23853
25431
|
tea_util_1.default.validateModel(request);
|
|
23854
25432
|
let query = {};
|
|
@@ -23910,6 +25488,13 @@ class Client extends openapi_client_1.default {
|
|
|
23910
25488
|
});
|
|
23911
25489
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyApiGroupResponse({}));
|
|
23912
25490
|
}
|
|
25491
|
+
/**
|
|
25492
|
+
* * This operation is intended for API providers.
|
|
25493
|
+
* * The QPS limit on this operation is 50 per user.
|
|
25494
|
+
*
|
|
25495
|
+
* @param request ModifyApiGroupRequest
|
|
25496
|
+
* @return ModifyApiGroupResponse
|
|
25497
|
+
*/
|
|
23913
25498
|
async modifyApiGroup(request) {
|
|
23914
25499
|
let runtime = new $Util.RuntimeOptions({});
|
|
23915
25500
|
return await this.modifyApiGroupWithOptions(request, runtime);
|
|
@@ -23946,6 +25531,15 @@ class Client extends openapi_client_1.default {
|
|
|
23946
25531
|
let runtime = new $Util.RuntimeOptions({});
|
|
23947
25532
|
return await this.modifyApiGroupVpcWhitelistWithOptions(request, runtime);
|
|
23948
25533
|
}
|
|
25534
|
+
/**
|
|
25535
|
+
* * This operation is intended for API callers.
|
|
25536
|
+
* * **AppName** or **Description** can be modified. If these parameters are not specified, no modifications are made and the operation will directly return a success response.
|
|
25537
|
+
* * You can call this operation up to 50 times per second per account.
|
|
25538
|
+
*
|
|
25539
|
+
* @param request ModifyAppRequest
|
|
25540
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25541
|
+
* @return ModifyAppResponse
|
|
25542
|
+
*/
|
|
23949
25543
|
async modifyAppWithOptions(request, runtime) {
|
|
23950
25544
|
tea_util_1.default.validateModel(request);
|
|
23951
25545
|
let query = {};
|
|
@@ -23983,6 +25577,14 @@ class Client extends openapi_client_1.default {
|
|
|
23983
25577
|
});
|
|
23984
25578
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAppResponse({}));
|
|
23985
25579
|
}
|
|
25580
|
+
/**
|
|
25581
|
+
* * This operation is intended for API callers.
|
|
25582
|
+
* * **AppName** or **Description** can be modified. If these parameters are not specified, no modifications are made and the operation will directly return a success response.
|
|
25583
|
+
* * You can call this operation up to 50 times per second per account.
|
|
25584
|
+
*
|
|
25585
|
+
* @param request ModifyAppRequest
|
|
25586
|
+
* @return ModifyAppResponse
|
|
25587
|
+
*/
|
|
23986
25588
|
async modifyApp(request) {
|
|
23987
25589
|
let runtime = new $Util.RuntimeOptions({});
|
|
23988
25590
|
return await this.modifyAppWithOptions(request, runtime);
|
|
@@ -24180,8 +25782,41 @@ class Client extends openapi_client_1.default {
|
|
|
24180
25782
|
let runtime = new $Util.RuntimeOptions({});
|
|
24181
25783
|
return await this.modifyInstanceSpecWithOptions(request, runtime);
|
|
24182
25784
|
}
|
|
25785
|
+
async modifyIntranetDomainPolicyWithOptions(request, runtime) {
|
|
25786
|
+
tea_util_1.default.validateModel(request);
|
|
25787
|
+
let query = {};
|
|
25788
|
+
if (!tea_util_1.default.isUnset(request.groupId)) {
|
|
25789
|
+
query["GroupId"] = request.groupId;
|
|
25790
|
+
}
|
|
25791
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
25792
|
+
query["SecurityToken"] = request.securityToken;
|
|
25793
|
+
}
|
|
25794
|
+
if (!tea_util_1.default.isUnset(request.vpcIntranetEnable)) {
|
|
25795
|
+
query["VpcIntranetEnable"] = request.vpcIntranetEnable;
|
|
25796
|
+
}
|
|
25797
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
25798
|
+
query: openapi_util_1.default.query(query),
|
|
25799
|
+
});
|
|
25800
|
+
let params = new $OpenApi.Params({
|
|
25801
|
+
action: "ModifyIntranetDomainPolicy",
|
|
25802
|
+
version: "2016-07-14",
|
|
25803
|
+
protocol: "HTTPS",
|
|
25804
|
+
pathname: "/",
|
|
25805
|
+
method: "POST",
|
|
25806
|
+
authType: "AK",
|
|
25807
|
+
style: "RPC",
|
|
25808
|
+
reqBodyType: "formData",
|
|
25809
|
+
bodyType: "json",
|
|
25810
|
+
});
|
|
25811
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyIntranetDomainPolicyResponse({}));
|
|
25812
|
+
}
|
|
25813
|
+
async modifyIntranetDomainPolicy(request) {
|
|
25814
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
25815
|
+
return await this.modifyIntranetDomainPolicyWithOptions(request, runtime);
|
|
25816
|
+
}
|
|
24183
25817
|
/**
|
|
24184
|
-
*
|
|
25818
|
+
* * This operation is intended for API providers.
|
|
25819
|
+
* * This operation allows you to modify only the name and description of an ACL. You cannot modify the type of the ACL.
|
|
24185
25820
|
*
|
|
24186
25821
|
* @param request ModifyIpControlRequest
|
|
24187
25822
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24219,7 +25854,8 @@ class Client extends openapi_client_1.default {
|
|
|
24219
25854
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyIpControlResponse({}));
|
|
24220
25855
|
}
|
|
24221
25856
|
/**
|
|
24222
|
-
*
|
|
25857
|
+
* * This operation is intended for API providers.
|
|
25858
|
+
* * This operation allows you to modify only the name and description of an ACL. You cannot modify the type of the ACL.
|
|
24223
25859
|
*
|
|
24224
25860
|
* @param request ModifyIpControlRequest
|
|
24225
25861
|
* @return ModifyIpControlResponse
|
|
@@ -24229,7 +25865,9 @@ class Client extends openapi_client_1.default {
|
|
|
24229
25865
|
return await this.modifyIpControlWithOptions(request, runtime);
|
|
24230
25866
|
}
|
|
24231
25867
|
/**
|
|
24232
|
-
*
|
|
25868
|
+
* * This operation is intended for API providers.
|
|
25869
|
+
* * The modification immediately takes effect on all the APIs that are bound to the policy.
|
|
25870
|
+
* * This operation causes a full modification of the content of a policy.
|
|
24233
25871
|
*
|
|
24234
25872
|
* @param request ModifyIpControlPolicyItemRequest
|
|
24235
25873
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24270,7 +25908,9 @@ class Client extends openapi_client_1.default {
|
|
|
24270
25908
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyIpControlPolicyItemResponse({}));
|
|
24271
25909
|
}
|
|
24272
25910
|
/**
|
|
24273
|
-
*
|
|
25911
|
+
* * This operation is intended for API providers.
|
|
25912
|
+
* * The modification immediately takes effect on all the APIs that are bound to the policy.
|
|
25913
|
+
* * This operation causes a full modification of the content of a policy.
|
|
24274
25914
|
*
|
|
24275
25915
|
* @param request ModifyIpControlPolicyItemRequest
|
|
24276
25916
|
* @return ModifyIpControlPolicyItemResponse
|
|
@@ -24352,6 +25992,14 @@ class Client extends openapi_client_1.default {
|
|
|
24352
25992
|
let runtime = new $Util.RuntimeOptions({});
|
|
24353
25993
|
return await this.modifyModelWithOptions(request, runtime);
|
|
24354
25994
|
}
|
|
25995
|
+
/**
|
|
25996
|
+
* * This operation is intended for API providers.
|
|
25997
|
+
* * The name of the plug-in must be unique.
|
|
25998
|
+
*
|
|
25999
|
+
* @param request ModifyPluginRequest
|
|
26000
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
26001
|
+
* @return ModifyPluginResponse
|
|
26002
|
+
*/
|
|
24355
26003
|
async modifyPluginWithOptions(request, runtime) {
|
|
24356
26004
|
tea_util_1.default.validateModel(request);
|
|
24357
26005
|
let query = {};
|
|
@@ -24389,12 +26037,22 @@ class Client extends openapi_client_1.default {
|
|
|
24389
26037
|
});
|
|
24390
26038
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPluginResponse({}));
|
|
24391
26039
|
}
|
|
26040
|
+
/**
|
|
26041
|
+
* * This operation is intended for API providers.
|
|
26042
|
+
* * The name of the plug-in must be unique.
|
|
26043
|
+
*
|
|
26044
|
+
* @param request ModifyPluginRequest
|
|
26045
|
+
* @return ModifyPluginResponse
|
|
26046
|
+
*/
|
|
24392
26047
|
async modifyPlugin(request) {
|
|
24393
26048
|
let runtime = new $Util.RuntimeOptions({});
|
|
24394
26049
|
return await this.modifyPluginWithOptions(request, runtime);
|
|
24395
26050
|
}
|
|
24396
26051
|
/**
|
|
24397
|
-
*
|
|
26052
|
+
* * This API is intended for API providers.
|
|
26053
|
+
* * This API operation modifies the name, Key value, and Secret value of an existing signature key.
|
|
26054
|
+
* * Note that the modification takes effect immediately. If the key has been bound to an API, you must adjust the backend signature verification based on the new key accordingly.
|
|
26055
|
+
* * The QPS limit on this operation is 50 per user.
|
|
24398
26056
|
*
|
|
24399
26057
|
* @param request ModifySignatureRequest
|
|
24400
26058
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24435,7 +26093,10 @@ class Client extends openapi_client_1.default {
|
|
|
24435
26093
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifySignatureResponse({}));
|
|
24436
26094
|
}
|
|
24437
26095
|
/**
|
|
24438
|
-
*
|
|
26096
|
+
* * This API is intended for API providers.
|
|
26097
|
+
* * This API operation modifies the name, Key value, and Secret value of an existing signature key.
|
|
26098
|
+
* * Note that the modification takes effect immediately. If the key has been bound to an API, you must adjust the backend signature verification based on the new key accordingly.
|
|
26099
|
+
* * The QPS limit on this operation is 50 per user.
|
|
24439
26100
|
*
|
|
24440
26101
|
* @param request ModifySignatureRequest
|
|
24441
26102
|
* @return ModifySignatureResponse
|
|
@@ -24445,7 +26106,9 @@ class Client extends openapi_client_1.default {
|
|
|
24445
26106
|
return await this.modifySignatureWithOptions(request, runtime);
|
|
24446
26107
|
}
|
|
24447
26108
|
/**
|
|
24448
|
-
*
|
|
26109
|
+
* * This API is intended for API providers.
|
|
26110
|
+
* * The modifications take effect on the bound APIs instantly.
|
|
26111
|
+
* * The QPS limit on this operation is 50 per user.
|
|
24449
26112
|
*
|
|
24450
26113
|
* @param request ModifyTrafficControlRequest
|
|
24451
26114
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24495,7 +26158,9 @@ class Client extends openapi_client_1.default {
|
|
|
24495
26158
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyTrafficControlResponse({}));
|
|
24496
26159
|
}
|
|
24497
26160
|
/**
|
|
24498
|
-
*
|
|
26161
|
+
* * This API is intended for API providers.
|
|
26162
|
+
* * The modifications take effect on the bound APIs instantly.
|
|
26163
|
+
* * The QPS limit on this operation is 50 per user.
|
|
24499
26164
|
*
|
|
24500
26165
|
* @param request ModifyTrafficControlRequest
|
|
24501
26166
|
* @return ModifyTrafficControlResponse
|
|
@@ -24603,7 +26268,10 @@ class Client extends openapi_client_1.default {
|
|
|
24603
26268
|
return await this.queryRequestLogsWithOptions(request, runtime);
|
|
24604
26269
|
}
|
|
24605
26270
|
/**
|
|
24606
|
-
*
|
|
26271
|
+
* * This operation is intended for API providers.
|
|
26272
|
+
* * You must solve the problem that is mentioned in the domain name exception prompt before you can reactivate the domain name.
|
|
26273
|
+
* * A typical reason why a custom domain name becomes abnormal is that the domain name does not have an ICP filing or the domain name is included in a blacklist by the administration. When a custom domain name is abnormal, users cannot use it to access APIs.
|
|
26274
|
+
* * You can call this operation to reactivate the domain name to resume normal access.
|
|
24607
26275
|
*
|
|
24608
26276
|
* @param request ReactivateDomainRequest
|
|
24609
26277
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24638,7 +26306,10 @@ class Client extends openapi_client_1.default {
|
|
|
24638
26306
|
return $tea.cast(await this.callApi(params, req, runtime), new ReactivateDomainResponse({}));
|
|
24639
26307
|
}
|
|
24640
26308
|
/**
|
|
24641
|
-
*
|
|
26309
|
+
* * This operation is intended for API providers.
|
|
26310
|
+
* * You must solve the problem that is mentioned in the domain name exception prompt before you can reactivate the domain name.
|
|
26311
|
+
* * A typical reason why a custom domain name becomes abnormal is that the domain name does not have an ICP filing or the domain name is included in a blacklist by the administration. When a custom domain name is abnormal, users cannot use it to access APIs.
|
|
26312
|
+
* * You can call this operation to reactivate the domain name to resume normal access.
|
|
24642
26313
|
*
|
|
24643
26314
|
* @param request ReactivateDomainRequest
|
|
24644
26315
|
* @return ReactivateDomainResponse
|
|
@@ -24679,8 +26350,46 @@ class Client extends openapi_client_1.default {
|
|
|
24679
26350
|
let runtime = new $Util.RuntimeOptions({});
|
|
24680
26351
|
return await this.removeAccessControlListEntryWithOptions(request, runtime);
|
|
24681
26352
|
}
|
|
26353
|
+
async removeApiProductsAuthoritiesWithOptions(tmpReq, runtime) {
|
|
26354
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
26355
|
+
let request = new RemoveApiProductsAuthoritiesShrinkRequest({});
|
|
26356
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
26357
|
+
if (!tea_util_1.default.isUnset(tmpReq.apiProductIds)) {
|
|
26358
|
+
request.apiProductIdsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.apiProductIds, "ApiProductIds", "simple");
|
|
26359
|
+
}
|
|
26360
|
+
let query = {};
|
|
26361
|
+
if (!tea_util_1.default.isUnset(request.apiProductIdsShrink)) {
|
|
26362
|
+
query["ApiProductIds"] = request.apiProductIdsShrink;
|
|
26363
|
+
}
|
|
26364
|
+
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
26365
|
+
query["AppId"] = request.appId;
|
|
26366
|
+
}
|
|
26367
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
26368
|
+
query["SecurityToken"] = request.securityToken;
|
|
26369
|
+
}
|
|
26370
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
26371
|
+
query: openapi_util_1.default.query(query),
|
|
26372
|
+
});
|
|
26373
|
+
let params = new $OpenApi.Params({
|
|
26374
|
+
action: "RemoveApiProductsAuthorities",
|
|
26375
|
+
version: "2016-07-14",
|
|
26376
|
+
protocol: "HTTPS",
|
|
26377
|
+
pathname: "/",
|
|
26378
|
+
method: "POST",
|
|
26379
|
+
authType: "AK",
|
|
26380
|
+
style: "RPC",
|
|
26381
|
+
reqBodyType: "formData",
|
|
26382
|
+
bodyType: "json",
|
|
26383
|
+
});
|
|
26384
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RemoveApiProductsAuthoritiesResponse({}));
|
|
26385
|
+
}
|
|
26386
|
+
async removeApiProductsAuthorities(request) {
|
|
26387
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
26388
|
+
return await this.removeApiProductsAuthoritiesWithOptions(request, runtime);
|
|
26389
|
+
}
|
|
24682
26390
|
/**
|
|
24683
|
-
*
|
|
26391
|
+
* * This operation is intended for API providers and callers.
|
|
26392
|
+
* * Before you revoke access permissions, check by whom the permissions were granted. API providers can only revoke permissions granted by a Provider, and API callers can only revoke permissions granted by a Consumer.
|
|
24684
26393
|
*
|
|
24685
26394
|
* @param request RemoveApisAuthoritiesRequest
|
|
24686
26395
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24724,7 +26433,8 @@ class Client extends openapi_client_1.default {
|
|
|
24724
26433
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveApisAuthoritiesResponse({}));
|
|
24725
26434
|
}
|
|
24726
26435
|
/**
|
|
24727
|
-
*
|
|
26436
|
+
* * This operation is intended for API providers and callers.
|
|
26437
|
+
* * Before you revoke access permissions, check by whom the permissions were granted. API providers can only revoke permissions granted by a Provider, and API callers can only revoke permissions granted by a Consumer.
|
|
24728
26438
|
*
|
|
24729
26439
|
* @param request RemoveApisAuthoritiesRequest
|
|
24730
26440
|
* @return RemoveApisAuthoritiesResponse
|
|
@@ -24734,7 +26444,8 @@ class Client extends openapi_client_1.default {
|
|
|
24734
26444
|
return await this.removeApisAuthoritiesWithOptions(request, runtime);
|
|
24735
26445
|
}
|
|
24736
26446
|
/**
|
|
24737
|
-
*
|
|
26447
|
+
* * This operation is intended for API providers and callers.
|
|
26448
|
+
* * Before you revoke access permissions, check by whom the permissions were granted. API providers can only revoke permissions granted by a Provider, and API callers can only revoke permissions granted by a Consumer.
|
|
24738
26449
|
*
|
|
24739
26450
|
* @param request RemoveAppsAuthoritiesRequest
|
|
24740
26451
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24775,7 +26486,8 @@ class Client extends openapi_client_1.default {
|
|
|
24775
26486
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveAppsAuthoritiesResponse({}));
|
|
24776
26487
|
}
|
|
24777
26488
|
/**
|
|
24778
|
-
*
|
|
26489
|
+
* * This operation is intended for API providers and callers.
|
|
26490
|
+
* * Before you revoke access permissions, check by whom the permissions were granted. API providers can only revoke permissions granted by a Provider, and API callers can only revoke permissions granted by a Consumer.
|
|
24779
26491
|
*
|
|
24780
26492
|
* @param request RemoveAppsAuthoritiesRequest
|
|
24781
26493
|
* @return RemoveAppsAuthoritiesResponse
|
|
@@ -24785,7 +26497,8 @@ class Client extends openapi_client_1.default {
|
|
|
24785
26497
|
return await this.removeAppsAuthoritiesWithOptions(request, runtime);
|
|
24786
26498
|
}
|
|
24787
26499
|
/**
|
|
24788
|
-
*
|
|
26500
|
+
* * This operation is intended for API callers.
|
|
26501
|
+
* * The unbinding takes effect immediately. After the API is unbound from the ACL, the corresponding environment does not have any IP address access control in place for the API.
|
|
24789
26502
|
*
|
|
24790
26503
|
* @param request RemoveIpControlApisRequest
|
|
24791
26504
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24826,7 +26539,8 @@ class Client extends openapi_client_1.default {
|
|
|
24826
26539
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveIpControlApisResponse({}));
|
|
24827
26540
|
}
|
|
24828
26541
|
/**
|
|
24829
|
-
*
|
|
26542
|
+
* * This operation is intended for API callers.
|
|
26543
|
+
* * The unbinding takes effect immediately. After the API is unbound from the ACL, the corresponding environment does not have any IP address access control in place for the API.
|
|
24830
26544
|
*
|
|
24831
26545
|
* @param request RemoveIpControlApisRequest
|
|
24832
26546
|
* @return RemoveIpControlApisResponse
|
|
@@ -24836,7 +26550,7 @@ class Client extends openapi_client_1.default {
|
|
|
24836
26550
|
return await this.removeIpControlApisWithOptions(request, runtime);
|
|
24837
26551
|
}
|
|
24838
26552
|
/**
|
|
24839
|
-
*
|
|
26553
|
+
* * This operation is intended for API providers.
|
|
24840
26554
|
*
|
|
24841
26555
|
* @param request RemoveIpControlPolicyItemRequest
|
|
24842
26556
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24871,7 +26585,7 @@ class Client extends openapi_client_1.default {
|
|
|
24871
26585
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveIpControlPolicyItemResponse({}));
|
|
24872
26586
|
}
|
|
24873
26587
|
/**
|
|
24874
|
-
*
|
|
26588
|
+
* * This operation is intended for API providers.
|
|
24875
26589
|
*
|
|
24876
26590
|
* @param request RemoveIpControlPolicyItemRequest
|
|
24877
26591
|
* @return RemoveIpControlPolicyItemResponse
|
|
@@ -24881,7 +26595,8 @@ class Client extends openapi_client_1.default {
|
|
|
24881
26595
|
return await this.removeIpControlPolicyItemWithOptions(request, runtime);
|
|
24882
26596
|
}
|
|
24883
26597
|
/**
|
|
24884
|
-
*
|
|
26598
|
+
* * This API is intended for API providers.
|
|
26599
|
+
* * The operation takes effect immediately. The request sent from API Gateway to the backend service does not contain the signature string. The corresponding verification step can be removed from the backend.
|
|
24885
26600
|
*
|
|
24886
26601
|
* @param request RemoveSignatureApisRequest
|
|
24887
26602
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24922,7 +26637,8 @@ class Client extends openapi_client_1.default {
|
|
|
24922
26637
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveSignatureApisResponse({}));
|
|
24923
26638
|
}
|
|
24924
26639
|
/**
|
|
24925
|
-
*
|
|
26640
|
+
* * This API is intended for API providers.
|
|
26641
|
+
* * The operation takes effect immediately. The request sent from API Gateway to the backend service does not contain the signature string. The corresponding verification step can be removed from the backend.
|
|
24926
26642
|
*
|
|
24927
26643
|
* @param request RemoveSignatureApisRequest
|
|
24928
26644
|
* @return RemoveSignatureApisResponse
|
|
@@ -24932,7 +26648,8 @@ class Client extends openapi_client_1.default {
|
|
|
24932
26648
|
return await this.removeSignatureApisWithOptions(request, runtime);
|
|
24933
26649
|
}
|
|
24934
26650
|
/**
|
|
24935
|
-
*
|
|
26651
|
+
* * This API is intended for API providers.
|
|
26652
|
+
* * This API allows you to unbind a specified throttling policy from up to 100 APIs at a time.
|
|
24936
26653
|
*
|
|
24937
26654
|
* @param request RemoveTrafficControlApisRequest
|
|
24938
26655
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24973,7 +26690,8 @@ class Client extends openapi_client_1.default {
|
|
|
24973
26690
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveTrafficControlApisResponse({}));
|
|
24974
26691
|
}
|
|
24975
26692
|
/**
|
|
24976
|
-
*
|
|
26693
|
+
* * This API is intended for API providers.
|
|
26694
|
+
* * This API allows you to unbind a specified throttling policy from up to 100 APIs at a time.
|
|
24977
26695
|
*
|
|
24978
26696
|
* @param request RemoveTrafficControlApisRequest
|
|
24979
26697
|
* @return RemoveTrafficControlApisResponse
|
|
@@ -24982,6 +26700,15 @@ class Client extends openapi_client_1.default {
|
|
|
24982
26700
|
let runtime = new $Util.RuntimeOptions({});
|
|
24983
26701
|
return await this.removeTrafficControlApisWithOptions(request, runtime);
|
|
24984
26702
|
}
|
|
26703
|
+
/**
|
|
26704
|
+
* * This API is intended for API providers.
|
|
26705
|
+
* * Revokes the permissions of API Gateway to access your VPC instance.
|
|
26706
|
+
* > Deleting an authorization affects the associated API. Before you delete the authorization, make sure that it is not used by the API.
|
|
26707
|
+
*
|
|
26708
|
+
* @param request RemoveVpcAccessRequest
|
|
26709
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
26710
|
+
* @return RemoveVpcAccessResponse
|
|
26711
|
+
*/
|
|
24985
26712
|
async removeVpcAccessWithOptions(request, runtime) {
|
|
24986
26713
|
tea_util_1.default.validateModel(request);
|
|
24987
26714
|
let query = {};
|
|
@@ -25016,6 +26743,14 @@ class Client extends openapi_client_1.default {
|
|
|
25016
26743
|
});
|
|
25017
26744
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveVpcAccessResponse({}));
|
|
25018
26745
|
}
|
|
26746
|
+
/**
|
|
26747
|
+
* * This API is intended for API providers.
|
|
26748
|
+
* * Revokes the permissions of API Gateway to access your VPC instance.
|
|
26749
|
+
* > Deleting an authorization affects the associated API. Before you delete the authorization, make sure that it is not used by the API.
|
|
26750
|
+
*
|
|
26751
|
+
* @param request RemoveVpcAccessRequest
|
|
26752
|
+
* @return RemoveVpcAccessResponse
|
|
26753
|
+
*/
|
|
25019
26754
|
async removeVpcAccess(request) {
|
|
25020
26755
|
let runtime = new $Util.RuntimeOptions({});
|
|
25021
26756
|
return await this.removeVpcAccessWithOptions(request, runtime);
|
|
@@ -25058,13 +26793,6 @@ class Client extends openapi_client_1.default {
|
|
|
25058
26793
|
let runtime = new $Util.RuntimeOptions({});
|
|
25059
26794
|
return await this.removeVpcAccessAndAbolishApisWithOptions(request, runtime);
|
|
25060
26795
|
}
|
|
25061
|
-
/**
|
|
25062
|
-
* The new AppCode takes effect about 2 seconds after you call this operation.
|
|
25063
|
-
*
|
|
25064
|
-
* @param request ResetAppCodeRequest
|
|
25065
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
25066
|
-
* @return ResetAppCodeResponse
|
|
25067
|
-
*/
|
|
25068
26796
|
async resetAppCodeWithOptions(request, runtime) {
|
|
25069
26797
|
tea_util_1.default.validateModel(request);
|
|
25070
26798
|
let query = {};
|
|
@@ -25093,12 +26821,6 @@ class Client extends openapi_client_1.default {
|
|
|
25093
26821
|
});
|
|
25094
26822
|
return $tea.cast(await this.callApi(params, req, runtime), new ResetAppCodeResponse({}));
|
|
25095
26823
|
}
|
|
25096
|
-
/**
|
|
25097
|
-
* The new AppCode takes effect about 2 seconds after you call this operation.
|
|
25098
|
-
*
|
|
25099
|
-
* @param request ResetAppCodeRequest
|
|
25100
|
-
* @return ResetAppCodeResponse
|
|
25101
|
-
*/
|
|
25102
26824
|
async resetAppCode(request) {
|
|
25103
26825
|
let runtime = new $Util.RuntimeOptions({});
|
|
25104
26826
|
return await this.resetAppCodeWithOptions(request, runtime);
|
|
@@ -25283,8 +27005,53 @@ class Client extends openapi_client_1.default {
|
|
|
25283
27005
|
let runtime = new $Util.RuntimeOptions({});
|
|
25284
27006
|
return await this.setAccessControlListAttributeWithOptions(request, runtime);
|
|
25285
27007
|
}
|
|
27008
|
+
async setApiProductsAuthoritiesWithOptions(tmpReq, runtime) {
|
|
27009
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
27010
|
+
let request = new SetApiProductsAuthoritiesShrinkRequest({});
|
|
27011
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
27012
|
+
if (!tea_util_1.default.isUnset(tmpReq.apiProductIds)) {
|
|
27013
|
+
request.apiProductIdsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.apiProductIds, "ApiProductIds", "simple");
|
|
27014
|
+
}
|
|
27015
|
+
let query = {};
|
|
27016
|
+
if (!tea_util_1.default.isUnset(request.apiProductIdsShrink)) {
|
|
27017
|
+
query["ApiProductIds"] = request.apiProductIdsShrink;
|
|
27018
|
+
}
|
|
27019
|
+
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
27020
|
+
query["AppId"] = request.appId;
|
|
27021
|
+
}
|
|
27022
|
+
if (!tea_util_1.default.isUnset(request.authValidTime)) {
|
|
27023
|
+
query["AuthValidTime"] = request.authValidTime;
|
|
27024
|
+
}
|
|
27025
|
+
if (!tea_util_1.default.isUnset(request.description)) {
|
|
27026
|
+
query["Description"] = request.description;
|
|
27027
|
+
}
|
|
27028
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
27029
|
+
query["SecurityToken"] = request.securityToken;
|
|
27030
|
+
}
|
|
27031
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
27032
|
+
query: openapi_util_1.default.query(query),
|
|
27033
|
+
});
|
|
27034
|
+
let params = new $OpenApi.Params({
|
|
27035
|
+
action: "SetApiProductsAuthorities",
|
|
27036
|
+
version: "2016-07-14",
|
|
27037
|
+
protocol: "HTTPS",
|
|
27038
|
+
pathname: "/",
|
|
27039
|
+
method: "POST",
|
|
27040
|
+
authType: "AK",
|
|
27041
|
+
style: "RPC",
|
|
27042
|
+
reqBodyType: "formData",
|
|
27043
|
+
bodyType: "json",
|
|
27044
|
+
});
|
|
27045
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SetApiProductsAuthoritiesResponse({}));
|
|
27046
|
+
}
|
|
27047
|
+
async setApiProductsAuthorities(request) {
|
|
27048
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
27049
|
+
return await this.setApiProductsAuthoritiesWithOptions(request, runtime);
|
|
27050
|
+
}
|
|
25286
27051
|
/**
|
|
25287
|
-
*
|
|
27052
|
+
* * This operation is intended for API providers and callers.
|
|
27053
|
+
* * API providers can authorize any apps to call their APIs.
|
|
27054
|
+
* * API callers can authorize their own apps to call the APIs that they have purchased.
|
|
25288
27055
|
*
|
|
25289
27056
|
* @param request SetApisAuthoritiesRequest
|
|
25290
27057
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25331,7 +27098,9 @@ class Client extends openapi_client_1.default {
|
|
|
25331
27098
|
return $tea.cast(await this.callApi(params, req, runtime), new SetApisAuthoritiesResponse({}));
|
|
25332
27099
|
}
|
|
25333
27100
|
/**
|
|
25334
|
-
*
|
|
27101
|
+
* * This operation is intended for API providers and callers.
|
|
27102
|
+
* * API providers can authorize any apps to call their APIs.
|
|
27103
|
+
* * API callers can authorize their own apps to call the APIs that they have purchased.
|
|
25335
27104
|
*
|
|
25336
27105
|
* @param request SetApisAuthoritiesRequest
|
|
25337
27106
|
* @return SetApisAuthoritiesResponse
|
|
@@ -25341,7 +27110,9 @@ class Client extends openapi_client_1.default {
|
|
|
25341
27110
|
return await this.setApisAuthoritiesWithOptions(request, runtime);
|
|
25342
27111
|
}
|
|
25343
27112
|
/**
|
|
25344
|
-
*
|
|
27113
|
+
* * This operation is intended for API providers and callers.
|
|
27114
|
+
* * API providers can authorize any apps to call their APIs.
|
|
27115
|
+
* * API callers can authorize their own apps to call the APIs that they have purchased.
|
|
25345
27116
|
*
|
|
25346
27117
|
* @param request SetAppsAuthoritiesRequest
|
|
25347
27118
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25388,7 +27159,9 @@ class Client extends openapi_client_1.default {
|
|
|
25388
27159
|
return $tea.cast(await this.callApi(params, req, runtime), new SetAppsAuthoritiesResponse({}));
|
|
25389
27160
|
}
|
|
25390
27161
|
/**
|
|
25391
|
-
*
|
|
27162
|
+
* * This operation is intended for API providers and callers.
|
|
27163
|
+
* * API providers can authorize any apps to call their APIs.
|
|
27164
|
+
* * API callers can authorize their own apps to call the APIs that they have purchased.
|
|
25392
27165
|
*
|
|
25393
27166
|
* @param request SetAppsAuthoritiesRequest
|
|
25394
27167
|
* @return SetAppsAuthoritiesResponse
|
|
@@ -25439,7 +27212,9 @@ class Client extends openapi_client_1.default {
|
|
|
25439
27212
|
return await this.setDomainWithOptions(request, runtime);
|
|
25440
27213
|
}
|
|
25441
27214
|
/**
|
|
25442
|
-
*
|
|
27215
|
+
* * This operation is intended for API providers.
|
|
27216
|
+
* * The SSL certificate must match the custom domain name.
|
|
27217
|
+
* * After the SSL certificate is bound, HTTPS-based API services become available.
|
|
25443
27218
|
*
|
|
25444
27219
|
* @param request SetDomainCertificateRequest
|
|
25445
27220
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25489,7 +27264,9 @@ class Client extends openapi_client_1.default {
|
|
|
25489
27264
|
return $tea.cast(await this.callApi(params, req, runtime), new SetDomainCertificateResponse({}));
|
|
25490
27265
|
}
|
|
25491
27266
|
/**
|
|
25492
|
-
*
|
|
27267
|
+
* * This operation is intended for API providers.
|
|
27268
|
+
* * The SSL certificate must match the custom domain name.
|
|
27269
|
+
* * After the SSL certificate is bound, HTTPS-based API services become available.
|
|
25493
27270
|
*
|
|
25494
27271
|
* @param request SetDomainCertificateRequest
|
|
25495
27272
|
* @return SetDomainCertificateResponse
|
|
@@ -25569,7 +27346,8 @@ class Client extends openapi_client_1.default {
|
|
|
25569
27346
|
return await this.setGroupAuthAppCodeWithOptions(request, runtime);
|
|
25570
27347
|
}
|
|
25571
27348
|
/**
|
|
25572
|
-
*
|
|
27349
|
+
* * This operation is intended for API callers.
|
|
27350
|
+
* * A maximum of 100 APIs can be bound at a time.
|
|
25573
27351
|
*
|
|
25574
27352
|
* @param request SetIpControlApisRequest
|
|
25575
27353
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25610,7 +27388,8 @@ class Client extends openapi_client_1.default {
|
|
|
25610
27388
|
return $tea.cast(await this.callApi(params, req, runtime), new SetIpControlApisResponse({}));
|
|
25611
27389
|
}
|
|
25612
27390
|
/**
|
|
25613
|
-
*
|
|
27391
|
+
* * This operation is intended for API callers.
|
|
27392
|
+
* * A maximum of 100 APIs can be bound at a time.
|
|
25614
27393
|
*
|
|
25615
27394
|
* @param request SetIpControlApisRequest
|
|
25616
27395
|
* @return SetIpControlApisResponse
|
|
@@ -25620,7 +27399,8 @@ class Client extends openapi_client_1.default {
|
|
|
25620
27399
|
return await this.setIpControlApisWithOptions(request, runtime);
|
|
25621
27400
|
}
|
|
25622
27401
|
/**
|
|
25623
|
-
*
|
|
27402
|
+
* * This API is intended for API providers.
|
|
27403
|
+
* * This operation allows you to bind a signature key to an API. You can bind signature keys for up to 100 APIs at a time.
|
|
25624
27404
|
*
|
|
25625
27405
|
* @param request SetSignatureApisRequest
|
|
25626
27406
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25661,7 +27441,8 @@ class Client extends openapi_client_1.default {
|
|
|
25661
27441
|
return $tea.cast(await this.callApi(params, req, runtime), new SetSignatureApisResponse({}));
|
|
25662
27442
|
}
|
|
25663
27443
|
/**
|
|
25664
|
-
*
|
|
27444
|
+
* * This API is intended for API providers.
|
|
27445
|
+
* * This operation allows you to bind a signature key to an API. You can bind signature keys for up to 100 APIs at a time.
|
|
25665
27446
|
*
|
|
25666
27447
|
* @param request SetSignatureApisRequest
|
|
25667
27448
|
* @return SetSignatureApisResponse
|
|
@@ -25671,7 +27452,8 @@ class Client extends openapi_client_1.default {
|
|
|
25671
27452
|
return await this.setSignatureApisWithOptions(request, runtime);
|
|
25672
27453
|
}
|
|
25673
27454
|
/**
|
|
25674
|
-
*
|
|
27455
|
+
* * This API is intended for API providers.
|
|
27456
|
+
* * This API allows you to bind a specific throttling policy to up to 100 APIs at a time.
|
|
25675
27457
|
*
|
|
25676
27458
|
* @param request SetTrafficControlApisRequest
|
|
25677
27459
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25712,7 +27494,8 @@ class Client extends openapi_client_1.default {
|
|
|
25712
27494
|
return $tea.cast(await this.callApi(params, req, runtime), new SetTrafficControlApisResponse({}));
|
|
25713
27495
|
}
|
|
25714
27496
|
/**
|
|
25715
|
-
*
|
|
27497
|
+
* * This API is intended for API providers.
|
|
27498
|
+
* * This API allows you to bind a specific throttling policy to up to 100 APIs at a time.
|
|
25716
27499
|
*
|
|
25717
27500
|
* @param request SetTrafficControlApisRequest
|
|
25718
27501
|
* @return SetTrafficControlApisResponse
|
|
@@ -25801,7 +27584,11 @@ class Client extends openapi_client_1.default {
|
|
|
25801
27584
|
return await this.setWildcardDomainPatternsWithOptions(request, runtime);
|
|
25802
27585
|
}
|
|
25803
27586
|
/**
|
|
25804
|
-
*
|
|
27587
|
+
* * This API is intended for API providers.
|
|
27588
|
+
* * The historical version can be obtained by calling the **DescribeHistoryApis** operation.
|
|
27589
|
+
* * Only APIs that have been published more than once have historical versions.
|
|
27590
|
+
* * This operation can only be performed on running APIs. Exercise caution when you perform this operation because the operation cannot be undone. The operation takes up to 5 seconds.
|
|
27591
|
+
* * The switch operation is essentially a publish operation. A reason for this operation must be provided.
|
|
25805
27592
|
*
|
|
25806
27593
|
* @param request SwitchApiRequest
|
|
25807
27594
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25845,7 +27632,11 @@ class Client extends openapi_client_1.default {
|
|
|
25845
27632
|
return $tea.cast(await this.callApi(params, req, runtime), new SwitchApiResponse({}));
|
|
25846
27633
|
}
|
|
25847
27634
|
/**
|
|
25848
|
-
*
|
|
27635
|
+
* * This API is intended for API providers.
|
|
27636
|
+
* * The historical version can be obtained by calling the **DescribeHistoryApis** operation.
|
|
27637
|
+
* * Only APIs that have been published more than once have historical versions.
|
|
27638
|
+
* * This operation can only be performed on running APIs. Exercise caution when you perform this operation because the operation cannot be undone. The operation takes up to 5 seconds.
|
|
27639
|
+
* * The switch operation is essentially a publish operation. A reason for this operation must be provided.
|
|
25849
27640
|
*
|
|
25850
27641
|
* @param request SwitchApiRequest
|
|
25851
27642
|
* @return SwitchApiResponse
|
|
@@ -25855,8 +27646,11 @@ class Client extends openapi_client_1.default {
|
|
|
25855
27646
|
return await this.switchApiWithOptions(request, runtime);
|
|
25856
27647
|
}
|
|
25857
27648
|
/**
|
|
25858
|
-
*
|
|
25859
|
-
*
|
|
27649
|
+
* * All tags (key-value pairs) are applied to all resources of a specified ResourceId, with each resource specified as ResourceId.N.
|
|
27650
|
+
* * Tag.N is a resource tag consisting of a key-value pair: Tag.N.Key and Tag.N.Value.
|
|
27651
|
+
* * If you call this operation to tag multiple resources simultaneously, either all or none of the resources will be tagged.
|
|
27652
|
+
* * If you specify Tag.1.Value in addition to required parameters, you must also specify Tag.1.Key. Otherwise, an InvalidParameter.TagKey error is reported. A tag that has a value must have the corresponding key, but the key can be an empty string.
|
|
27653
|
+
* * If a tag with the same key has been bound to a resource, the new tag will overwrite the existing one.
|
|
25860
27654
|
*
|
|
25861
27655
|
* @param request TagResourcesRequest
|
|
25862
27656
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25894,8 +27688,11 @@ class Client extends openapi_client_1.default {
|
|
|
25894
27688
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
25895
27689
|
}
|
|
25896
27690
|
/**
|
|
25897
|
-
*
|
|
25898
|
-
*
|
|
27691
|
+
* * All tags (key-value pairs) are applied to all resources of a specified ResourceId, with each resource specified as ResourceId.N.
|
|
27692
|
+
* * Tag.N is a resource tag consisting of a key-value pair: Tag.N.Key and Tag.N.Value.
|
|
27693
|
+
* * If you call this operation to tag multiple resources simultaneously, either all or none of the resources will be tagged.
|
|
27694
|
+
* * If you specify Tag.1.Value in addition to required parameters, you must also specify Tag.1.Key. Otherwise, an InvalidParameter.TagKey error is reported. A tag that has a value must have the corresponding key, but the key can be an empty string.
|
|
27695
|
+
* * If a tag with the same key has been bound to a resource, the new tag will overwrite the existing one.
|
|
25899
27696
|
*
|
|
25900
27697
|
* @param request TagResourcesRequest
|
|
25901
27698
|
* @return TagResourcesResponse
|
|
@@ -25905,9 +27702,11 @@ class Client extends openapi_client_1.default {
|
|
|
25905
27702
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
25906
27703
|
}
|
|
25907
27704
|
/**
|
|
25908
|
-
*
|
|
25909
|
-
* *
|
|
25910
|
-
* *
|
|
27705
|
+
* * If you call this operation to untag multiple resources simultaneously, either all or none of the resources will be untagged.
|
|
27706
|
+
* * If you specify resource IDs without specifying tag keys and set the All parameter to true, all tags bound to the specified resources will be deleted. If a resource does not have any tags, the request is not processed but a success is returned.
|
|
27707
|
+
* * If you specify resource IDs without specifying tag keys and set the All parameter to false, the request is not processed but a success is returned.
|
|
27708
|
+
* * When tag keys are specified, the All parameter is invalid.
|
|
27709
|
+
* * When multiple resources and key-value pairs are specified, the specified tags bound to the resources are deleted.
|
|
25911
27710
|
*
|
|
25912
27711
|
* @param request UntagResourcesRequest
|
|
25913
27712
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -25948,9 +27747,11 @@ class Client extends openapi_client_1.default {
|
|
|
25948
27747
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
25949
27748
|
}
|
|
25950
27749
|
/**
|
|
25951
|
-
*
|
|
25952
|
-
* *
|
|
25953
|
-
* *
|
|
27750
|
+
* * If you call this operation to untag multiple resources simultaneously, either all or none of the resources will be untagged.
|
|
27751
|
+
* * If you specify resource IDs without specifying tag keys and set the All parameter to true, all tags bound to the specified resources will be deleted. If a resource does not have any tags, the request is not processed but a success is returned.
|
|
27752
|
+
* * If you specify resource IDs without specifying tag keys and set the All parameter to false, the request is not processed but a success is returned.
|
|
27753
|
+
* * When tag keys are specified, the All parameter is invalid.
|
|
27754
|
+
* * When multiple resources and key-value pairs are specified, the specified tags bound to the resources are deleted.
|
|
25954
27755
|
*
|
|
25955
27756
|
* @param request UntagResourcesRequest
|
|
25956
27757
|
* @return UntagResourcesResponse
|