@alicloud/cloudapi20160714 2.2.13 → 2.2.14
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 +1549 -0
- package/dist/client.js +1644 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1704 -0
package/dist/client.js
CHANGED
|
@@ -1064,6 +1064,7 @@ class CreateInstanceRequest extends $tea.Model {
|
|
|
1064
1064
|
instanceName: 'InstanceName',
|
|
1065
1065
|
instanceSpec: 'InstanceSpec',
|
|
1066
1066
|
pricingCycle: 'PricingCycle',
|
|
1067
|
+
tag: 'Tag',
|
|
1067
1068
|
token: 'Token',
|
|
1068
1069
|
zoneId: 'ZoneId',
|
|
1069
1070
|
};
|
|
@@ -1077,6 +1078,7 @@ class CreateInstanceRequest extends $tea.Model {
|
|
|
1077
1078
|
instanceName: 'string',
|
|
1078
1079
|
instanceSpec: 'string',
|
|
1079
1080
|
pricingCycle: 'string',
|
|
1081
|
+
tag: { 'type': 'array', 'itemType': CreateInstanceRequestTag },
|
|
1080
1082
|
token: 'string',
|
|
1081
1083
|
zoneId: 'string',
|
|
1082
1084
|
};
|
|
@@ -1091,12 +1093,14 @@ class CreateInstanceResponseBody extends $tea.Model {
|
|
|
1091
1093
|
return {
|
|
1092
1094
|
instanceId: 'InstanceId',
|
|
1093
1095
|
requestId: 'RequestId',
|
|
1096
|
+
tagStatus: 'TagStatus',
|
|
1094
1097
|
};
|
|
1095
1098
|
}
|
|
1096
1099
|
static types() {
|
|
1097
1100
|
return {
|
|
1098
1101
|
instanceId: 'string',
|
|
1099
1102
|
requestId: 'string',
|
|
1103
|
+
tagStatus: 'boolean',
|
|
1100
1104
|
};
|
|
1101
1105
|
}
|
|
1102
1106
|
}
|
|
@@ -4195,6 +4199,7 @@ class DescribeApisRequest extends $tea.Model {
|
|
|
4195
4199
|
pageNumber: 'PageNumber',
|
|
4196
4200
|
pageSize: 'PageSize',
|
|
4197
4201
|
securityToken: 'SecurityToken',
|
|
4202
|
+
stageName: 'StageName',
|
|
4198
4203
|
tag: 'Tag',
|
|
4199
4204
|
unDeployed: 'UnDeployed',
|
|
4200
4205
|
visibility: 'Visibility',
|
|
@@ -4212,6 +4217,7 @@ class DescribeApisRequest extends $tea.Model {
|
|
|
4212
4217
|
pageNumber: 'number',
|
|
4213
4218
|
pageSize: 'number',
|
|
4214
4219
|
securityToken: 'string',
|
|
4220
|
+
stageName: 'string',
|
|
4215
4221
|
tag: { 'type': 'array', 'itemType': DescribeApisRequestTag },
|
|
4216
4222
|
unDeployed: 'boolean',
|
|
4217
4223
|
visibility: 'string',
|
|
@@ -5799,6 +5805,66 @@ class DescribeHistoryApisResponse extends $tea.Model {
|
|
|
5799
5805
|
}
|
|
5800
5806
|
}
|
|
5801
5807
|
exports.DescribeHistoryApisResponse = DescribeHistoryApisResponse;
|
|
5808
|
+
class DescribeImportOASTaskRequest extends $tea.Model {
|
|
5809
|
+
constructor(map) {
|
|
5810
|
+
super(map);
|
|
5811
|
+
}
|
|
5812
|
+
static names() {
|
|
5813
|
+
return {
|
|
5814
|
+
operationId: 'OperationId',
|
|
5815
|
+
securityToken: 'SecurityToken',
|
|
5816
|
+
};
|
|
5817
|
+
}
|
|
5818
|
+
static types() {
|
|
5819
|
+
return {
|
|
5820
|
+
operationId: 'string',
|
|
5821
|
+
securityToken: 'string',
|
|
5822
|
+
};
|
|
5823
|
+
}
|
|
5824
|
+
}
|
|
5825
|
+
exports.DescribeImportOASTaskRequest = DescribeImportOASTaskRequest;
|
|
5826
|
+
class DescribeImportOASTaskResponseBody extends $tea.Model {
|
|
5827
|
+
constructor(map) {
|
|
5828
|
+
super(map);
|
|
5829
|
+
}
|
|
5830
|
+
static names() {
|
|
5831
|
+
return {
|
|
5832
|
+
apiResults: 'ApiResults',
|
|
5833
|
+
modelResults: 'ModelResults',
|
|
5834
|
+
requestId: 'RequestId',
|
|
5835
|
+
taskStatus: 'TaskStatus',
|
|
5836
|
+
};
|
|
5837
|
+
}
|
|
5838
|
+
static types() {
|
|
5839
|
+
return {
|
|
5840
|
+
apiResults: DescribeImportOASTaskResponseBodyApiResults,
|
|
5841
|
+
modelResults: DescribeImportOASTaskResponseBodyModelResults,
|
|
5842
|
+
requestId: 'string',
|
|
5843
|
+
taskStatus: 'string',
|
|
5844
|
+
};
|
|
5845
|
+
}
|
|
5846
|
+
}
|
|
5847
|
+
exports.DescribeImportOASTaskResponseBody = DescribeImportOASTaskResponseBody;
|
|
5848
|
+
class DescribeImportOASTaskResponse extends $tea.Model {
|
|
5849
|
+
constructor(map) {
|
|
5850
|
+
super(map);
|
|
5851
|
+
}
|
|
5852
|
+
static names() {
|
|
5853
|
+
return {
|
|
5854
|
+
headers: 'headers',
|
|
5855
|
+
statusCode: 'statusCode',
|
|
5856
|
+
body: 'body',
|
|
5857
|
+
};
|
|
5858
|
+
}
|
|
5859
|
+
static types() {
|
|
5860
|
+
return {
|
|
5861
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5862
|
+
statusCode: 'number',
|
|
5863
|
+
body: DescribeImportOASTaskResponseBody,
|
|
5864
|
+
};
|
|
5865
|
+
}
|
|
5866
|
+
}
|
|
5867
|
+
exports.DescribeImportOASTaskResponse = DescribeImportOASTaskResponse;
|
|
5802
5868
|
class DescribeInstancesRequest extends $tea.Model {
|
|
5803
5869
|
constructor(map) {
|
|
5804
5870
|
super(map);
|
|
@@ -11007,6 +11073,24 @@ class CreateAppRequestTag extends $tea.Model {
|
|
|
11007
11073
|
}
|
|
11008
11074
|
}
|
|
11009
11075
|
exports.CreateAppRequestTag = CreateAppRequestTag;
|
|
11076
|
+
class CreateInstanceRequestTag extends $tea.Model {
|
|
11077
|
+
constructor(map) {
|
|
11078
|
+
super(map);
|
|
11079
|
+
}
|
|
11080
|
+
static names() {
|
|
11081
|
+
return {
|
|
11082
|
+
key: 'Key',
|
|
11083
|
+
value: 'Value',
|
|
11084
|
+
};
|
|
11085
|
+
}
|
|
11086
|
+
static types() {
|
|
11087
|
+
return {
|
|
11088
|
+
key: 'string',
|
|
11089
|
+
value: 'string',
|
|
11090
|
+
};
|
|
11091
|
+
}
|
|
11092
|
+
}
|
|
11093
|
+
exports.CreateInstanceRequestTag = CreateInstanceRequestTag;
|
|
11010
11094
|
class CreateIpControlRequestIpControlPolicys extends $tea.Model {
|
|
11011
11095
|
constructor(map) {
|
|
11012
11096
|
super(map);
|
|
@@ -13205,6 +13289,42 @@ class DescribeApisRequestTag extends $tea.Model {
|
|
|
13205
13289
|
}
|
|
13206
13290
|
}
|
|
13207
13291
|
exports.DescribeApisRequestTag = DescribeApisRequestTag;
|
|
13292
|
+
class DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfosDeployedInfo extends $tea.Model {
|
|
13293
|
+
constructor(map) {
|
|
13294
|
+
super(map);
|
|
13295
|
+
}
|
|
13296
|
+
static names() {
|
|
13297
|
+
return {
|
|
13298
|
+
deployedStatus: 'DeployedStatus',
|
|
13299
|
+
effectiveVersion: 'EffectiveVersion',
|
|
13300
|
+
stageName: 'StageName',
|
|
13301
|
+
};
|
|
13302
|
+
}
|
|
13303
|
+
static types() {
|
|
13304
|
+
return {
|
|
13305
|
+
deployedStatus: 'string',
|
|
13306
|
+
effectiveVersion: 'string',
|
|
13307
|
+
stageName: 'string',
|
|
13308
|
+
};
|
|
13309
|
+
}
|
|
13310
|
+
}
|
|
13311
|
+
exports.DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfosDeployedInfo = DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfosDeployedInfo;
|
|
13312
|
+
class DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfos extends $tea.Model {
|
|
13313
|
+
constructor(map) {
|
|
13314
|
+
super(map);
|
|
13315
|
+
}
|
|
13316
|
+
static names() {
|
|
13317
|
+
return {
|
|
13318
|
+
deployedInfo: 'DeployedInfo',
|
|
13319
|
+
};
|
|
13320
|
+
}
|
|
13321
|
+
static types() {
|
|
13322
|
+
return {
|
|
13323
|
+
deployedInfo: { 'type': 'array', 'itemType': DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfosDeployedInfo },
|
|
13324
|
+
};
|
|
13325
|
+
}
|
|
13326
|
+
}
|
|
13327
|
+
exports.DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfos = DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfos;
|
|
13208
13328
|
class DescribeApisResponseBodyApiSummarysApiSummary extends $tea.Model {
|
|
13209
13329
|
constructor(map) {
|
|
13210
13330
|
super(map);
|
|
@@ -13216,6 +13336,7 @@ class DescribeApisResponseBodyApiSummarysApiSummary extends $tea.Model {
|
|
|
13216
13336
|
apiName: 'ApiName',
|
|
13217
13337
|
apiPath: 'ApiPath',
|
|
13218
13338
|
createdTime: 'CreatedTime',
|
|
13339
|
+
deployedInfos: 'DeployedInfos',
|
|
13219
13340
|
description: 'Description',
|
|
13220
13341
|
groupId: 'GroupId',
|
|
13221
13342
|
groupName: 'GroupName',
|
|
@@ -13231,6 +13352,7 @@ class DescribeApisResponseBodyApiSummarysApiSummary extends $tea.Model {
|
|
|
13231
13352
|
apiName: 'string',
|
|
13232
13353
|
apiPath: 'string',
|
|
13233
13354
|
createdTime: 'string',
|
|
13355
|
+
deployedInfos: DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfos,
|
|
13234
13356
|
description: 'string',
|
|
13235
13357
|
groupId: 'string',
|
|
13236
13358
|
groupName: 'string',
|
|
@@ -14775,6 +14897,92 @@ class DescribeHistoryApisResponseBodyApiHisItems extends $tea.Model {
|
|
|
14775
14897
|
}
|
|
14776
14898
|
}
|
|
14777
14899
|
exports.DescribeHistoryApisResponseBodyApiHisItems = DescribeHistoryApisResponseBodyApiHisItems;
|
|
14900
|
+
class DescribeImportOASTaskResponseBodyApiResultsApiResult extends $tea.Model {
|
|
14901
|
+
constructor(map) {
|
|
14902
|
+
super(map);
|
|
14903
|
+
}
|
|
14904
|
+
static names() {
|
|
14905
|
+
return {
|
|
14906
|
+
apiId: 'ApiId',
|
|
14907
|
+
apiName: 'ApiName',
|
|
14908
|
+
description: 'Description',
|
|
14909
|
+
errorMessage: 'ErrorMessage',
|
|
14910
|
+
groupId: 'GroupId',
|
|
14911
|
+
method: 'Method',
|
|
14912
|
+
path: 'Path',
|
|
14913
|
+
updateStatus: 'UpdateStatus',
|
|
14914
|
+
};
|
|
14915
|
+
}
|
|
14916
|
+
static types() {
|
|
14917
|
+
return {
|
|
14918
|
+
apiId: 'string',
|
|
14919
|
+
apiName: 'string',
|
|
14920
|
+
description: 'string',
|
|
14921
|
+
errorMessage: 'string',
|
|
14922
|
+
groupId: 'string',
|
|
14923
|
+
method: 'string',
|
|
14924
|
+
path: 'string',
|
|
14925
|
+
updateStatus: 'string',
|
|
14926
|
+
};
|
|
14927
|
+
}
|
|
14928
|
+
}
|
|
14929
|
+
exports.DescribeImportOASTaskResponseBodyApiResultsApiResult = DescribeImportOASTaskResponseBodyApiResultsApiResult;
|
|
14930
|
+
class DescribeImportOASTaskResponseBodyApiResults extends $tea.Model {
|
|
14931
|
+
constructor(map) {
|
|
14932
|
+
super(map);
|
|
14933
|
+
}
|
|
14934
|
+
static names() {
|
|
14935
|
+
return {
|
|
14936
|
+
apiResult: 'ApiResult',
|
|
14937
|
+
};
|
|
14938
|
+
}
|
|
14939
|
+
static types() {
|
|
14940
|
+
return {
|
|
14941
|
+
apiResult: { 'type': 'array', 'itemType': DescribeImportOASTaskResponseBodyApiResultsApiResult },
|
|
14942
|
+
};
|
|
14943
|
+
}
|
|
14944
|
+
}
|
|
14945
|
+
exports.DescribeImportOASTaskResponseBodyApiResults = DescribeImportOASTaskResponseBodyApiResults;
|
|
14946
|
+
class DescribeImportOASTaskResponseBodyModelResultsModelResult extends $tea.Model {
|
|
14947
|
+
constructor(map) {
|
|
14948
|
+
super(map);
|
|
14949
|
+
}
|
|
14950
|
+
static names() {
|
|
14951
|
+
return {
|
|
14952
|
+
errorMessage: 'ErrorMessage',
|
|
14953
|
+
groupId: 'GroupId',
|
|
14954
|
+
modelId: 'ModelId',
|
|
14955
|
+
modelName: 'ModelName',
|
|
14956
|
+
updateStatus: 'UpdateStatus',
|
|
14957
|
+
};
|
|
14958
|
+
}
|
|
14959
|
+
static types() {
|
|
14960
|
+
return {
|
|
14961
|
+
errorMessage: 'string',
|
|
14962
|
+
groupId: 'string',
|
|
14963
|
+
modelId: 'string',
|
|
14964
|
+
modelName: 'string',
|
|
14965
|
+
updateStatus: 'string',
|
|
14966
|
+
};
|
|
14967
|
+
}
|
|
14968
|
+
}
|
|
14969
|
+
exports.DescribeImportOASTaskResponseBodyModelResultsModelResult = DescribeImportOASTaskResponseBodyModelResultsModelResult;
|
|
14970
|
+
class DescribeImportOASTaskResponseBodyModelResults extends $tea.Model {
|
|
14971
|
+
constructor(map) {
|
|
14972
|
+
super(map);
|
|
14973
|
+
}
|
|
14974
|
+
static names() {
|
|
14975
|
+
return {
|
|
14976
|
+
modelResult: 'ModelResult',
|
|
14977
|
+
};
|
|
14978
|
+
}
|
|
14979
|
+
static types() {
|
|
14980
|
+
return {
|
|
14981
|
+
modelResult: { 'type': 'array', 'itemType': DescribeImportOASTaskResponseBodyModelResultsModelResult },
|
|
14982
|
+
};
|
|
14983
|
+
}
|
|
14984
|
+
}
|
|
14985
|
+
exports.DescribeImportOASTaskResponseBodyModelResults = DescribeImportOASTaskResponseBodyModelResults;
|
|
14778
14986
|
class DescribeInstancesRequestTag extends $tea.Model {
|
|
14779
14987
|
constructor(map) {
|
|
14780
14988
|
super(map);
|
|
@@ -16769,6 +16977,13 @@ class Client extends openapi_client_1.default {
|
|
|
16769
16977
|
}
|
|
16770
16978
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
16771
16979
|
}
|
|
16980
|
+
/**
|
|
16981
|
+
* Unpublishes a specified API from a specified runtime environment.
|
|
16982
|
+
*
|
|
16983
|
+
* @param request AbolishApiRequest
|
|
16984
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16985
|
+
* @return AbolishApiResponse
|
|
16986
|
+
*/
|
|
16772
16987
|
async abolishApiWithOptions(request, runtime) {
|
|
16773
16988
|
tea_util_1.default.validateModel(request);
|
|
16774
16989
|
let query = {};
|
|
@@ -16800,6 +17015,12 @@ class Client extends openapi_client_1.default {
|
|
|
16800
17015
|
});
|
|
16801
17016
|
return $tea.cast(await this.callApi(params, req, runtime), new AbolishApiResponse({}));
|
|
16802
17017
|
}
|
|
17018
|
+
/**
|
|
17019
|
+
* Unpublishes a specified API from a specified runtime environment.
|
|
17020
|
+
*
|
|
17021
|
+
* @param request AbolishApiRequest
|
|
17022
|
+
* @return AbolishApiResponse
|
|
17023
|
+
*/
|
|
16803
17024
|
async abolishApi(request) {
|
|
16804
17025
|
let runtime = new $Util.RuntimeOptions({});
|
|
16805
17026
|
return await this.abolishApiWithOptions(request, runtime);
|
|
@@ -16836,6 +17057,16 @@ class Client extends openapi_client_1.default {
|
|
|
16836
17057
|
let runtime = new $Util.RuntimeOptions({});
|
|
16837
17058
|
return await this.addAccessControlListEntryWithOptions(request, runtime);
|
|
16838
17059
|
}
|
|
17060
|
+
/**
|
|
17061
|
+
* When you call this operation, note that:
|
|
17062
|
+
* * This operation is intended for API providers.
|
|
17063
|
+
* * An added policy immediately takes effect on all APIs that are bound to the access control list (ACL).
|
|
17064
|
+
* * A maximum of 100 policies can be added to an ACL.
|
|
17065
|
+
*
|
|
17066
|
+
* @param request AddIpControlPolicyItemRequest
|
|
17067
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17068
|
+
* @return AddIpControlPolicyItemResponse
|
|
17069
|
+
*/
|
|
16839
17070
|
async addIpControlPolicyItemWithOptions(request, runtime) {
|
|
16840
17071
|
tea_util_1.default.validateModel(request);
|
|
16841
17072
|
let query = {};
|
|
@@ -16867,10 +17098,28 @@ class Client extends openapi_client_1.default {
|
|
|
16867
17098
|
});
|
|
16868
17099
|
return $tea.cast(await this.callApi(params, req, runtime), new AddIpControlPolicyItemResponse({}));
|
|
16869
17100
|
}
|
|
17101
|
+
/**
|
|
17102
|
+
* When you call this operation, note that:
|
|
17103
|
+
* * This operation is intended for API providers.
|
|
17104
|
+
* * An added policy immediately takes effect on all APIs that are bound to the access control list (ACL).
|
|
17105
|
+
* * A maximum of 100 policies can be added to an ACL.
|
|
17106
|
+
*
|
|
17107
|
+
* @param request AddIpControlPolicyItemRequest
|
|
17108
|
+
* @return AddIpControlPolicyItemResponse
|
|
17109
|
+
*/
|
|
16870
17110
|
async addIpControlPolicyItem(request) {
|
|
16871
17111
|
let runtime = new $Util.RuntimeOptions({});
|
|
16872
17112
|
return await this.addIpControlPolicyItemWithOptions(request, runtime);
|
|
16873
17113
|
}
|
|
17114
|
+
/**
|
|
17115
|
+
* * This API is intended for API providers.
|
|
17116
|
+
* * If the input SpecialKey already exists, the previous configuration is overwritten. Use caution when calling this operation.
|
|
17117
|
+
* * 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.
|
|
17118
|
+
*
|
|
17119
|
+
* @param request AddTrafficSpecialControlRequest
|
|
17120
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17121
|
+
* @return AddTrafficSpecialControlResponse
|
|
17122
|
+
*/
|
|
16874
17123
|
async addTrafficSpecialControlWithOptions(request, runtime) {
|
|
16875
17124
|
tea_util_1.default.validateModel(request);
|
|
16876
17125
|
let query = {};
|
|
@@ -16905,10 +17154,28 @@ class Client extends openapi_client_1.default {
|
|
|
16905
17154
|
});
|
|
16906
17155
|
return $tea.cast(await this.callApi(params, req, runtime), new AddTrafficSpecialControlResponse({}));
|
|
16907
17156
|
}
|
|
17157
|
+
/**
|
|
17158
|
+
* * This API is intended for API providers.
|
|
17159
|
+
* * If the input SpecialKey already exists, the previous configuration is overwritten. Use caution when calling this operation.
|
|
17160
|
+
* * 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.
|
|
17161
|
+
*
|
|
17162
|
+
* @param request AddTrafficSpecialControlRequest
|
|
17163
|
+
* @return AddTrafficSpecialControlResponse
|
|
17164
|
+
*/
|
|
16908
17165
|
async addTrafficSpecialControl(request) {
|
|
16909
17166
|
let runtime = new $Util.RuntimeOptions({});
|
|
16910
17167
|
return await this.addTrafficSpecialControlWithOptions(request, runtime);
|
|
16911
17168
|
}
|
|
17169
|
+
/**
|
|
17170
|
+
* * This operation is intended for API providers.
|
|
17171
|
+
* * You can only bind plug-ins to published APIs.
|
|
17172
|
+
* * The plug-in takes effect immediately after it is bound to an API.
|
|
17173
|
+
* * If you bind a different plug-in to an API, this plug-in takes effect immediately.
|
|
17174
|
+
*
|
|
17175
|
+
* @param request AttachPluginRequest
|
|
17176
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17177
|
+
* @return AttachPluginResponse
|
|
17178
|
+
*/
|
|
16912
17179
|
async attachPluginWithOptions(request, runtime) {
|
|
16913
17180
|
tea_util_1.default.validateModel(request);
|
|
16914
17181
|
let query = {};
|
|
@@ -16946,6 +17213,15 @@ class Client extends openapi_client_1.default {
|
|
|
16946
17213
|
});
|
|
16947
17214
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachPluginResponse({}));
|
|
16948
17215
|
}
|
|
17216
|
+
/**
|
|
17217
|
+
* * This operation is intended for API providers.
|
|
17218
|
+
* * You can only bind plug-ins to published APIs.
|
|
17219
|
+
* * The plug-in takes effect immediately after it is bound to an API.
|
|
17220
|
+
* * If you bind a different plug-in to an API, this plug-in takes effect immediately.
|
|
17221
|
+
*
|
|
17222
|
+
* @param request AttachPluginRequest
|
|
17223
|
+
* @return AttachPluginResponse
|
|
17224
|
+
*/
|
|
16949
17225
|
async attachPlugin(request) {
|
|
16950
17226
|
let runtime = new $Util.RuntimeOptions({});
|
|
16951
17227
|
return await this.attachPluginWithOptions(request, runtime);
|
|
@@ -17046,6 +17322,16 @@ class Client extends openapi_client_1.default {
|
|
|
17046
17322
|
let runtime = new $Util.RuntimeOptions({});
|
|
17047
17323
|
return await this.createAccessControlListWithOptions(request, runtime);
|
|
17048
17324
|
}
|
|
17325
|
+
/**
|
|
17326
|
+
* * This operation is intended for API providers.
|
|
17327
|
+
* * The name of each API within the same group must be unique.
|
|
17328
|
+
* * Each request path within the same group must be unique.
|
|
17329
|
+
* * The QPS limit on this operation is 50 per user.
|
|
17330
|
+
*
|
|
17331
|
+
* @param request CreateApiRequest
|
|
17332
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17333
|
+
* @return CreateApiResponse
|
|
17334
|
+
*/
|
|
17049
17335
|
async createApiWithOptions(request, runtime) {
|
|
17050
17336
|
tea_util_1.default.validateModel(request);
|
|
17051
17337
|
let query = {};
|
|
@@ -17146,10 +17432,32 @@ class Client extends openapi_client_1.default {
|
|
|
17146
17432
|
});
|
|
17147
17433
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateApiResponse({}));
|
|
17148
17434
|
}
|
|
17435
|
+
/**
|
|
17436
|
+
* * This operation is intended for API providers.
|
|
17437
|
+
* * The name of each API within the same group must be unique.
|
|
17438
|
+
* * Each request path within the same group must be unique.
|
|
17439
|
+
* * The QPS limit on this operation is 50 per user.
|
|
17440
|
+
*
|
|
17441
|
+
* @param request CreateApiRequest
|
|
17442
|
+
* @return CreateApiResponse
|
|
17443
|
+
*/
|
|
17149
17444
|
async createApi(request) {
|
|
17150
17445
|
let runtime = new $Util.RuntimeOptions({});
|
|
17151
17446
|
return await this.createApiWithOptions(request, runtime);
|
|
17152
17447
|
}
|
|
17448
|
+
/**
|
|
17449
|
+
* You can call this operation to create an API group. You must create an API group before you create an API. An API group is a basic attribute of an API.
|
|
17450
|
+
* * This operation is intended for API providers.
|
|
17451
|
+
* * Each user can create a maximum of 100 API groups in a region.
|
|
17452
|
+
* * A second-level domain name is automatically allocated to the API group for testing purposes.
|
|
17453
|
+
* * An API group has a region attribute. After you create an API and select a group for the API, the region is also selected. We recommend that you select the same region to which your backend services belong to reduce network latency.
|
|
17454
|
+
* * After you create an API group, you can bind a custom domain name to the group.
|
|
17455
|
+
* * The QPS limit on this operation is 50 per user.
|
|
17456
|
+
*
|
|
17457
|
+
* @param request CreateApiGroupRequest
|
|
17458
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17459
|
+
* @return CreateApiGroupResponse
|
|
17460
|
+
*/
|
|
17153
17461
|
async createApiGroupWithOptions(request, runtime) {
|
|
17154
17462
|
tea_util_1.default.validateModel(request);
|
|
17155
17463
|
let query = {};
|
|
@@ -17187,10 +17495,29 @@ class Client extends openapi_client_1.default {
|
|
|
17187
17495
|
});
|
|
17188
17496
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateApiGroupResponse({}));
|
|
17189
17497
|
}
|
|
17498
|
+
/**
|
|
17499
|
+
* You can call this operation to create an API group. You must create an API group before you create an API. An API group is a basic attribute of an API.
|
|
17500
|
+
* * This operation is intended for API providers.
|
|
17501
|
+
* * Each user can create a maximum of 100 API groups in a region.
|
|
17502
|
+
* * A second-level domain name is automatically allocated to the API group for testing purposes.
|
|
17503
|
+
* * An API group has a region attribute. After you create an API and select a group for the API, the region is also selected. We recommend that you select the same region to which your backend services belong to reduce network latency.
|
|
17504
|
+
* * After you create an API group, you can bind a custom domain name to the group.
|
|
17505
|
+
* * The QPS limit on this operation is 50 per user.
|
|
17506
|
+
*
|
|
17507
|
+
* @param request CreateApiGroupRequest
|
|
17508
|
+
* @return CreateApiGroupResponse
|
|
17509
|
+
*/
|
|
17190
17510
|
async createApiGroup(request) {
|
|
17191
17511
|
let runtime = new $Util.RuntimeOptions({});
|
|
17192
17512
|
return await this.createApiGroupWithOptions(request, runtime);
|
|
17193
17513
|
}
|
|
17514
|
+
/**
|
|
17515
|
+
* * This operation is intended for API providers.
|
|
17516
|
+
*
|
|
17517
|
+
* @param request CreateApiStageVariableRequest
|
|
17518
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17519
|
+
* @return CreateApiStageVariableResponse
|
|
17520
|
+
*/
|
|
17194
17521
|
async createApiStageVariableWithOptions(request, runtime) {
|
|
17195
17522
|
tea_util_1.default.validateModel(request);
|
|
17196
17523
|
let query = {};
|
|
@@ -17231,10 +17558,28 @@ class Client extends openapi_client_1.default {
|
|
|
17231
17558
|
});
|
|
17232
17559
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateApiStageVariableResponse({}));
|
|
17233
17560
|
}
|
|
17561
|
+
/**
|
|
17562
|
+
* * This operation is intended for API providers.
|
|
17563
|
+
*
|
|
17564
|
+
* @param request CreateApiStageVariableRequest
|
|
17565
|
+
* @return CreateApiStageVariableResponse
|
|
17566
|
+
*/
|
|
17234
17567
|
async createApiStageVariable(request) {
|
|
17235
17568
|
let runtime = new $Util.RuntimeOptions({});
|
|
17236
17569
|
return await this.createApiStageVariableWithOptions(request, runtime);
|
|
17237
17570
|
}
|
|
17571
|
+
/**
|
|
17572
|
+
* * This operation is intended for API callers.
|
|
17573
|
+
* * Each application has a key-secret pair which is used for identity verification when calling an API.
|
|
17574
|
+
* * An application must be authorized to call an API.
|
|
17575
|
+
* * Each application has only one key-secret pair which can be reset if it is leaked.
|
|
17576
|
+
* * A maximum of 1,000 applications can be created for each Apsara Stack tenant account.
|
|
17577
|
+
* * The QPS limit on this operation is 50 per user.
|
|
17578
|
+
*
|
|
17579
|
+
* @param request CreateAppRequest
|
|
17580
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17581
|
+
* @return CreateAppResponse
|
|
17582
|
+
*/
|
|
17238
17583
|
async createAppWithOptions(request, runtime) {
|
|
17239
17584
|
tea_util_1.default.validateModel(request);
|
|
17240
17585
|
let query = {};
|
|
@@ -17278,6 +17623,17 @@ class Client extends openapi_client_1.default {
|
|
|
17278
17623
|
});
|
|
17279
17624
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAppResponse({}));
|
|
17280
17625
|
}
|
|
17626
|
+
/**
|
|
17627
|
+
* * This operation is intended for API callers.
|
|
17628
|
+
* * Each application has a key-secret pair which is used for identity verification when calling an API.
|
|
17629
|
+
* * An application must be authorized to call an API.
|
|
17630
|
+
* * Each application has only one key-secret pair which can be reset if it is leaked.
|
|
17631
|
+
* * A maximum of 1,000 applications can be created for each Apsara Stack tenant account.
|
|
17632
|
+
* * The QPS limit on this operation is 50 per user.
|
|
17633
|
+
*
|
|
17634
|
+
* @param request CreateAppRequest
|
|
17635
|
+
* @return CreateAppResponse
|
|
17636
|
+
*/
|
|
17281
17637
|
async createApp(request) {
|
|
17282
17638
|
let runtime = new $Util.RuntimeOptions({});
|
|
17283
17639
|
return await this.createAppWithOptions(request, runtime);
|
|
@@ -17455,6 +17811,9 @@ class Client extends openapi_client_1.default {
|
|
|
17455
17811
|
if (!tea_util_1.default.isUnset(request.pricingCycle)) {
|
|
17456
17812
|
query["PricingCycle"] = request.pricingCycle;
|
|
17457
17813
|
}
|
|
17814
|
+
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
17815
|
+
query["Tag"] = request.tag;
|
|
17816
|
+
}
|
|
17458
17817
|
if (!tea_util_1.default.isUnset(request.token)) {
|
|
17459
17818
|
query["Token"] = request.token;
|
|
17460
17819
|
}
|
|
@@ -17510,6 +17869,16 @@ class Client extends openapi_client_1.default {
|
|
|
17510
17869
|
let runtime = new $Util.RuntimeOptions({});
|
|
17511
17870
|
return await this.createIntranetDomainWithOptions(request, runtime);
|
|
17512
17871
|
}
|
|
17872
|
+
/**
|
|
17873
|
+
* * This operation is intended for API providers.
|
|
17874
|
+
* * 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.
|
|
17875
|
+
* * You can add policies to an ACL when you create the ACL.
|
|
17876
|
+
* * If an ACL does not have any policy, the ACL is ineffective.
|
|
17877
|
+
*
|
|
17878
|
+
* @param request CreateIpControlRequest
|
|
17879
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17880
|
+
* @return CreateIpControlResponse
|
|
17881
|
+
*/
|
|
17513
17882
|
async createIpControlWithOptions(request, runtime) {
|
|
17514
17883
|
tea_util_1.default.validateModel(request);
|
|
17515
17884
|
let query = {};
|
|
@@ -17544,6 +17913,15 @@ class Client extends openapi_client_1.default {
|
|
|
17544
17913
|
});
|
|
17545
17914
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateIpControlResponse({}));
|
|
17546
17915
|
}
|
|
17916
|
+
/**
|
|
17917
|
+
* * This operation is intended for API providers.
|
|
17918
|
+
* * 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.
|
|
17919
|
+
* * You can add policies to an ACL when you create the ACL.
|
|
17920
|
+
* * If an ACL does not have any policy, the ACL is ineffective.
|
|
17921
|
+
*
|
|
17922
|
+
* @param request CreateIpControlRequest
|
|
17923
|
+
* @return CreateIpControlResponse
|
|
17924
|
+
*/
|
|
17547
17925
|
async createIpControl(request) {
|
|
17548
17926
|
let runtime = new $Util.RuntimeOptions({});
|
|
17549
17927
|
return await this.createIpControlWithOptions(request, runtime);
|
|
@@ -17583,6 +17961,14 @@ class Client extends openapi_client_1.default {
|
|
|
17583
17961
|
let runtime = new $Util.RuntimeOptions({});
|
|
17584
17962
|
return await this.createLogConfigWithOptions(request, runtime);
|
|
17585
17963
|
}
|
|
17964
|
+
/**
|
|
17965
|
+
* * For more information about the model definition, see [JSON Schema Draft 4](https://tools.ietf.org/html/draft-zyp-json-schema-04?spm=a2c4g.11186623.2.10.2e977ff7p4BpQd).
|
|
17966
|
+
* * JSON Schema supports only element attributes of the Object type.
|
|
17967
|
+
*
|
|
17968
|
+
* @param request CreateModelRequest
|
|
17969
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17970
|
+
* @return CreateModelResponse
|
|
17971
|
+
*/
|
|
17586
17972
|
async createModelWithOptions(request, runtime) {
|
|
17587
17973
|
tea_util_1.default.validateModel(request);
|
|
17588
17974
|
let query = {};
|
|
@@ -17614,6 +18000,13 @@ class Client extends openapi_client_1.default {
|
|
|
17614
18000
|
});
|
|
17615
18001
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateModelResponse({}));
|
|
17616
18002
|
}
|
|
18003
|
+
/**
|
|
18004
|
+
* * For more information about the model definition, see [JSON Schema Draft 4](https://tools.ietf.org/html/draft-zyp-json-schema-04?spm=a2c4g.11186623.2.10.2e977ff7p4BpQd).
|
|
18005
|
+
* * JSON Schema supports only element attributes of the Object type.
|
|
18006
|
+
*
|
|
18007
|
+
* @param request CreateModelRequest
|
|
18008
|
+
* @return CreateModelResponse
|
|
18009
|
+
*/
|
|
17617
18010
|
async createModel(request) {
|
|
17618
18011
|
let runtime = new $Util.RuntimeOptions({});
|
|
17619
18012
|
return await this.createModelWithOptions(request, runtime);
|
|
@@ -17653,6 +18046,16 @@ class Client extends openapi_client_1.default {
|
|
|
17653
18046
|
let runtime = new $Util.RuntimeOptions({});
|
|
17654
18047
|
return await this.createMonitorGroupWithOptions(request, runtime);
|
|
17655
18048
|
}
|
|
18049
|
+
/**
|
|
18050
|
+
* * This operation is intended for API providers.
|
|
18051
|
+
* * The number of plug-ins of the same type that each user can create is limited. Different limits apply to different plug-in types.
|
|
18052
|
+
* * The plug-in definitions for advanced features are restricted.
|
|
18053
|
+
* * Plug-ins must be bound to APIs to take effect. After a plug-in is bound, it takes effect on that API immediately.
|
|
18054
|
+
*
|
|
18055
|
+
* @param request CreatePluginRequest
|
|
18056
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18057
|
+
* @return CreatePluginResponse
|
|
18058
|
+
*/
|
|
17656
18059
|
async createPluginWithOptions(request, runtime) {
|
|
17657
18060
|
tea_util_1.default.validateModel(request);
|
|
17658
18061
|
let query = {};
|
|
@@ -17690,10 +18093,29 @@ class Client extends openapi_client_1.default {
|
|
|
17690
18093
|
});
|
|
17691
18094
|
return $tea.cast(await this.callApi(params, req, runtime), new CreatePluginResponse({}));
|
|
17692
18095
|
}
|
|
18096
|
+
/**
|
|
18097
|
+
* * This operation is intended for API providers.
|
|
18098
|
+
* * The number of plug-ins of the same type that each user can create is limited. Different limits apply to different plug-in types.
|
|
18099
|
+
* * The plug-in definitions for advanced features are restricted.
|
|
18100
|
+
* * Plug-ins must be bound to APIs to take effect. After a plug-in is bound, it takes effect on that API immediately.
|
|
18101
|
+
*
|
|
18102
|
+
* @param request CreatePluginRequest
|
|
18103
|
+
* @return CreatePluginResponse
|
|
18104
|
+
*/
|
|
17693
18105
|
async createPlugin(request) {
|
|
17694
18106
|
let runtime = new $Util.RuntimeOptions({});
|
|
17695
18107
|
return await this.createPluginWithOptions(request, runtime);
|
|
17696
18108
|
}
|
|
18109
|
+
/**
|
|
18110
|
+
* * This API is intended for API providers.
|
|
18111
|
+
* * The API operation only creates a key policy. You must call the binding operation to bind the key to an API.
|
|
18112
|
+
* * 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.
|
|
18113
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18114
|
+
*
|
|
18115
|
+
* @param request CreateSignatureRequest
|
|
18116
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18117
|
+
* @return CreateSignatureResponse
|
|
18118
|
+
*/
|
|
17697
18119
|
async createSignatureWithOptions(request, runtime) {
|
|
17698
18120
|
tea_util_1.default.validateModel(request);
|
|
17699
18121
|
let query = {};
|
|
@@ -17725,10 +18147,28 @@ class Client extends openapi_client_1.default {
|
|
|
17725
18147
|
});
|
|
17726
18148
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateSignatureResponse({}));
|
|
17727
18149
|
}
|
|
18150
|
+
/**
|
|
18151
|
+
* * This API is intended for API providers.
|
|
18152
|
+
* * The API operation only creates a key policy. You must call the binding operation to bind the key to an API.
|
|
18153
|
+
* * 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.
|
|
18154
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18155
|
+
*
|
|
18156
|
+
* @param request CreateSignatureRequest
|
|
18157
|
+
* @return CreateSignatureResponse
|
|
18158
|
+
*/
|
|
17728
18159
|
async createSignature(request) {
|
|
17729
18160
|
let runtime = new $Util.RuntimeOptions({});
|
|
17730
18161
|
return await this.createSignatureWithOptions(request, runtime);
|
|
17731
18162
|
}
|
|
18163
|
+
/**
|
|
18164
|
+
* * This API is intended for API providers.
|
|
18165
|
+
* * 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.
|
|
18166
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18167
|
+
*
|
|
18168
|
+
* @param request CreateTrafficControlRequest
|
|
18169
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18170
|
+
* @return CreateTrafficControlResponse
|
|
18171
|
+
*/
|
|
17732
18172
|
async createTrafficControlWithOptions(request, runtime) {
|
|
17733
18173
|
tea_util_1.default.validateModel(request);
|
|
17734
18174
|
let query = {};
|
|
@@ -17769,6 +18209,14 @@ class Client extends openapi_client_1.default {
|
|
|
17769
18209
|
});
|
|
17770
18210
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateTrafficControlResponse({}));
|
|
17771
18211
|
}
|
|
18212
|
+
/**
|
|
18213
|
+
* * This API is intended for API providers.
|
|
18214
|
+
* * 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.
|
|
18215
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18216
|
+
*
|
|
18217
|
+
* @param request CreateTrafficControlRequest
|
|
18218
|
+
* @return CreateTrafficControlResponse
|
|
18219
|
+
*/
|
|
17772
18220
|
async createTrafficControl(request) {
|
|
17773
18221
|
let runtime = new $Util.RuntimeOptions({});
|
|
17774
18222
|
return await this.createTrafficControlWithOptions(request, runtime);
|
|
@@ -17802,6 +18250,13 @@ class Client extends openapi_client_1.default {
|
|
|
17802
18250
|
let runtime = new $Util.RuntimeOptions({});
|
|
17803
18251
|
return await this.deleteAccessControlListWithOptions(request, runtime);
|
|
17804
18252
|
}
|
|
18253
|
+
/**
|
|
18254
|
+
* * This API is intended for API providers.
|
|
18255
|
+
*
|
|
18256
|
+
* @param request DeleteAllTrafficSpecialControlRequest
|
|
18257
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18258
|
+
* @return DeleteAllTrafficSpecialControlResponse
|
|
18259
|
+
*/
|
|
17805
18260
|
async deleteAllTrafficSpecialControlWithOptions(request, runtime) {
|
|
17806
18261
|
tea_util_1.default.validateModel(request);
|
|
17807
18262
|
let query = {};
|
|
@@ -17827,10 +18282,25 @@ class Client extends openapi_client_1.default {
|
|
|
17827
18282
|
});
|
|
17828
18283
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAllTrafficSpecialControlResponse({}));
|
|
17829
18284
|
}
|
|
18285
|
+
/**
|
|
18286
|
+
* * This API is intended for API providers.
|
|
18287
|
+
*
|
|
18288
|
+
* @param request DeleteAllTrafficSpecialControlRequest
|
|
18289
|
+
* @return DeleteAllTrafficSpecialControlResponse
|
|
18290
|
+
*/
|
|
17830
18291
|
async deleteAllTrafficSpecialControl(request) {
|
|
17831
18292
|
let runtime = new $Util.RuntimeOptions({});
|
|
17832
18293
|
return await this.deleteAllTrafficSpecialControlWithOptions(request, runtime);
|
|
17833
18294
|
}
|
|
18295
|
+
/**
|
|
18296
|
+
* * This operation is intended for API providers and cannot be undone after it is complete.
|
|
18297
|
+
* * An API that is running in the runtime environment must be unpublished before you can delete the API.****
|
|
18298
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18299
|
+
*
|
|
18300
|
+
* @param request DeleteApiRequest
|
|
18301
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18302
|
+
* @return DeleteApiResponse
|
|
18303
|
+
*/
|
|
17834
18304
|
async deleteApiWithOptions(request, runtime) {
|
|
17835
18305
|
tea_util_1.default.validateModel(request);
|
|
17836
18306
|
let query = {};
|
|
@@ -17859,10 +18329,29 @@ class Client extends openapi_client_1.default {
|
|
|
17859
18329
|
});
|
|
17860
18330
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteApiResponse({}));
|
|
17861
18331
|
}
|
|
18332
|
+
/**
|
|
18333
|
+
* * This operation is intended for API providers and cannot be undone after it is complete.
|
|
18334
|
+
* * An API that is running in the runtime environment must be unpublished before you can delete the API.****
|
|
18335
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18336
|
+
*
|
|
18337
|
+
* @param request DeleteApiRequest
|
|
18338
|
+
* @return DeleteApiResponse
|
|
18339
|
+
*/
|
|
17862
18340
|
async deleteApi(request) {
|
|
17863
18341
|
let runtime = new $Util.RuntimeOptions({});
|
|
17864
18342
|
return await this.deleteApiWithOptions(request, runtime);
|
|
17865
18343
|
}
|
|
18344
|
+
/**
|
|
18345
|
+
* * This operation is intended for API providers.
|
|
18346
|
+
* * An API group that contains APIs cannot be deleted. To delete the API group, you must first delete its APIs.
|
|
18347
|
+
* * After an API group is deleted, the second-level domain name bound to the API group is automatically invalidated.
|
|
18348
|
+
* * If the specified API group does not exist, a success response is returned.
|
|
18349
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18350
|
+
*
|
|
18351
|
+
* @param request DeleteApiGroupRequest
|
|
18352
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18353
|
+
* @return DeleteApiGroupResponse
|
|
18354
|
+
*/
|
|
17866
18355
|
async deleteApiGroupWithOptions(request, runtime) {
|
|
17867
18356
|
tea_util_1.default.validateModel(request);
|
|
17868
18357
|
let query = {};
|
|
@@ -17891,6 +18380,16 @@ class Client extends openapi_client_1.default {
|
|
|
17891
18380
|
});
|
|
17892
18381
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteApiGroupResponse({}));
|
|
17893
18382
|
}
|
|
18383
|
+
/**
|
|
18384
|
+
* * This operation is intended for API providers.
|
|
18385
|
+
* * An API group that contains APIs cannot be deleted. To delete the API group, you must first delete its APIs.
|
|
18386
|
+
* * After an API group is deleted, the second-level domain name bound to the API group is automatically invalidated.
|
|
18387
|
+
* * If the specified API group does not exist, a success response is returned.
|
|
18388
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18389
|
+
*
|
|
18390
|
+
* @param request DeleteApiGroupRequest
|
|
18391
|
+
* @return DeleteApiGroupResponse
|
|
18392
|
+
*/
|
|
17894
18393
|
async deleteApiGroup(request) {
|
|
17895
18394
|
let runtime = new $Util.RuntimeOptions({});
|
|
17896
18395
|
return await this.deleteApiGroupWithOptions(request, runtime);
|
|
@@ -17930,6 +18429,15 @@ class Client extends openapi_client_1.default {
|
|
|
17930
18429
|
let runtime = new $Util.RuntimeOptions({});
|
|
17931
18430
|
return await this.deleteApiStageVariableWithOptions(request, runtime);
|
|
17932
18431
|
}
|
|
18432
|
+
/**
|
|
18433
|
+
* * This operation is intended for API callers.
|
|
18434
|
+
* * After an application is deleted, the application and its API authorization cannot be restored.
|
|
18435
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18436
|
+
*
|
|
18437
|
+
* @param request DeleteAppRequest
|
|
18438
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18439
|
+
* @return DeleteAppResponse
|
|
18440
|
+
*/
|
|
17933
18441
|
async deleteAppWithOptions(request, runtime) {
|
|
17934
18442
|
tea_util_1.default.validateModel(request);
|
|
17935
18443
|
let query = {};
|
|
@@ -17958,6 +18466,14 @@ class Client extends openapi_client_1.default {
|
|
|
17958
18466
|
});
|
|
17959
18467
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAppResponse({}));
|
|
17960
18468
|
}
|
|
18469
|
+
/**
|
|
18470
|
+
* * This operation is intended for API callers.
|
|
18471
|
+
* * After an application is deleted, the application and its API authorization cannot be restored.
|
|
18472
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18473
|
+
*
|
|
18474
|
+
* @param request DeleteAppRequest
|
|
18475
|
+
* @return DeleteAppResponse
|
|
18476
|
+
*/
|
|
17961
18477
|
async deleteApp(request) {
|
|
17962
18478
|
let runtime = new $Util.RuntimeOptions({});
|
|
17963
18479
|
return await this.deleteAppWithOptions(request, runtime);
|
|
@@ -18087,6 +18603,15 @@ class Client extends openapi_client_1.default {
|
|
|
18087
18603
|
let runtime = new $Util.RuntimeOptions({});
|
|
18088
18604
|
return await this.deleteDatasetItemWithOptions(request, runtime);
|
|
18089
18605
|
}
|
|
18606
|
+
/**
|
|
18607
|
+
* * This operation is intended for API providers.
|
|
18608
|
+
* * If the specified domain name does not exist, a successful response will still appear.
|
|
18609
|
+
* * Unbinding a domain name from an API group will affect access to the APIs in the group. Exercise caution when using this operation.
|
|
18610
|
+
*
|
|
18611
|
+
* @param request DeleteDomainRequest
|
|
18612
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18613
|
+
* @return DeleteDomainResponse
|
|
18614
|
+
*/
|
|
18090
18615
|
async deleteDomainWithOptions(request, runtime) {
|
|
18091
18616
|
tea_util_1.default.validateModel(request);
|
|
18092
18617
|
let query = {};
|
|
@@ -18115,6 +18640,14 @@ class Client extends openapi_client_1.default {
|
|
|
18115
18640
|
});
|
|
18116
18641
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteDomainResponse({}));
|
|
18117
18642
|
}
|
|
18643
|
+
/**
|
|
18644
|
+
* * This operation is intended for API providers.
|
|
18645
|
+
* * If the specified domain name does not exist, a successful response will still appear.
|
|
18646
|
+
* * Unbinding a domain name from an API group will affect access to the APIs in the group. Exercise caution when using this operation.
|
|
18647
|
+
*
|
|
18648
|
+
* @param request DeleteDomainRequest
|
|
18649
|
+
* @return DeleteDomainResponse
|
|
18650
|
+
*/
|
|
18118
18651
|
async deleteDomain(request) {
|
|
18119
18652
|
let runtime = new $Util.RuntimeOptions({});
|
|
18120
18653
|
return await this.deleteDomainWithOptions(request, runtime);
|
|
@@ -18183,6 +18716,15 @@ class Client extends openapi_client_1.default {
|
|
|
18183
18716
|
let runtime = new $Util.RuntimeOptions({});
|
|
18184
18717
|
return await this.deleteInstanceWithOptions(request, runtime);
|
|
18185
18718
|
}
|
|
18719
|
+
/**
|
|
18720
|
+
* * This operation is intended for API providers.
|
|
18721
|
+
* * 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.
|
|
18722
|
+
* * If you call this operation on an ACL that does not exist, a success message is returned.
|
|
18723
|
+
*
|
|
18724
|
+
* @param request DeleteIpControlRequest
|
|
18725
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18726
|
+
* @return DeleteIpControlResponse
|
|
18727
|
+
*/
|
|
18186
18728
|
async deleteIpControlWithOptions(request, runtime) {
|
|
18187
18729
|
tea_util_1.default.validateModel(request);
|
|
18188
18730
|
let query = {};
|
|
@@ -18208,6 +18750,14 @@ class Client extends openapi_client_1.default {
|
|
|
18208
18750
|
});
|
|
18209
18751
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteIpControlResponse({}));
|
|
18210
18752
|
}
|
|
18753
|
+
/**
|
|
18754
|
+
* * This operation is intended for API providers.
|
|
18755
|
+
* * 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.
|
|
18756
|
+
* * If you call this operation on an ACL that does not exist, a success message is returned.
|
|
18757
|
+
*
|
|
18758
|
+
* @param request DeleteIpControlRequest
|
|
18759
|
+
* @return DeleteIpControlResponse
|
|
18760
|
+
*/
|
|
18211
18761
|
async deleteIpControl(request) {
|
|
18212
18762
|
let runtime = new $Util.RuntimeOptions({});
|
|
18213
18763
|
return await this.deleteIpControlWithOptions(request, runtime);
|
|
@@ -18302,6 +18852,14 @@ class Client extends openapi_client_1.default {
|
|
|
18302
18852
|
let runtime = new $Util.RuntimeOptions({});
|
|
18303
18853
|
return await this.deleteMonitorGroupWithOptions(request, runtime);
|
|
18304
18854
|
}
|
|
18855
|
+
/**
|
|
18856
|
+
* * This operation is intended for API providers.
|
|
18857
|
+
* * You must first unbind the plug-in from the API. Otherwise, an error is reported when you delete the plug-in.
|
|
18858
|
+
*
|
|
18859
|
+
* @param request DeletePluginRequest
|
|
18860
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18861
|
+
* @return DeletePluginResponse
|
|
18862
|
+
*/
|
|
18305
18863
|
async deletePluginWithOptions(request, runtime) {
|
|
18306
18864
|
tea_util_1.default.validateModel(request);
|
|
18307
18865
|
let query = {};
|
|
@@ -18330,10 +18888,27 @@ class Client extends openapi_client_1.default {
|
|
|
18330
18888
|
});
|
|
18331
18889
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePluginResponse({}));
|
|
18332
18890
|
}
|
|
18891
|
+
/**
|
|
18892
|
+
* * This operation is intended for API providers.
|
|
18893
|
+
* * You must first unbind the plug-in from the API. Otherwise, an error is reported when you delete the plug-in.
|
|
18894
|
+
*
|
|
18895
|
+
* @param request DeletePluginRequest
|
|
18896
|
+
* @return DeletePluginResponse
|
|
18897
|
+
*/
|
|
18333
18898
|
async deletePlugin(request) {
|
|
18334
18899
|
let runtime = new $Util.RuntimeOptions({});
|
|
18335
18900
|
return await this.deletePluginWithOptions(request, runtime);
|
|
18336
18901
|
}
|
|
18902
|
+
/**
|
|
18903
|
+
* * This API is intended for API providers.
|
|
18904
|
+
* * This API operation deletes an existing backend signature key.
|
|
18905
|
+
* * You cannot delete a key that is bound to an API. To delete the key, you must unbind it first.
|
|
18906
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18907
|
+
*
|
|
18908
|
+
* @param request DeleteSignatureRequest
|
|
18909
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18910
|
+
* @return DeleteSignatureResponse
|
|
18911
|
+
*/
|
|
18337
18912
|
async deleteSignatureWithOptions(request, runtime) {
|
|
18338
18913
|
tea_util_1.default.validateModel(request);
|
|
18339
18914
|
let query = {};
|
|
@@ -18359,10 +18934,28 @@ class Client extends openapi_client_1.default {
|
|
|
18359
18934
|
});
|
|
18360
18935
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteSignatureResponse({}));
|
|
18361
18936
|
}
|
|
18937
|
+
/**
|
|
18938
|
+
* * This API is intended for API providers.
|
|
18939
|
+
* * This API operation deletes an existing backend signature key.
|
|
18940
|
+
* * You cannot delete a key that is bound to an API. To delete the key, you must unbind it first.
|
|
18941
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18942
|
+
*
|
|
18943
|
+
* @param request DeleteSignatureRequest
|
|
18944
|
+
* @return DeleteSignatureResponse
|
|
18945
|
+
*/
|
|
18362
18946
|
async deleteSignature(request) {
|
|
18363
18947
|
let runtime = new $Util.RuntimeOptions({});
|
|
18364
18948
|
return await this.deleteSignatureWithOptions(request, runtime);
|
|
18365
18949
|
}
|
|
18950
|
+
/**
|
|
18951
|
+
* * This API is intended for API providers.
|
|
18952
|
+
* * 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.
|
|
18953
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18954
|
+
*
|
|
18955
|
+
* @param request DeleteTrafficControlRequest
|
|
18956
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
18957
|
+
* @return DeleteTrafficControlResponse
|
|
18958
|
+
*/
|
|
18366
18959
|
async deleteTrafficControlWithOptions(request, runtime) {
|
|
18367
18960
|
tea_util_1.default.validateModel(request);
|
|
18368
18961
|
let query = {};
|
|
@@ -18388,10 +18981,26 @@ class Client extends openapi_client_1.default {
|
|
|
18388
18981
|
});
|
|
18389
18982
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTrafficControlResponse({}));
|
|
18390
18983
|
}
|
|
18984
|
+
/**
|
|
18985
|
+
* * This API is intended for API providers.
|
|
18986
|
+
* * 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.
|
|
18987
|
+
* * The QPS limit on this operation is 50 per user.
|
|
18988
|
+
*
|
|
18989
|
+
* @param request DeleteTrafficControlRequest
|
|
18990
|
+
* @return DeleteTrafficControlResponse
|
|
18991
|
+
*/
|
|
18391
18992
|
async deleteTrafficControl(request) {
|
|
18392
18993
|
let runtime = new $Util.RuntimeOptions({});
|
|
18393
18994
|
return await this.deleteTrafficControlWithOptions(request, runtime);
|
|
18394
18995
|
}
|
|
18996
|
+
/**
|
|
18997
|
+
* * This API is intended for API providers.
|
|
18998
|
+
* * You can obtain the input parameters required in this operation by calling other APIs.
|
|
18999
|
+
*
|
|
19000
|
+
* @param request DeleteTrafficSpecialControlRequest
|
|
19001
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19002
|
+
* @return DeleteTrafficSpecialControlResponse
|
|
19003
|
+
*/
|
|
18395
19004
|
async deleteTrafficSpecialControlWithOptions(request, runtime) {
|
|
18396
19005
|
tea_util_1.default.validateModel(request);
|
|
18397
19006
|
let query = {};
|
|
@@ -18423,10 +19032,26 @@ class Client extends openapi_client_1.default {
|
|
|
18423
19032
|
});
|
|
18424
19033
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteTrafficSpecialControlResponse({}));
|
|
18425
19034
|
}
|
|
19035
|
+
/**
|
|
19036
|
+
* * This API is intended for API providers.
|
|
19037
|
+
* * You can obtain the input parameters required in this operation by calling other APIs.
|
|
19038
|
+
*
|
|
19039
|
+
* @param request DeleteTrafficSpecialControlRequest
|
|
19040
|
+
* @return DeleteTrafficSpecialControlResponse
|
|
19041
|
+
*/
|
|
18426
19042
|
async deleteTrafficSpecialControl(request) {
|
|
18427
19043
|
let runtime = new $Util.RuntimeOptions({});
|
|
18428
19044
|
return await this.deleteTrafficSpecialControlWithOptions(request, runtime);
|
|
18429
19045
|
}
|
|
19046
|
+
/**
|
|
19047
|
+
* * This operation is intended for API providers. Only the API that you have defined and published to a runtime environment can be called.
|
|
19048
|
+
* * An API is published to a cluster in less than 5 seconds.
|
|
19049
|
+
* * The QPS limit on this operation is 50 per user.
|
|
19050
|
+
*
|
|
19051
|
+
* @param request DeployApiRequest
|
|
19052
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19053
|
+
* @return DeployApiResponse
|
|
19054
|
+
*/
|
|
18430
19055
|
async deployApiWithOptions(request, runtime) {
|
|
18431
19056
|
tea_util_1.default.validateModel(request);
|
|
18432
19057
|
let query = {};
|
|
@@ -18461,6 +19086,14 @@ class Client extends openapi_client_1.default {
|
|
|
18461
19086
|
});
|
|
18462
19087
|
return $tea.cast(await this.callApi(params, req, runtime), new DeployApiResponse({}));
|
|
18463
19088
|
}
|
|
19089
|
+
/**
|
|
19090
|
+
* * This operation is intended for API providers. Only the API that you have defined and published to a runtime environment can be called.
|
|
19091
|
+
* * An API is published to a cluster in less than 5 seconds.
|
|
19092
|
+
* * The QPS limit on this operation is 50 per user.
|
|
19093
|
+
*
|
|
19094
|
+
* @param request DeployApiRequest
|
|
19095
|
+
* @return DeployApiResponse
|
|
19096
|
+
*/
|
|
18464
19097
|
async deployApi(request) {
|
|
18465
19098
|
let runtime = new $Util.RuntimeOptions({});
|
|
18466
19099
|
return await this.deployApiWithOptions(request, runtime);
|
|
@@ -18561,6 +19194,13 @@ class Client extends openapi_client_1.default {
|
|
|
18561
19194
|
let runtime = new $Util.RuntimeOptions({});
|
|
18562
19195
|
return await this.describeAccessControlListsWithOptions(request, runtime);
|
|
18563
19196
|
}
|
|
19197
|
+
/**
|
|
19198
|
+
* * This operation is intended for API providers.
|
|
19199
|
+
*
|
|
19200
|
+
* @param request DescribeApiRequest
|
|
19201
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19202
|
+
* @return DescribeApiResponse
|
|
19203
|
+
*/
|
|
18564
19204
|
async describeApiWithOptions(request, runtime) {
|
|
18565
19205
|
tea_util_1.default.validateModel(request);
|
|
18566
19206
|
let query = {};
|
|
@@ -18589,10 +19229,26 @@ class Client extends openapi_client_1.default {
|
|
|
18589
19229
|
});
|
|
18590
19230
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiResponse({}));
|
|
18591
19231
|
}
|
|
19232
|
+
/**
|
|
19233
|
+
* * This operation is intended for API providers.
|
|
19234
|
+
*
|
|
19235
|
+
* @param request DescribeApiRequest
|
|
19236
|
+
* @return DescribeApiResponse
|
|
19237
|
+
*/
|
|
18592
19238
|
async describeApi(request) {
|
|
18593
19239
|
let runtime = new $Util.RuntimeOptions({});
|
|
18594
19240
|
return await this.describeApiWithOptions(request, runtime);
|
|
18595
19241
|
}
|
|
19242
|
+
/**
|
|
19243
|
+
* * For API callers, they can only query documentation of a public API or an authorized private API that has been published to a runtime environment.****************
|
|
19244
|
+
* * When you call this operation as an API caller, the service information, parameter definitions, and other details of the API you specify are returned.
|
|
19245
|
+
* * When you call this operation as an API provider, the definition of the specified API 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.
|
|
19246
|
+
* * The API callers must be authenticated before they can query the documentation of a specified API. This requires the API provider to ensure that the API to be queried by the API caller is a public one or that the application that provides the API to be queried is authorized.
|
|
19247
|
+
*
|
|
19248
|
+
* @param request DescribeApiDocRequest
|
|
19249
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19250
|
+
* @return DescribeApiDocResponse
|
|
19251
|
+
*/
|
|
18596
19252
|
async describeApiDocWithOptions(request, runtime) {
|
|
18597
19253
|
tea_util_1.default.validateModel(request);
|
|
18598
19254
|
let query = {};
|
|
@@ -18624,10 +19280,26 @@ class Client extends openapi_client_1.default {
|
|
|
18624
19280
|
});
|
|
18625
19281
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiDocResponse({}));
|
|
18626
19282
|
}
|
|
19283
|
+
/**
|
|
19284
|
+
* * For API callers, they can only query documentation of a public API or an authorized private API that has been published to a runtime environment.****************
|
|
19285
|
+
* * When you call this operation as an API caller, the service information, parameter definitions, and other details of the API you specify are returned.
|
|
19286
|
+
* * When you call this operation as an API provider, the definition of the specified API 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.
|
|
19287
|
+
* * The API callers must be authenticated before they can query the documentation of a specified API. This requires the API provider to ensure that the API to be queried by the API caller is a public one or that the application that provides the API to be queried is authorized.
|
|
19288
|
+
*
|
|
19289
|
+
* @param request DescribeApiDocRequest
|
|
19290
|
+
* @return DescribeApiDocResponse
|
|
19291
|
+
*/
|
|
18627
19292
|
async describeApiDoc(request) {
|
|
18628
19293
|
let runtime = new $Util.RuntimeOptions({});
|
|
18629
19294
|
return await this.describeApiDocWithOptions(request, runtime);
|
|
18630
19295
|
}
|
|
19296
|
+
/**
|
|
19297
|
+
* * This operation is intended for API providers.
|
|
19298
|
+
*
|
|
19299
|
+
* @param request DescribeApiGroupRequest
|
|
19300
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19301
|
+
* @return DescribeApiGroupResponse
|
|
19302
|
+
*/
|
|
18631
19303
|
async describeApiGroupWithOptions(request, runtime) {
|
|
18632
19304
|
tea_util_1.default.validateModel(request);
|
|
18633
19305
|
let query = {};
|
|
@@ -18656,6 +19328,12 @@ class Client extends openapi_client_1.default {
|
|
|
18656
19328
|
});
|
|
18657
19329
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiGroupResponse({}));
|
|
18658
19330
|
}
|
|
19331
|
+
/**
|
|
19332
|
+
* * This operation is intended for API providers.
|
|
19333
|
+
*
|
|
19334
|
+
* @param request DescribeApiGroupRequest
|
|
19335
|
+
* @return DescribeApiGroupResponse
|
|
19336
|
+
*/
|
|
18659
19337
|
async describeApiGroup(request) {
|
|
18660
19338
|
let runtime = new $Util.RuntimeOptions({});
|
|
18661
19339
|
return await this.describeApiGroupWithOptions(request, runtime);
|
|
@@ -18689,6 +19367,13 @@ class Client extends openapi_client_1.default {
|
|
|
18689
19367
|
let runtime = new $Util.RuntimeOptions({});
|
|
18690
19368
|
return await this.describeApiGroupVpcWhitelistWithOptions(request, runtime);
|
|
18691
19369
|
}
|
|
19370
|
+
/**
|
|
19371
|
+
* * This operation is intended for API providers.
|
|
19372
|
+
*
|
|
19373
|
+
* @param request DescribeApiGroupsRequest
|
|
19374
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19375
|
+
* @return DescribeApiGroupsResponse
|
|
19376
|
+
*/
|
|
18692
19377
|
async describeApiGroupsWithOptions(request, runtime) {
|
|
18693
19378
|
tea_util_1.default.validateModel(request);
|
|
18694
19379
|
let query = {};
|
|
@@ -18735,10 +19420,24 @@ class Client extends openapi_client_1.default {
|
|
|
18735
19420
|
});
|
|
18736
19421
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiGroupsResponse({}));
|
|
18737
19422
|
}
|
|
19423
|
+
/**
|
|
19424
|
+
* * This operation is intended for API providers.
|
|
19425
|
+
*
|
|
19426
|
+
* @param request DescribeApiGroupsRequest
|
|
19427
|
+
* @return DescribeApiGroupsResponse
|
|
19428
|
+
*/
|
|
18738
19429
|
async describeApiGroups(request) {
|
|
18739
19430
|
let runtime = new $Util.RuntimeOptions({});
|
|
18740
19431
|
return await this.describeApiGroupsWithOptions(request, runtime);
|
|
18741
19432
|
}
|
|
19433
|
+
/**
|
|
19434
|
+
* * This operation is intended for API providers. Only APIs which have been published have a historical version record.
|
|
19435
|
+
* * This operation allows you to obtain the API historical versions which can be used to call other APIs.
|
|
19436
|
+
*
|
|
19437
|
+
* @param request DescribeApiHistoriesRequest
|
|
19438
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19439
|
+
* @return DescribeApiHistoriesResponse
|
|
19440
|
+
*/
|
|
18742
19441
|
async describeApiHistoriesWithOptions(request, runtime) {
|
|
18743
19442
|
tea_util_1.default.validateModel(request);
|
|
18744
19443
|
let query = {};
|
|
@@ -18779,10 +19478,25 @@ class Client extends openapi_client_1.default {
|
|
|
18779
19478
|
});
|
|
18780
19479
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiHistoriesResponse({}));
|
|
18781
19480
|
}
|
|
19481
|
+
/**
|
|
19482
|
+
* * This operation is intended for API providers. Only APIs which have been published have a historical version record.
|
|
19483
|
+
* * This operation allows you to obtain the API historical versions which can be used to call other APIs.
|
|
19484
|
+
*
|
|
19485
|
+
* @param request DescribeApiHistoriesRequest
|
|
19486
|
+
* @return DescribeApiHistoriesResponse
|
|
19487
|
+
*/
|
|
18782
19488
|
async describeApiHistories(request) {
|
|
18783
19489
|
let runtime = new $Util.RuntimeOptions({});
|
|
18784
19490
|
return await this.describeApiHistoriesWithOptions(request, runtime);
|
|
18785
19491
|
}
|
|
19492
|
+
/**
|
|
19493
|
+
* * This API is intended for API providers.
|
|
19494
|
+
* * 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.
|
|
19495
|
+
*
|
|
19496
|
+
* @param request DescribeApiHistoryRequest
|
|
19497
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19498
|
+
* @return DescribeApiHistoryResponse
|
|
19499
|
+
*/
|
|
18786
19500
|
async describeApiHistoryWithOptions(request, runtime) {
|
|
18787
19501
|
tea_util_1.default.validateModel(request);
|
|
18788
19502
|
let query = {};
|
|
@@ -18817,10 +19531,26 @@ class Client extends openapi_client_1.default {
|
|
|
18817
19531
|
});
|
|
18818
19532
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiHistoryResponse({}));
|
|
18819
19533
|
}
|
|
19534
|
+
/**
|
|
19535
|
+
* * This API is intended for API providers.
|
|
19536
|
+
* * 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.
|
|
19537
|
+
*
|
|
19538
|
+
* @param request DescribeApiHistoryRequest
|
|
19539
|
+
* @return DescribeApiHistoryResponse
|
|
19540
|
+
*/
|
|
18820
19541
|
async describeApiHistory(request) {
|
|
18821
19542
|
let runtime = new $Util.RuntimeOptions({});
|
|
18822
19543
|
return await this.describeApiHistoryWithOptions(request, runtime);
|
|
18823
19544
|
}
|
|
19545
|
+
/**
|
|
19546
|
+
* * This operation is intended for API callers.
|
|
19547
|
+
* * If an optional parameter is not specified, all results are returned on separate pages.
|
|
19548
|
+
* ·
|
|
19549
|
+
*
|
|
19550
|
+
* @param request DescribeApiIpControlsRequest
|
|
19551
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19552
|
+
* @return DescribeApiIpControlsResponse
|
|
19553
|
+
*/
|
|
18824
19554
|
async describeApiIpControlsWithOptions(request, runtime) {
|
|
18825
19555
|
tea_util_1.default.validateModel(request);
|
|
18826
19556
|
let query = {};
|
|
@@ -18858,10 +19588,27 @@ class Client extends openapi_client_1.default {
|
|
|
18858
19588
|
});
|
|
18859
19589
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiIpControlsResponse({}));
|
|
18860
19590
|
}
|
|
19591
|
+
/**
|
|
19592
|
+
* * This operation is intended for API callers.
|
|
19593
|
+
* * If an optional parameter is not specified, all results are returned on separate pages.
|
|
19594
|
+
* ·
|
|
19595
|
+
*
|
|
19596
|
+
* @param request DescribeApiIpControlsRequest
|
|
19597
|
+
* @return DescribeApiIpControlsResponse
|
|
19598
|
+
*/
|
|
18861
19599
|
async describeApiIpControls(request) {
|
|
18862
19600
|
let runtime = new $Util.RuntimeOptions({});
|
|
18863
19601
|
return await this.describeApiIpControlsWithOptions(request, runtime);
|
|
18864
19602
|
}
|
|
19603
|
+
/**
|
|
19604
|
+
* You can call this operation to query the latency metrics in milliseconds for a specified API.
|
|
19605
|
+
* * This API is intended for API providers.
|
|
19606
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
19607
|
+
*
|
|
19608
|
+
* @param request DescribeApiLatencyDataRequest
|
|
19609
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19610
|
+
* @return DescribeApiLatencyDataResponse
|
|
19611
|
+
*/
|
|
18865
19612
|
async describeApiLatencyDataWithOptions(request, runtime) {
|
|
18866
19613
|
tea_util_1.default.validateModel(request);
|
|
18867
19614
|
let query = {};
|
|
@@ -18899,6 +19646,14 @@ class Client extends openapi_client_1.default {
|
|
|
18899
19646
|
});
|
|
18900
19647
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiLatencyDataResponse({}));
|
|
18901
19648
|
}
|
|
19649
|
+
/**
|
|
19650
|
+
* You can call this operation to query the latency metrics in milliseconds for a specified API.
|
|
19651
|
+
* * This API is intended for API providers.
|
|
19652
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
19653
|
+
*
|
|
19654
|
+
* @param request DescribeApiLatencyDataRequest
|
|
19655
|
+
* @return DescribeApiLatencyDataResponse
|
|
19656
|
+
*/
|
|
18902
19657
|
async describeApiLatencyData(request) {
|
|
18903
19658
|
let runtime = new $Util.RuntimeOptions({});
|
|
18904
19659
|
return await this.describeApiLatencyDataWithOptions(request, runtime);
|
|
@@ -18935,6 +19690,14 @@ class Client extends openapi_client_1.default {
|
|
|
18935
19690
|
let runtime = new $Util.RuntimeOptions({});
|
|
18936
19691
|
return await this.describeApiMarketAttributesWithOptions(request, runtime);
|
|
18937
19692
|
}
|
|
19693
|
+
/**
|
|
19694
|
+
* * This API is intended for API providers.
|
|
19695
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
19696
|
+
*
|
|
19697
|
+
* @param request DescribeApiQpsDataRequest
|
|
19698
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19699
|
+
* @return DescribeApiQpsDataResponse
|
|
19700
|
+
*/
|
|
18938
19701
|
async describeApiQpsDataWithOptions(request, runtime) {
|
|
18939
19702
|
tea_util_1.default.validateModel(request);
|
|
18940
19703
|
let query = {};
|
|
@@ -18972,10 +19735,24 @@ class Client extends openapi_client_1.default {
|
|
|
18972
19735
|
});
|
|
18973
19736
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiQpsDataResponse({}));
|
|
18974
19737
|
}
|
|
19738
|
+
/**
|
|
19739
|
+
* * This API is intended for API providers.
|
|
19740
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
19741
|
+
*
|
|
19742
|
+
* @param request DescribeApiQpsDataRequest
|
|
19743
|
+
* @return DescribeApiQpsDataResponse
|
|
19744
|
+
*/
|
|
18975
19745
|
async describeApiQpsData(request) {
|
|
18976
19746
|
let runtime = new $Util.RuntimeOptions({});
|
|
18977
19747
|
return await this.describeApiQpsDataWithOptions(request, runtime);
|
|
18978
19748
|
}
|
|
19749
|
+
/**
|
|
19750
|
+
* Queries the backend signature keys that are bound to the APIs of a specified API group in a specified environment.
|
|
19751
|
+
*
|
|
19752
|
+
* @param request DescribeApiSignaturesRequest
|
|
19753
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19754
|
+
* @return DescribeApiSignaturesResponse
|
|
19755
|
+
*/
|
|
18979
19756
|
async describeApiSignaturesWithOptions(request, runtime) {
|
|
18980
19757
|
tea_util_1.default.validateModel(request);
|
|
18981
19758
|
let query = {};
|
|
@@ -19013,10 +19790,23 @@ class Client extends openapi_client_1.default {
|
|
|
19013
19790
|
});
|
|
19014
19791
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiSignaturesResponse({}));
|
|
19015
19792
|
}
|
|
19793
|
+
/**
|
|
19794
|
+
* Queries the backend signature keys that are bound to the APIs of a specified API group in a specified environment.
|
|
19795
|
+
*
|
|
19796
|
+
* @param request DescribeApiSignaturesRequest
|
|
19797
|
+
* @return DescribeApiSignaturesResponse
|
|
19798
|
+
*/
|
|
19016
19799
|
async describeApiSignatures(request) {
|
|
19017
19800
|
let runtime = new $Util.RuntimeOptions({});
|
|
19018
19801
|
return await this.describeApiSignaturesWithOptions(request, runtime);
|
|
19019
19802
|
}
|
|
19803
|
+
/**
|
|
19804
|
+
* Queries the throttling policies bound to all members of an API group in a specified environment.
|
|
19805
|
+
*
|
|
19806
|
+
* @param request DescribeApiTrafficControlsRequest
|
|
19807
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19808
|
+
* @return DescribeApiTrafficControlsResponse
|
|
19809
|
+
*/
|
|
19020
19810
|
async describeApiTrafficControlsWithOptions(request, runtime) {
|
|
19021
19811
|
tea_util_1.default.validateModel(request);
|
|
19022
19812
|
let query = {};
|
|
@@ -19054,10 +19844,24 @@ class Client extends openapi_client_1.default {
|
|
|
19054
19844
|
});
|
|
19055
19845
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiTrafficControlsResponse({}));
|
|
19056
19846
|
}
|
|
19847
|
+
/**
|
|
19848
|
+
* Queries the throttling policies bound to all members of an API group in a specified environment.
|
|
19849
|
+
*
|
|
19850
|
+
* @param request DescribeApiTrafficControlsRequest
|
|
19851
|
+
* @return DescribeApiTrafficControlsResponse
|
|
19852
|
+
*/
|
|
19057
19853
|
async describeApiTrafficControls(request) {
|
|
19058
19854
|
let runtime = new $Util.RuntimeOptions({});
|
|
19059
19855
|
return await this.describeApiTrafficControlsWithOptions(request, runtime);
|
|
19060
19856
|
}
|
|
19857
|
+
/**
|
|
19858
|
+
* * This API is intended for API providers.
|
|
19859
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
19860
|
+
*
|
|
19861
|
+
* @param request DescribeApiTrafficDataRequest
|
|
19862
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19863
|
+
* @return DescribeApiTrafficDataResponse
|
|
19864
|
+
*/
|
|
19061
19865
|
async describeApiTrafficDataWithOptions(request, runtime) {
|
|
19062
19866
|
tea_util_1.default.validateModel(request);
|
|
19063
19867
|
let query = {};
|
|
@@ -19095,10 +19899,26 @@ class Client extends openapi_client_1.default {
|
|
|
19095
19899
|
});
|
|
19096
19900
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApiTrafficDataResponse({}));
|
|
19097
19901
|
}
|
|
19902
|
+
/**
|
|
19903
|
+
* * This API is intended for API providers.
|
|
19904
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
19905
|
+
*
|
|
19906
|
+
* @param request DescribeApiTrafficDataRequest
|
|
19907
|
+
* @return DescribeApiTrafficDataResponse
|
|
19908
|
+
*/
|
|
19098
19909
|
async describeApiTrafficData(request) {
|
|
19099
19910
|
let runtime = new $Util.RuntimeOptions({});
|
|
19100
19911
|
return await this.describeApiTrafficDataWithOptions(request, runtime);
|
|
19101
19912
|
}
|
|
19913
|
+
/**
|
|
19914
|
+
* * This API is intended for API providers.
|
|
19915
|
+
* * The list of all APIs that belong to the definition and their brief information are returned.
|
|
19916
|
+
* * This API returns the most recently edited API definitions. These may be different from the definitions of those APIs currently published to the runtime environment.
|
|
19917
|
+
*
|
|
19918
|
+
* @param request DescribeApisRequest
|
|
19919
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19920
|
+
* @return DescribeApisResponse
|
|
19921
|
+
*/
|
|
19102
19922
|
async describeApisWithOptions(request, runtime) {
|
|
19103
19923
|
tea_util_1.default.validateModel(request);
|
|
19104
19924
|
let query = {};
|
|
@@ -19132,6 +19952,9 @@ class Client extends openapi_client_1.default {
|
|
|
19132
19952
|
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
19133
19953
|
query["SecurityToken"] = request.securityToken;
|
|
19134
19954
|
}
|
|
19955
|
+
if (!tea_util_1.default.isUnset(request.stageName)) {
|
|
19956
|
+
query["StageName"] = request.stageName;
|
|
19957
|
+
}
|
|
19135
19958
|
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
19136
19959
|
query["Tag"] = request.tag;
|
|
19137
19960
|
}
|
|
@@ -19157,6 +19980,14 @@ class Client extends openapi_client_1.default {
|
|
|
19157
19980
|
});
|
|
19158
19981
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApisResponse({}));
|
|
19159
19982
|
}
|
|
19983
|
+
/**
|
|
19984
|
+
* * This API is intended for API providers.
|
|
19985
|
+
* * The list of all APIs that belong to the definition and their brief information are returned.
|
|
19986
|
+
* * This API returns the most recently edited API definitions. These may be different from the definitions of those APIs currently published to the runtime environment.
|
|
19987
|
+
*
|
|
19988
|
+
* @param request DescribeApisRequest
|
|
19989
|
+
* @return DescribeApisResponse
|
|
19990
|
+
*/
|
|
19160
19991
|
async describeApis(request) {
|
|
19161
19992
|
let runtime = new $Util.RuntimeOptions({});
|
|
19162
19993
|
return await this.describeApisWithOptions(request, runtime);
|
|
@@ -19249,6 +20080,14 @@ class Client extends openapi_client_1.default {
|
|
|
19249
20080
|
let runtime = new $Util.RuntimeOptions({});
|
|
19250
20081
|
return await this.describeApisByBackendWithOptions(request, runtime);
|
|
19251
20082
|
}
|
|
20083
|
+
/**
|
|
20084
|
+
* * This API is intended for API providers.
|
|
20085
|
+
* * You can specify PageNumber to obtain the result on the specified page.
|
|
20086
|
+
*
|
|
20087
|
+
* @param request DescribeApisByIpControlRequest
|
|
20088
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20089
|
+
* @return DescribeApisByIpControlResponse
|
|
20090
|
+
*/
|
|
19252
20091
|
async describeApisByIpControlWithOptions(request, runtime) {
|
|
19253
20092
|
tea_util_1.default.validateModel(request);
|
|
19254
20093
|
let query = {};
|
|
@@ -19280,10 +20119,24 @@ class Client extends openapi_client_1.default {
|
|
|
19280
20119
|
});
|
|
19281
20120
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApisByIpControlResponse({}));
|
|
19282
20121
|
}
|
|
20122
|
+
/**
|
|
20123
|
+
* * This API is intended for API providers.
|
|
20124
|
+
* * You can specify PageNumber to obtain the result on the specified page.
|
|
20125
|
+
*
|
|
20126
|
+
* @param request DescribeApisByIpControlRequest
|
|
20127
|
+
* @return DescribeApisByIpControlResponse
|
|
20128
|
+
*/
|
|
19283
20129
|
async describeApisByIpControl(request) {
|
|
19284
20130
|
let runtime = new $Util.RuntimeOptions({});
|
|
19285
20131
|
return await this.describeApisByIpControlWithOptions(request, runtime);
|
|
19286
20132
|
}
|
|
20133
|
+
/**
|
|
20134
|
+
* Queries the APIs to which a specified backend signature key is bound.
|
|
20135
|
+
*
|
|
20136
|
+
* @param request DescribeApisBySignatureRequest
|
|
20137
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20138
|
+
* @return DescribeApisBySignatureResponse
|
|
20139
|
+
*/
|
|
19287
20140
|
async describeApisBySignatureWithOptions(request, runtime) {
|
|
19288
20141
|
tea_util_1.default.validateModel(request);
|
|
19289
20142
|
let query = {};
|
|
@@ -19315,10 +20168,24 @@ class Client extends openapi_client_1.default {
|
|
|
19315
20168
|
});
|
|
19316
20169
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApisBySignatureResponse({}));
|
|
19317
20170
|
}
|
|
20171
|
+
/**
|
|
20172
|
+
* Queries the APIs to which a specified backend signature key is bound.
|
|
20173
|
+
*
|
|
20174
|
+
* @param request DescribeApisBySignatureRequest
|
|
20175
|
+
* @return DescribeApisBySignatureResponse
|
|
20176
|
+
*/
|
|
19318
20177
|
async describeApisBySignature(request) {
|
|
19319
20178
|
let runtime = new $Util.RuntimeOptions({});
|
|
19320
20179
|
return await this.describeApisBySignatureWithOptions(request, runtime);
|
|
19321
20180
|
}
|
|
20181
|
+
/**
|
|
20182
|
+
* * This API is intended for API providers.
|
|
20183
|
+
* * You can specify PageNumber to obtain the result on the specified page.
|
|
20184
|
+
*
|
|
20185
|
+
* @param request DescribeApisByTrafficControlRequest
|
|
20186
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20187
|
+
* @return DescribeApisByTrafficControlResponse
|
|
20188
|
+
*/
|
|
19322
20189
|
async describeApisByTrafficControlWithOptions(request, runtime) {
|
|
19323
20190
|
tea_util_1.default.validateModel(request);
|
|
19324
20191
|
let query = {};
|
|
@@ -19350,6 +20217,13 @@ class Client extends openapi_client_1.default {
|
|
|
19350
20217
|
});
|
|
19351
20218
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeApisByTrafficControlResponse({}));
|
|
19352
20219
|
}
|
|
20220
|
+
/**
|
|
20221
|
+
* * This API is intended for API providers.
|
|
20222
|
+
* * You can specify PageNumber to obtain the result on the specified page.
|
|
20223
|
+
*
|
|
20224
|
+
* @param request DescribeApisByTrafficControlRequest
|
|
20225
|
+
* @return DescribeApisByTrafficControlResponse
|
|
20226
|
+
*/
|
|
19353
20227
|
async describeApisByTrafficControl(request) {
|
|
19354
20228
|
let runtime = new $Util.RuntimeOptions({});
|
|
19355
20229
|
return await this.describeApisByTrafficControlWithOptions(request, runtime);
|
|
@@ -19383,6 +20257,14 @@ class Client extends openapi_client_1.default {
|
|
|
19383
20257
|
let runtime = new $Util.RuntimeOptions({});
|
|
19384
20258
|
return await this.describeAppWithOptions(request, runtime);
|
|
19385
20259
|
}
|
|
20260
|
+
/**
|
|
20261
|
+
* * This operation is intended for API callers.
|
|
20262
|
+
* * AppId is optional.
|
|
20263
|
+
*
|
|
20264
|
+
* @param request DescribeAppAttributesRequest
|
|
20265
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20266
|
+
* @return DescribeAppAttributesResponse
|
|
20267
|
+
*/
|
|
19386
20268
|
async describeAppAttributesWithOptions(request, runtime) {
|
|
19387
20269
|
tea_util_1.default.validateModel(request);
|
|
19388
20270
|
let query = {};
|
|
@@ -19432,10 +20314,24 @@ class Client extends openapi_client_1.default {
|
|
|
19432
20314
|
});
|
|
19433
20315
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAppAttributesResponse({}));
|
|
19434
20316
|
}
|
|
20317
|
+
/**
|
|
20318
|
+
* * This operation is intended for API callers.
|
|
20319
|
+
* * AppId is optional.
|
|
20320
|
+
*
|
|
20321
|
+
* @param request DescribeAppAttributesRequest
|
|
20322
|
+
* @return DescribeAppAttributesResponse
|
|
20323
|
+
*/
|
|
19435
20324
|
async describeAppAttributes(request) {
|
|
19436
20325
|
let runtime = new $Util.RuntimeOptions({});
|
|
19437
20326
|
return await this.describeAppAttributesWithOptions(request, runtime);
|
|
19438
20327
|
}
|
|
20328
|
+
/**
|
|
20329
|
+
* * This operation is intended for API callers.
|
|
20330
|
+
*
|
|
20331
|
+
* @param request DescribeAppSecurityRequest
|
|
20332
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20333
|
+
* @return DescribeAppSecurityResponse
|
|
20334
|
+
*/
|
|
19439
20335
|
async describeAppSecurityWithOptions(request, runtime) {
|
|
19440
20336
|
tea_util_1.default.validateModel(request);
|
|
19441
20337
|
let query = {};
|
|
@@ -19464,10 +20360,23 @@ class Client extends openapi_client_1.default {
|
|
|
19464
20360
|
});
|
|
19465
20361
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAppSecurityResponse({}));
|
|
19466
20362
|
}
|
|
20363
|
+
/**
|
|
20364
|
+
* * This operation is intended for API callers.
|
|
20365
|
+
*
|
|
20366
|
+
* @param request DescribeAppSecurityRequest
|
|
20367
|
+
* @return DescribeAppSecurityResponse
|
|
20368
|
+
*/
|
|
19467
20369
|
async describeAppSecurity(request) {
|
|
19468
20370
|
let runtime = new $Util.RuntimeOptions({});
|
|
19469
20371
|
return await this.describeAppSecurityWithOptions(request, runtime);
|
|
19470
20372
|
}
|
|
20373
|
+
/**
|
|
20374
|
+
* Queries the apps. App information is returned only to the app owner.
|
|
20375
|
+
*
|
|
20376
|
+
* @param request DescribeAppsRequest
|
|
20377
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20378
|
+
* @return DescribeAppsResponse
|
|
20379
|
+
*/
|
|
19471
20380
|
async describeAppsWithOptions(request, runtime) {
|
|
19472
20381
|
tea_util_1.default.validateModel(request);
|
|
19473
20382
|
let query = {};
|
|
@@ -19502,10 +20411,24 @@ class Client extends openapi_client_1.default {
|
|
|
19502
20411
|
});
|
|
19503
20412
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAppsResponse({}));
|
|
19504
20413
|
}
|
|
20414
|
+
/**
|
|
20415
|
+
* Queries the apps. App information is returned only to the app owner.
|
|
20416
|
+
*
|
|
20417
|
+
* @param request DescribeAppsRequest
|
|
20418
|
+
* @return DescribeAppsResponse
|
|
20419
|
+
*/
|
|
19505
20420
|
async describeApps(request) {
|
|
19506
20421
|
let runtime = new $Util.RuntimeOptions({});
|
|
19507
20422
|
return await this.describeAppsWithOptions(request, runtime);
|
|
19508
20423
|
}
|
|
20424
|
+
/**
|
|
20425
|
+
* * This operation is intended for API callers.
|
|
20426
|
+
* * The specified application can call all APIs included in the responses.
|
|
20427
|
+
*
|
|
20428
|
+
* @param request DescribeAuthorizedApisRequest
|
|
20429
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20430
|
+
* @return DescribeAuthorizedApisResponse
|
|
20431
|
+
*/
|
|
19509
20432
|
async describeAuthorizedApisWithOptions(request, runtime) {
|
|
19510
20433
|
tea_util_1.default.validateModel(request);
|
|
19511
20434
|
let query = {};
|
|
@@ -19537,10 +20460,25 @@ class Client extends openapi_client_1.default {
|
|
|
19537
20460
|
});
|
|
19538
20461
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAuthorizedApisResponse({}));
|
|
19539
20462
|
}
|
|
20463
|
+
/**
|
|
20464
|
+
* * This operation is intended for API callers.
|
|
20465
|
+
* * The specified application can call all APIs included in the responses.
|
|
20466
|
+
*
|
|
20467
|
+
* @param request DescribeAuthorizedApisRequest
|
|
20468
|
+
* @return DescribeAuthorizedApisResponse
|
|
20469
|
+
*/
|
|
19540
20470
|
async describeAuthorizedApis(request) {
|
|
19541
20471
|
let runtime = new $Util.RuntimeOptions({});
|
|
19542
20472
|
return await this.describeAuthorizedApisWithOptions(request, runtime);
|
|
19543
20473
|
}
|
|
20474
|
+
/**
|
|
20475
|
+
* * This operation is intended for API providers.
|
|
20476
|
+
* * All applications included in the responses have access to the specified API.
|
|
20477
|
+
*
|
|
20478
|
+
* @param request DescribeAuthorizedAppsRequest
|
|
20479
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20480
|
+
* @return DescribeAuthorizedAppsResponse
|
|
20481
|
+
*/
|
|
19544
20482
|
async describeAuthorizedAppsWithOptions(request, runtime) {
|
|
19545
20483
|
tea_util_1.default.validateModel(request);
|
|
19546
20484
|
let query = {};
|
|
@@ -19587,6 +20525,13 @@ class Client extends openapi_client_1.default {
|
|
|
19587
20525
|
});
|
|
19588
20526
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAuthorizedAppsResponse({}));
|
|
19589
20527
|
}
|
|
20528
|
+
/**
|
|
20529
|
+
* * This operation is intended for API providers.
|
|
20530
|
+
* * All applications included in the responses have access to the specified API.
|
|
20531
|
+
*
|
|
20532
|
+
* @param request DescribeAuthorizedAppsRequest
|
|
20533
|
+
* @return DescribeAuthorizedAppsResponse
|
|
20534
|
+
*/
|
|
19590
20535
|
async describeAuthorizedApps(request) {
|
|
19591
20536
|
let runtime = new $Util.RuntimeOptions({});
|
|
19592
20537
|
return await this.describeAuthorizedAppsWithOptions(request, runtime);
|
|
@@ -19859,6 +20804,13 @@ class Client extends openapi_client_1.default {
|
|
|
19859
20804
|
let runtime = new $Util.RuntimeOptions({});
|
|
19860
20805
|
return await this.describeDeployedApiWithOptions(request, runtime);
|
|
19861
20806
|
}
|
|
20807
|
+
/**
|
|
20808
|
+
* * This API is intended for API providers.
|
|
20809
|
+
*
|
|
20810
|
+
* @param request DescribeDeployedApisRequest
|
|
20811
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20812
|
+
* @return DescribeDeployedApisResponse
|
|
20813
|
+
*/
|
|
19862
20814
|
async describeDeployedApisWithOptions(request, runtime) {
|
|
19863
20815
|
tea_util_1.default.validateModel(request);
|
|
19864
20816
|
let query = {};
|
|
@@ -19911,10 +20863,23 @@ class Client extends openapi_client_1.default {
|
|
|
19911
20863
|
});
|
|
19912
20864
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDeployedApisResponse({}));
|
|
19913
20865
|
}
|
|
20866
|
+
/**
|
|
20867
|
+
* * This API is intended for API providers.
|
|
20868
|
+
*
|
|
20869
|
+
* @param request DescribeDeployedApisRequest
|
|
20870
|
+
* @return DescribeDeployedApisResponse
|
|
20871
|
+
*/
|
|
19914
20872
|
async describeDeployedApis(request) {
|
|
19915
20873
|
let runtime = new $Util.RuntimeOptions({});
|
|
19916
20874
|
return await this.describeDeployedApisWithOptions(request, runtime);
|
|
19917
20875
|
}
|
|
20876
|
+
/**
|
|
20877
|
+
* Queries details about a bound custom domain name, including the automatically assigned second-level domain name, custom domain name, and SSL certificate.
|
|
20878
|
+
*
|
|
20879
|
+
* @param request DescribeDomainRequest
|
|
20880
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20881
|
+
* @return DescribeDomainResponse
|
|
20882
|
+
*/
|
|
19918
20883
|
async describeDomainWithOptions(request, runtime) {
|
|
19919
20884
|
tea_util_1.default.validateModel(request);
|
|
19920
20885
|
let query = {};
|
|
@@ -19943,6 +20908,12 @@ class Client extends openapi_client_1.default {
|
|
|
19943
20908
|
});
|
|
19944
20909
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDomainResponse({}));
|
|
19945
20910
|
}
|
|
20911
|
+
/**
|
|
20912
|
+
* Queries details about a bound custom domain name, including the automatically assigned second-level domain name, custom domain name, and SSL certificate.
|
|
20913
|
+
*
|
|
20914
|
+
* @param request DescribeDomainRequest
|
|
20915
|
+
* @return DescribeDomainResponse
|
|
20916
|
+
*/
|
|
19946
20917
|
async describeDomain(request) {
|
|
19947
20918
|
let runtime = new $Util.RuntimeOptions({});
|
|
19948
20919
|
return await this.describeDomainWithOptions(request, runtime);
|
|
@@ -19991,6 +20962,35 @@ class Client extends openapi_client_1.default {
|
|
|
19991
20962
|
let runtime = new $Util.RuntimeOptions({});
|
|
19992
20963
|
return await this.describeHistoryApisWithOptions(request, runtime);
|
|
19993
20964
|
}
|
|
20965
|
+
async describeImportOASTaskWithOptions(request, runtime) {
|
|
20966
|
+
tea_util_1.default.validateModel(request);
|
|
20967
|
+
let query = {};
|
|
20968
|
+
if (!tea_util_1.default.isUnset(request.operationId)) {
|
|
20969
|
+
query["OperationId"] = request.operationId;
|
|
20970
|
+
}
|
|
20971
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
20972
|
+
query["SecurityToken"] = request.securityToken;
|
|
20973
|
+
}
|
|
20974
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20975
|
+
query: openapi_util_1.default.query(query),
|
|
20976
|
+
});
|
|
20977
|
+
let params = new $OpenApi.Params({
|
|
20978
|
+
action: "DescribeImportOASTask",
|
|
20979
|
+
version: "2016-07-14",
|
|
20980
|
+
protocol: "HTTPS",
|
|
20981
|
+
pathname: "/",
|
|
20982
|
+
method: "POST",
|
|
20983
|
+
authType: "AK",
|
|
20984
|
+
style: "RPC",
|
|
20985
|
+
reqBodyType: "formData",
|
|
20986
|
+
bodyType: "json",
|
|
20987
|
+
});
|
|
20988
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeImportOASTaskResponse({}));
|
|
20989
|
+
}
|
|
20990
|
+
async describeImportOASTask(request) {
|
|
20991
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
20992
|
+
return await this.describeImportOASTaskWithOptions(request, runtime);
|
|
20993
|
+
}
|
|
19994
20994
|
async describeInstancesWithOptions(request, runtime) {
|
|
19995
20995
|
tea_util_1.default.validateModel(request);
|
|
19996
20996
|
let query = {};
|
|
@@ -20029,6 +21029,14 @@ class Client extends openapi_client_1.default {
|
|
|
20029
21029
|
let runtime = new $Util.RuntimeOptions({});
|
|
20030
21030
|
return await this.describeInstancesWithOptions(request, runtime);
|
|
20031
21031
|
}
|
|
21032
|
+
/**
|
|
21033
|
+
* * This operation is intended for API providers.
|
|
21034
|
+
* * You can filter the query results by policy ID.
|
|
21035
|
+
*
|
|
21036
|
+
* @param request DescribeIpControlPolicyItemsRequest
|
|
21037
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21038
|
+
* @return DescribeIpControlPolicyItemsResponse
|
|
21039
|
+
*/
|
|
20032
21040
|
async describeIpControlPolicyItemsWithOptions(request, runtime) {
|
|
20033
21041
|
tea_util_1.default.validateModel(request);
|
|
20034
21042
|
let query = {};
|
|
@@ -20063,10 +21071,27 @@ class Client extends openapi_client_1.default {
|
|
|
20063
21071
|
});
|
|
20064
21072
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeIpControlPolicyItemsResponse({}));
|
|
20065
21073
|
}
|
|
21074
|
+
/**
|
|
21075
|
+
* * This operation is intended for API providers.
|
|
21076
|
+
* * You can filter the query results by policy ID.
|
|
21077
|
+
*
|
|
21078
|
+
* @param request DescribeIpControlPolicyItemsRequest
|
|
21079
|
+
* @return DescribeIpControlPolicyItemsResponse
|
|
21080
|
+
*/
|
|
20066
21081
|
async describeIpControlPolicyItems(request) {
|
|
20067
21082
|
let runtime = new $Util.RuntimeOptions({});
|
|
20068
21083
|
return await this.describeIpControlPolicyItemsWithOptions(request, runtime);
|
|
20069
21084
|
}
|
|
21085
|
+
/**
|
|
21086
|
+
* * This operation is intended for API providers.
|
|
21087
|
+
* * This operation is used to query the ACLs in a Region. Region is a system parameter.
|
|
21088
|
+
* * You can filter the query results by ACL ID, name, or type.
|
|
21089
|
+
* * This operation cannot be used to query specific policies. If you want to query specific policies, use the [DescribeIpControlPolicyItems](https://help.aliyun.com/document_detail/65532.html?spm=a2c4g.11186623.2.14.615b13acrFZFaH) operation.
|
|
21090
|
+
*
|
|
21091
|
+
* @param request DescribeIpControlsRequest
|
|
21092
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21093
|
+
* @return DescribeIpControlsResponse
|
|
21094
|
+
*/
|
|
20070
21095
|
async describeIpControlsWithOptions(request, runtime) {
|
|
20071
21096
|
tea_util_1.default.validateModel(request);
|
|
20072
21097
|
let query = {};
|
|
@@ -20104,6 +21129,15 @@ class Client extends openapi_client_1.default {
|
|
|
20104
21129
|
});
|
|
20105
21130
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeIpControlsResponse({}));
|
|
20106
21131
|
}
|
|
21132
|
+
/**
|
|
21133
|
+
* * This operation is intended for API providers.
|
|
21134
|
+
* * This operation is used to query the ACLs in a Region. Region is a system parameter.
|
|
21135
|
+
* * You can filter the query results by ACL ID, name, or type.
|
|
21136
|
+
* * This operation cannot be used to query specific policies. If you want to query specific policies, use the [DescribeIpControlPolicyItems](https://help.aliyun.com/document_detail/65532.html?spm=a2c4g.11186623.2.14.615b13acrFZFaH) operation.
|
|
21137
|
+
*
|
|
21138
|
+
* @param request DescribeIpControlsRequest
|
|
21139
|
+
* @return DescribeIpControlsResponse
|
|
21140
|
+
*/
|
|
20107
21141
|
async describeIpControls(request) {
|
|
20108
21142
|
let runtime = new $Util.RuntimeOptions({});
|
|
20109
21143
|
return await this.describeIpControlsWithOptions(request, runtime);
|
|
@@ -20166,6 +21200,13 @@ class Client extends openapi_client_1.default {
|
|
|
20166
21200
|
let runtime = new $Util.RuntimeOptions({});
|
|
20167
21201
|
return await this.describeMarketRemainsQuotaWithOptions(request, runtime);
|
|
20168
21202
|
}
|
|
21203
|
+
/**
|
|
21204
|
+
* * Fuzzy queries are supported.
|
|
21205
|
+
*
|
|
21206
|
+
* @param request DescribeModelsRequest
|
|
21207
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21208
|
+
* @return DescribeModelsResponse
|
|
21209
|
+
*/
|
|
20169
21210
|
async describeModelsWithOptions(request, runtime) {
|
|
20170
21211
|
tea_util_1.default.validateModel(request);
|
|
20171
21212
|
let query = {};
|
|
@@ -20200,6 +21241,12 @@ class Client extends openapi_client_1.default {
|
|
|
20200
21241
|
});
|
|
20201
21242
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeModelsResponse({}));
|
|
20202
21243
|
}
|
|
21244
|
+
/**
|
|
21245
|
+
* * Fuzzy queries are supported.
|
|
21246
|
+
*
|
|
21247
|
+
* @param request DescribeModelsRequest
|
|
21248
|
+
* @return DescribeModelsResponse
|
|
21249
|
+
*/
|
|
20203
21250
|
async describeModels(request) {
|
|
20204
21251
|
let runtime = new $Util.RuntimeOptions({});
|
|
20205
21252
|
return await this.describeModelsWithOptions(request, runtime);
|
|
@@ -20318,6 +21365,16 @@ class Client extends openapi_client_1.default {
|
|
|
20318
21365
|
let runtime = new $Util.RuntimeOptions({});
|
|
20319
21366
|
return await this.describePluginTemplatesWithOptions(request, runtime);
|
|
20320
21367
|
}
|
|
21368
|
+
/**
|
|
21369
|
+
* * This operation supports pagination.
|
|
21370
|
+
* * This operation allows you to query plug-ins by business type.
|
|
21371
|
+
* * This operation allows you to query plug-ins by ID.
|
|
21372
|
+
* * This operation allows you to query plug-ins by name.
|
|
21373
|
+
*
|
|
21374
|
+
* @param request DescribePluginsRequest
|
|
21375
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21376
|
+
* @return DescribePluginsResponse
|
|
21377
|
+
*/
|
|
20321
21378
|
async describePluginsWithOptions(request, runtime) {
|
|
20322
21379
|
tea_util_1.default.validateModel(request);
|
|
20323
21380
|
let query = {};
|
|
@@ -20358,10 +21415,27 @@ class Client extends openapi_client_1.default {
|
|
|
20358
21415
|
});
|
|
20359
21416
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePluginsResponse({}));
|
|
20360
21417
|
}
|
|
21418
|
+
/**
|
|
21419
|
+
* * This operation supports pagination.
|
|
21420
|
+
* * This operation allows you to query plug-ins by business type.
|
|
21421
|
+
* * This operation allows you to query plug-ins by ID.
|
|
21422
|
+
* * This operation allows you to query plug-ins by name.
|
|
21423
|
+
*
|
|
21424
|
+
* @param request DescribePluginsRequest
|
|
21425
|
+
* @return DescribePluginsResponse
|
|
21426
|
+
*/
|
|
20361
21427
|
async describePlugins(request) {
|
|
20362
21428
|
let runtime = new $Util.RuntimeOptions({});
|
|
20363
21429
|
return await this.describePluginsWithOptions(request, runtime);
|
|
20364
21430
|
}
|
|
21431
|
+
/**
|
|
21432
|
+
* * This API is intended for API providers.
|
|
21433
|
+
* * This operation supports pagination.
|
|
21434
|
+
*
|
|
21435
|
+
* @param request DescribePluginsByApiRequest
|
|
21436
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21437
|
+
* @return DescribePluginsByApiResponse
|
|
21438
|
+
*/
|
|
20365
21439
|
async describePluginsByApiWithOptions(request, runtime) {
|
|
20366
21440
|
tea_util_1.default.validateModel(request);
|
|
20367
21441
|
let query = {};
|
|
@@ -20393,6 +21467,13 @@ class Client extends openapi_client_1.default {
|
|
|
20393
21467
|
});
|
|
20394
21468
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribePluginsByApiResponse({}));
|
|
20395
21469
|
}
|
|
21470
|
+
/**
|
|
21471
|
+
* * This API is intended for API providers.
|
|
21472
|
+
* * This operation supports pagination.
|
|
21473
|
+
*
|
|
21474
|
+
* @param request DescribePluginsByApiRequest
|
|
21475
|
+
* @return DescribePluginsByApiResponse
|
|
21476
|
+
*/
|
|
20396
21477
|
async describePluginsByApi(request) {
|
|
20397
21478
|
let runtime = new $Util.RuntimeOptions({});
|
|
20398
21479
|
return await this.describePluginsByApiWithOptions(request, runtime);
|
|
@@ -20505,6 +21586,14 @@ class Client extends openapi_client_1.default {
|
|
|
20505
21586
|
let runtime = new $Util.RuntimeOptions({});
|
|
20506
21587
|
return await this.describePurchasedApisWithOptions(request, runtime);
|
|
20507
21588
|
}
|
|
21589
|
+
/**
|
|
21590
|
+
* This operation queries regions in which API Gateway is available.
|
|
21591
|
+
* * This operation is intended for API providers and callers.
|
|
21592
|
+
*
|
|
21593
|
+
* @param request DescribeRegionsRequest
|
|
21594
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21595
|
+
* @return DescribeRegionsResponse
|
|
21596
|
+
*/
|
|
20508
21597
|
async describeRegionsWithOptions(request, runtime) {
|
|
20509
21598
|
tea_util_1.default.validateModel(request);
|
|
20510
21599
|
let query = {};
|
|
@@ -20530,10 +21619,24 @@ class Client extends openapi_client_1.default {
|
|
|
20530
21619
|
});
|
|
20531
21620
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
20532
21621
|
}
|
|
21622
|
+
/**
|
|
21623
|
+
* This operation queries regions in which API Gateway is available.
|
|
21624
|
+
* * This operation is intended for API providers and callers.
|
|
21625
|
+
*
|
|
21626
|
+
* @param request DescribeRegionsRequest
|
|
21627
|
+
* @return DescribeRegionsResponse
|
|
21628
|
+
*/
|
|
20533
21629
|
async describeRegions(request) {
|
|
20534
21630
|
let runtime = new $Util.RuntimeOptions({});
|
|
20535
21631
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
20536
21632
|
}
|
|
21633
|
+
/**
|
|
21634
|
+
* Queries backend signature keys.
|
|
21635
|
+
*
|
|
21636
|
+
* @param request DescribeSignaturesRequest
|
|
21637
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21638
|
+
* @return DescribeSignaturesResponse
|
|
21639
|
+
*/
|
|
20537
21640
|
async describeSignaturesWithOptions(request, runtime) {
|
|
20538
21641
|
tea_util_1.default.validateModel(request);
|
|
20539
21642
|
let query = {};
|
|
@@ -20568,10 +21671,23 @@ class Client extends openapi_client_1.default {
|
|
|
20568
21671
|
});
|
|
20569
21672
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSignaturesResponse({}));
|
|
20570
21673
|
}
|
|
21674
|
+
/**
|
|
21675
|
+
* Queries backend signature keys.
|
|
21676
|
+
*
|
|
21677
|
+
* @param request DescribeSignaturesRequest
|
|
21678
|
+
* @return DescribeSignaturesResponse
|
|
21679
|
+
*/
|
|
20571
21680
|
async describeSignatures(request) {
|
|
20572
21681
|
let runtime = new $Util.RuntimeOptions({});
|
|
20573
21682
|
return await this.describeSignaturesWithOptions(request, runtime);
|
|
20574
21683
|
}
|
|
21684
|
+
/**
|
|
21685
|
+
* Queries the backend signature keys that are bound to a specified API.
|
|
21686
|
+
*
|
|
21687
|
+
* @param request DescribeSignaturesByApiRequest
|
|
21688
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21689
|
+
* @return DescribeSignaturesByApiResponse
|
|
21690
|
+
*/
|
|
20575
21691
|
async describeSignaturesByApiWithOptions(request, runtime) {
|
|
20576
21692
|
tea_util_1.default.validateModel(request);
|
|
20577
21693
|
let query = {};
|
|
@@ -20603,10 +21719,24 @@ class Client extends openapi_client_1.default {
|
|
|
20603
21719
|
});
|
|
20604
21720
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSignaturesByApiResponse({}));
|
|
20605
21721
|
}
|
|
21722
|
+
/**
|
|
21723
|
+
* Queries the backend signature keys that are bound to a specified API.
|
|
21724
|
+
*
|
|
21725
|
+
* @param request DescribeSignaturesByApiRequest
|
|
21726
|
+
* @return DescribeSignaturesByApiResponse
|
|
21727
|
+
*/
|
|
20606
21728
|
async describeSignaturesByApi(request) {
|
|
20607
21729
|
let runtime = new $Util.RuntimeOptions({});
|
|
20608
21730
|
return await this.describeSignaturesByApiWithOptions(request, runtime);
|
|
20609
21731
|
}
|
|
21732
|
+
/**
|
|
21733
|
+
* * This API is intended for API callers.
|
|
21734
|
+
* * The response of this API contains the system parameters that are optional in API definitions.
|
|
21735
|
+
*
|
|
21736
|
+
* @param request DescribeSystemParametersRequest
|
|
21737
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21738
|
+
* @return DescribeSystemParametersResponse
|
|
21739
|
+
*/
|
|
20610
21740
|
async describeSystemParametersWithOptions(request, runtime) {
|
|
20611
21741
|
tea_util_1.default.validateModel(request);
|
|
20612
21742
|
let query = {};
|
|
@@ -20629,10 +21759,26 @@ class Client extends openapi_client_1.default {
|
|
|
20629
21759
|
});
|
|
20630
21760
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeSystemParametersResponse({}));
|
|
20631
21761
|
}
|
|
21762
|
+
/**
|
|
21763
|
+
* * This API is intended for API callers.
|
|
21764
|
+
* * The response of this API contains the system parameters that are optional in API definitions.
|
|
21765
|
+
*
|
|
21766
|
+
* @param request DescribeSystemParametersRequest
|
|
21767
|
+
* @return DescribeSystemParametersResponse
|
|
21768
|
+
*/
|
|
20632
21769
|
async describeSystemParameters(request) {
|
|
20633
21770
|
let runtime = new $Util.RuntimeOptions({});
|
|
20634
21771
|
return await this.describeSystemParametersWithOptions(request, runtime);
|
|
20635
21772
|
}
|
|
21773
|
+
/**
|
|
21774
|
+
* * This API is intended for API providers.
|
|
21775
|
+
* * This API can be used to query all existing throttling policies (including special throttling policies) and their details.
|
|
21776
|
+
* * You can specify query conditions. For example, you can query the throttling policies bound to a specified API or in a specified environment.
|
|
21777
|
+
*
|
|
21778
|
+
* @param request DescribeTrafficControlsRequest
|
|
21779
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21780
|
+
* @return DescribeTrafficControlsResponse
|
|
21781
|
+
*/
|
|
20636
21782
|
async describeTrafficControlsWithOptions(request, runtime) {
|
|
20637
21783
|
tea_util_1.default.validateModel(request);
|
|
20638
21784
|
let query = {};
|
|
@@ -20676,10 +21822,25 @@ class Client extends openapi_client_1.default {
|
|
|
20676
21822
|
});
|
|
20677
21823
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrafficControlsResponse({}));
|
|
20678
21824
|
}
|
|
21825
|
+
/**
|
|
21826
|
+
* * This API is intended for API providers.
|
|
21827
|
+
* * This API can be used to query all existing throttling policies (including special throttling policies) and their details.
|
|
21828
|
+
* * You can specify query conditions. For example, you can query the throttling policies bound to a specified API or in a specified environment.
|
|
21829
|
+
*
|
|
21830
|
+
* @param request DescribeTrafficControlsRequest
|
|
21831
|
+
* @return DescribeTrafficControlsResponse
|
|
21832
|
+
*/
|
|
20679
21833
|
async describeTrafficControls(request) {
|
|
20680
21834
|
let runtime = new $Util.RuntimeOptions({});
|
|
20681
21835
|
return await this.describeTrafficControlsWithOptions(request, runtime);
|
|
20682
21836
|
}
|
|
21837
|
+
/**
|
|
21838
|
+
* * This API is intended for API providers.
|
|
21839
|
+
*
|
|
21840
|
+
* @param request DescribeTrafficControlsByApiRequest
|
|
21841
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21842
|
+
* @return DescribeTrafficControlsByApiResponse
|
|
21843
|
+
*/
|
|
20683
21844
|
async describeTrafficControlsByApiWithOptions(request, runtime) {
|
|
20684
21845
|
tea_util_1.default.validateModel(request);
|
|
20685
21846
|
let query = {};
|
|
@@ -20711,6 +21872,12 @@ class Client extends openapi_client_1.default {
|
|
|
20711
21872
|
});
|
|
20712
21873
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeTrafficControlsByApiResponse({}));
|
|
20713
21874
|
}
|
|
21875
|
+
/**
|
|
21876
|
+
* * This API is intended for API providers.
|
|
21877
|
+
*
|
|
21878
|
+
* @param request DescribeTrafficControlsByApiRequest
|
|
21879
|
+
* @return DescribeTrafficControlsByApiResponse
|
|
21880
|
+
*/
|
|
20714
21881
|
async describeTrafficControlsByApi(request) {
|
|
20715
21882
|
let runtime = new $Util.RuntimeOptions({});
|
|
20716
21883
|
return await this.describeTrafficControlsByApiWithOptions(request, runtime);
|
|
@@ -21063,6 +22230,14 @@ class Client extends openapi_client_1.default {
|
|
|
21063
22230
|
let runtime = new $Util.RuntimeOptions({});
|
|
21064
22231
|
return await this.importOASWithOptions(request, runtime);
|
|
21065
22232
|
}
|
|
22233
|
+
/**
|
|
22234
|
+
* * Alibaba Cloud supports extensions based on Swagger 2.0.
|
|
22235
|
+
* * Alibaba Cloud supports Swagger configuration files in JSON and YAML formats.
|
|
22236
|
+
*
|
|
22237
|
+
* @param tmpReq ImportSwaggerRequest
|
|
22238
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22239
|
+
* @return ImportSwaggerResponse
|
|
22240
|
+
*/
|
|
21066
22241
|
async importSwaggerWithOptions(tmpReq, runtime) {
|
|
21067
22242
|
tea_util_1.default.validateModel(tmpReq);
|
|
21068
22243
|
let request = new ImportSwaggerShrinkRequest({});
|
|
@@ -21110,10 +22285,32 @@ class Client extends openapi_client_1.default {
|
|
|
21110
22285
|
});
|
|
21111
22286
|
return $tea.cast(await this.callApi(params, req, runtime), new ImportSwaggerResponse({}));
|
|
21112
22287
|
}
|
|
22288
|
+
/**
|
|
22289
|
+
* * Alibaba Cloud supports extensions based on Swagger 2.0.
|
|
22290
|
+
* * Alibaba Cloud supports Swagger configuration files in JSON and YAML formats.
|
|
22291
|
+
*
|
|
22292
|
+
* @param request ImportSwaggerRequest
|
|
22293
|
+
* @return ImportSwaggerResponse
|
|
22294
|
+
*/
|
|
21113
22295
|
async importSwagger(request) {
|
|
21114
22296
|
let runtime = new $Util.RuntimeOptions({});
|
|
21115
22297
|
return await this.importSwaggerWithOptions(request, runtime);
|
|
21116
22298
|
}
|
|
22299
|
+
/**
|
|
22300
|
+
* * The Tag.N.Key and Tag.N.Value parameters constitute a key-value pair.
|
|
22301
|
+
* * 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.
|
|
22302
|
+
* * This operation is used to query resource tags based on conditions. If no relationship matches the conditions, an empty list is returned.
|
|
22303
|
+
* * You can query both user tags and visible system tags.
|
|
22304
|
+
* * 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.
|
|
22305
|
+
* * You can also specify Tag.N.Key to query the visible keys of a specified key in a region.
|
|
22306
|
+
* * At least one of ResourceId.N, Tag.N.Key, and Tag.N.Value exists.
|
|
22307
|
+
* * You can query tags of the same type or different types in a single operation.
|
|
22308
|
+
* * You can query all your user tags and visible system tags.
|
|
22309
|
+
*
|
|
22310
|
+
* @param request ListTagResourcesRequest
|
|
22311
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22312
|
+
* @return ListTagResourcesResponse
|
|
22313
|
+
*/
|
|
21117
22314
|
async listTagResourcesWithOptions(request, runtime) {
|
|
21118
22315
|
tea_util_1.default.validateModel(request);
|
|
21119
22316
|
let query = {};
|
|
@@ -21145,10 +22342,31 @@ class Client extends openapi_client_1.default {
|
|
|
21145
22342
|
});
|
|
21146
22343
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
21147
22344
|
}
|
|
22345
|
+
/**
|
|
22346
|
+
* * The Tag.N.Key and Tag.N.Value parameters constitute a key-value pair.
|
|
22347
|
+
* * 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.
|
|
22348
|
+
* * This operation is used to query resource tags based on conditions. If no relationship matches the conditions, an empty list is returned.
|
|
22349
|
+
* * You can query both user tags and visible system tags.
|
|
22350
|
+
* * 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.
|
|
22351
|
+
* * You can also specify Tag.N.Key to query the visible keys of a specified key in a region.
|
|
22352
|
+
* * At least one of ResourceId.N, Tag.N.Key, and Tag.N.Value exists.
|
|
22353
|
+
* * You can query tags of the same type or different types in a single operation.
|
|
22354
|
+
* * You can query all your user tags and visible system tags.
|
|
22355
|
+
*
|
|
22356
|
+
* @param request ListTagResourcesRequest
|
|
22357
|
+
* @return ListTagResourcesResponse
|
|
22358
|
+
*/
|
|
21148
22359
|
async listTagResources(request) {
|
|
21149
22360
|
let runtime = new $Util.RuntimeOptions({});
|
|
21150
22361
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
21151
22362
|
}
|
|
22363
|
+
/**
|
|
22364
|
+
* Modifies the definition of an API.
|
|
22365
|
+
*
|
|
22366
|
+
* @param request ModifyApiRequest
|
|
22367
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22368
|
+
* @return ModifyApiResponse
|
|
22369
|
+
*/
|
|
21152
22370
|
async modifyApiWithOptions(request, runtime) {
|
|
21153
22371
|
tea_util_1.default.validateModel(request);
|
|
21154
22372
|
let query = {};
|
|
@@ -21252,6 +22470,12 @@ class Client extends openapi_client_1.default {
|
|
|
21252
22470
|
});
|
|
21253
22471
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyApiResponse({}));
|
|
21254
22472
|
}
|
|
22473
|
+
/**
|
|
22474
|
+
* Modifies the definition of an API.
|
|
22475
|
+
*
|
|
22476
|
+
* @param request ModifyApiRequest
|
|
22477
|
+
* @return ModifyApiResponse
|
|
22478
|
+
*/
|
|
21255
22479
|
async modifyApi(request) {
|
|
21256
22480
|
let runtime = new $Util.RuntimeOptions({});
|
|
21257
22481
|
return await this.modifyApiWithOptions(request, runtime);
|
|
@@ -21387,6 +22611,14 @@ class Client extends openapi_client_1.default {
|
|
|
21387
22611
|
let runtime = new $Util.RuntimeOptions({});
|
|
21388
22612
|
return await this.modifyApiConfigurationWithOptions(request, runtime);
|
|
21389
22613
|
}
|
|
22614
|
+
/**
|
|
22615
|
+
* * This operation is intended for API providers.
|
|
22616
|
+
* * The QPS limit on this operation is 50 per user.
|
|
22617
|
+
*
|
|
22618
|
+
* @param request ModifyApiGroupRequest
|
|
22619
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22620
|
+
* @return ModifyApiGroupResponse
|
|
22621
|
+
*/
|
|
21390
22622
|
async modifyApiGroupWithOptions(request, runtime) {
|
|
21391
22623
|
tea_util_1.default.validateModel(request);
|
|
21392
22624
|
let query = {};
|
|
@@ -21445,6 +22677,13 @@ class Client extends openapi_client_1.default {
|
|
|
21445
22677
|
});
|
|
21446
22678
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyApiGroupResponse({}));
|
|
21447
22679
|
}
|
|
22680
|
+
/**
|
|
22681
|
+
* * This operation is intended for API providers.
|
|
22682
|
+
* * The QPS limit on this operation is 50 per user.
|
|
22683
|
+
*
|
|
22684
|
+
* @param request ModifyApiGroupRequest
|
|
22685
|
+
* @return ModifyApiGroupResponse
|
|
22686
|
+
*/
|
|
21448
22687
|
async modifyApiGroup(request) {
|
|
21449
22688
|
let runtime = new $Util.RuntimeOptions({});
|
|
21450
22689
|
return await this.modifyApiGroupWithOptions(request, runtime);
|
|
@@ -21481,6 +22720,15 @@ class Client extends openapi_client_1.default {
|
|
|
21481
22720
|
let runtime = new $Util.RuntimeOptions({});
|
|
21482
22721
|
return await this.modifyApiGroupVpcWhitelistWithOptions(request, runtime);
|
|
21483
22722
|
}
|
|
22723
|
+
/**
|
|
22724
|
+
* * This operation is intended for API callers.
|
|
22725
|
+
* * AppName or Description can be modified. If these parameters are not specified, no modifications are made and the operation will directly return a successful response.********
|
|
22726
|
+
* * The QPS limit on this operation is 50 per user.
|
|
22727
|
+
*
|
|
22728
|
+
* @param request ModifyAppRequest
|
|
22729
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22730
|
+
* @return ModifyAppResponse
|
|
22731
|
+
*/
|
|
21484
22732
|
async modifyAppWithOptions(request, runtime) {
|
|
21485
22733
|
tea_util_1.default.validateModel(request);
|
|
21486
22734
|
let query = {};
|
|
@@ -21515,6 +22763,14 @@ class Client extends openapi_client_1.default {
|
|
|
21515
22763
|
});
|
|
21516
22764
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyAppResponse({}));
|
|
21517
22765
|
}
|
|
22766
|
+
/**
|
|
22767
|
+
* * This operation is intended for API callers.
|
|
22768
|
+
* * AppName or Description can be modified. If these parameters are not specified, no modifications are made and the operation will directly return a successful response.********
|
|
22769
|
+
* * The QPS limit on this operation is 50 per user.
|
|
22770
|
+
*
|
|
22771
|
+
* @param request ModifyAppRequest
|
|
22772
|
+
* @return ModifyAppResponse
|
|
22773
|
+
*/
|
|
21518
22774
|
async modifyApp(request) {
|
|
21519
22775
|
let runtime = new $Util.RuntimeOptions({});
|
|
21520
22776
|
return await this.modifyAppWithOptions(request, runtime);
|
|
@@ -21712,6 +22968,14 @@ class Client extends openapi_client_1.default {
|
|
|
21712
22968
|
let runtime = new $Util.RuntimeOptions({});
|
|
21713
22969
|
return await this.modifyInstanceSpecWithOptions(request, runtime);
|
|
21714
22970
|
}
|
|
22971
|
+
/**
|
|
22972
|
+
* * This operation is intended for API providers.
|
|
22973
|
+
* * This operation allows you to modify only the name and description of an ACL. You cannot modify the type of the ACL.
|
|
22974
|
+
*
|
|
22975
|
+
* @param request ModifyIpControlRequest
|
|
22976
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22977
|
+
* @return ModifyIpControlResponse
|
|
22978
|
+
*/
|
|
21715
22979
|
async modifyIpControlWithOptions(request, runtime) {
|
|
21716
22980
|
tea_util_1.default.validateModel(request);
|
|
21717
22981
|
let query = {};
|
|
@@ -21743,10 +23007,26 @@ class Client extends openapi_client_1.default {
|
|
|
21743
23007
|
});
|
|
21744
23008
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyIpControlResponse({}));
|
|
21745
23009
|
}
|
|
23010
|
+
/**
|
|
23011
|
+
* * This operation is intended for API providers.
|
|
23012
|
+
* * This operation allows you to modify only the name and description of an ACL. You cannot modify the type of the ACL.
|
|
23013
|
+
*
|
|
23014
|
+
* @param request ModifyIpControlRequest
|
|
23015
|
+
* @return ModifyIpControlResponse
|
|
23016
|
+
*/
|
|
21746
23017
|
async modifyIpControl(request) {
|
|
21747
23018
|
let runtime = new $Util.RuntimeOptions({});
|
|
21748
23019
|
return await this.modifyIpControlWithOptions(request, runtime);
|
|
21749
23020
|
}
|
|
23021
|
+
/**
|
|
23022
|
+
* * This operation is intended for API providers.
|
|
23023
|
+
* * The modification immediately takes effect on all the APIs that are bound to the policy.
|
|
23024
|
+
* * This operation causes a full modification of the content of a policy.
|
|
23025
|
+
*
|
|
23026
|
+
* @param request ModifyIpControlPolicyItemRequest
|
|
23027
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23028
|
+
* @return ModifyIpControlPolicyItemResponse
|
|
23029
|
+
*/
|
|
21750
23030
|
async modifyIpControlPolicyItemWithOptions(request, runtime) {
|
|
21751
23031
|
tea_util_1.default.validateModel(request);
|
|
21752
23032
|
let query = {};
|
|
@@ -21781,6 +23061,14 @@ class Client extends openapi_client_1.default {
|
|
|
21781
23061
|
});
|
|
21782
23062
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyIpControlPolicyItemResponse({}));
|
|
21783
23063
|
}
|
|
23064
|
+
/**
|
|
23065
|
+
* * This operation is intended for API providers.
|
|
23066
|
+
* * The modification immediately takes effect on all the APIs that are bound to the policy.
|
|
23067
|
+
* * This operation causes a full modification of the content of a policy.
|
|
23068
|
+
*
|
|
23069
|
+
* @param request ModifyIpControlPolicyItemRequest
|
|
23070
|
+
* @return ModifyIpControlPolicyItemResponse
|
|
23071
|
+
*/
|
|
21784
23072
|
async modifyIpControlPolicyItem(request) {
|
|
21785
23073
|
let runtime = new $Util.RuntimeOptions({});
|
|
21786
23074
|
return await this.modifyIpControlPolicyItemWithOptions(request, runtime);
|
|
@@ -21858,6 +23146,14 @@ class Client extends openapi_client_1.default {
|
|
|
21858
23146
|
let runtime = new $Util.RuntimeOptions({});
|
|
21859
23147
|
return await this.modifyModelWithOptions(request, runtime);
|
|
21860
23148
|
}
|
|
23149
|
+
/**
|
|
23150
|
+
* * This operation is intended for API providers.
|
|
23151
|
+
* * The name of the plug-in must be unique.
|
|
23152
|
+
*
|
|
23153
|
+
* @param request ModifyPluginRequest
|
|
23154
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23155
|
+
* @return ModifyPluginResponse
|
|
23156
|
+
*/
|
|
21861
23157
|
async modifyPluginWithOptions(request, runtime) {
|
|
21862
23158
|
tea_util_1.default.validateModel(request);
|
|
21863
23159
|
let query = {};
|
|
@@ -21895,10 +23191,27 @@ class Client extends openapi_client_1.default {
|
|
|
21895
23191
|
});
|
|
21896
23192
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPluginResponse({}));
|
|
21897
23193
|
}
|
|
23194
|
+
/**
|
|
23195
|
+
* * This operation is intended for API providers.
|
|
23196
|
+
* * The name of the plug-in must be unique.
|
|
23197
|
+
*
|
|
23198
|
+
* @param request ModifyPluginRequest
|
|
23199
|
+
* @return ModifyPluginResponse
|
|
23200
|
+
*/
|
|
21898
23201
|
async modifyPlugin(request) {
|
|
21899
23202
|
let runtime = new $Util.RuntimeOptions({});
|
|
21900
23203
|
return await this.modifyPluginWithOptions(request, runtime);
|
|
21901
23204
|
}
|
|
23205
|
+
/**
|
|
23206
|
+
* * This API is intended for API providers.
|
|
23207
|
+
* * This API operation modifies the name, Key value, and Secret value of an existing signature key.
|
|
23208
|
+
* * 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.
|
|
23209
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23210
|
+
*
|
|
23211
|
+
* @param request ModifySignatureRequest
|
|
23212
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23213
|
+
* @return ModifySignatureResponse
|
|
23214
|
+
*/
|
|
21902
23215
|
async modifySignatureWithOptions(request, runtime) {
|
|
21903
23216
|
tea_util_1.default.validateModel(request);
|
|
21904
23217
|
let query = {};
|
|
@@ -21933,10 +23246,28 @@ class Client extends openapi_client_1.default {
|
|
|
21933
23246
|
});
|
|
21934
23247
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifySignatureResponse({}));
|
|
21935
23248
|
}
|
|
23249
|
+
/**
|
|
23250
|
+
* * This API is intended for API providers.
|
|
23251
|
+
* * This API operation modifies the name, Key value, and Secret value of an existing signature key.
|
|
23252
|
+
* * 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.
|
|
23253
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23254
|
+
*
|
|
23255
|
+
* @param request ModifySignatureRequest
|
|
23256
|
+
* @return ModifySignatureResponse
|
|
23257
|
+
*/
|
|
21936
23258
|
async modifySignature(request) {
|
|
21937
23259
|
let runtime = new $Util.RuntimeOptions({});
|
|
21938
23260
|
return await this.modifySignatureWithOptions(request, runtime);
|
|
21939
23261
|
}
|
|
23262
|
+
/**
|
|
23263
|
+
* * This API is intended for API providers.
|
|
23264
|
+
* * The modifications take effect on the bound APIs instantly.
|
|
23265
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23266
|
+
*
|
|
23267
|
+
* @param request ModifyTrafficControlRequest
|
|
23268
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23269
|
+
* @return ModifyTrafficControlResponse
|
|
23270
|
+
*/
|
|
21940
23271
|
async modifyTrafficControlWithOptions(request, runtime) {
|
|
21941
23272
|
tea_util_1.default.validateModel(request);
|
|
21942
23273
|
let query = {};
|
|
@@ -21980,6 +23311,14 @@ class Client extends openapi_client_1.default {
|
|
|
21980
23311
|
});
|
|
21981
23312
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyTrafficControlResponse({}));
|
|
21982
23313
|
}
|
|
23314
|
+
/**
|
|
23315
|
+
* * This API is intended for API providers.
|
|
23316
|
+
* * The modifications take effect on the bound APIs instantly.
|
|
23317
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23318
|
+
*
|
|
23319
|
+
* @param request ModifyTrafficControlRequest
|
|
23320
|
+
* @return ModifyTrafficControlResponse
|
|
23321
|
+
*/
|
|
21983
23322
|
async modifyTrafficControl(request) {
|
|
21984
23323
|
let runtime = new $Util.RuntimeOptions({});
|
|
21985
23324
|
return await this.modifyTrafficControlWithOptions(request, runtime);
|
|
@@ -22082,6 +23421,13 @@ class Client extends openapi_client_1.default {
|
|
|
22082
23421
|
let runtime = new $Util.RuntimeOptions({});
|
|
22083
23422
|
return await this.queryRequestLogsWithOptions(request, runtime);
|
|
22084
23423
|
}
|
|
23424
|
+
/**
|
|
23425
|
+
* Reactivates a custom domain name whose validity status is Abnormal.
|
|
23426
|
+
*
|
|
23427
|
+
* @param request ReactivateDomainRequest
|
|
23428
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23429
|
+
* @return ReactivateDomainResponse
|
|
23430
|
+
*/
|
|
22085
23431
|
async reactivateDomainWithOptions(request, runtime) {
|
|
22086
23432
|
tea_util_1.default.validateModel(request);
|
|
22087
23433
|
let query = {};
|
|
@@ -22110,6 +23456,12 @@ class Client extends openapi_client_1.default {
|
|
|
22110
23456
|
});
|
|
22111
23457
|
return $tea.cast(await this.callApi(params, req, runtime), new ReactivateDomainResponse({}));
|
|
22112
23458
|
}
|
|
23459
|
+
/**
|
|
23460
|
+
* Reactivates a custom domain name whose validity status is Abnormal.
|
|
23461
|
+
*
|
|
23462
|
+
* @param request ReactivateDomainRequest
|
|
23463
|
+
* @return ReactivateDomainResponse
|
|
23464
|
+
*/
|
|
22113
23465
|
async reactivateDomain(request) {
|
|
22114
23466
|
let runtime = new $Util.RuntimeOptions({});
|
|
22115
23467
|
return await this.reactivateDomainWithOptions(request, runtime);
|
|
@@ -22146,6 +23498,14 @@ class Client extends openapi_client_1.default {
|
|
|
22146
23498
|
let runtime = new $Util.RuntimeOptions({});
|
|
22147
23499
|
return await this.removeAccessControlListEntryWithOptions(request, runtime);
|
|
22148
23500
|
}
|
|
23501
|
+
/**
|
|
23502
|
+
* * This operation is intended for API providers and callers.
|
|
23503
|
+
* * 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.
|
|
23504
|
+
*
|
|
23505
|
+
* @param request RemoveApisAuthoritiesRequest
|
|
23506
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23507
|
+
* @return RemoveApisAuthoritiesResponse
|
|
23508
|
+
*/
|
|
22149
23509
|
async removeApisAuthoritiesWithOptions(request, runtime) {
|
|
22150
23510
|
tea_util_1.default.validateModel(request);
|
|
22151
23511
|
let query = {};
|
|
@@ -22183,10 +23543,25 @@ class Client extends openapi_client_1.default {
|
|
|
22183
23543
|
});
|
|
22184
23544
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveApisAuthoritiesResponse({}));
|
|
22185
23545
|
}
|
|
23546
|
+
/**
|
|
23547
|
+
* * This operation is intended for API providers and callers.
|
|
23548
|
+
* * 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.
|
|
23549
|
+
*
|
|
23550
|
+
* @param request RemoveApisAuthoritiesRequest
|
|
23551
|
+
* @return RemoveApisAuthoritiesResponse
|
|
23552
|
+
*/
|
|
22186
23553
|
async removeApisAuthorities(request) {
|
|
22187
23554
|
let runtime = new $Util.RuntimeOptions({});
|
|
22188
23555
|
return await this.removeApisAuthoritiesWithOptions(request, runtime);
|
|
22189
23556
|
}
|
|
23557
|
+
/**
|
|
23558
|
+
* * This operation is intended for API providers and callers.
|
|
23559
|
+
* * 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.
|
|
23560
|
+
*
|
|
23561
|
+
* @param request RemoveAppsAuthoritiesRequest
|
|
23562
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23563
|
+
* @return RemoveAppsAuthoritiesResponse
|
|
23564
|
+
*/
|
|
22190
23565
|
async removeAppsAuthoritiesWithOptions(request, runtime) {
|
|
22191
23566
|
tea_util_1.default.validateModel(request);
|
|
22192
23567
|
let query = {};
|
|
@@ -22221,10 +23596,25 @@ class Client extends openapi_client_1.default {
|
|
|
22221
23596
|
});
|
|
22222
23597
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveAppsAuthoritiesResponse({}));
|
|
22223
23598
|
}
|
|
23599
|
+
/**
|
|
23600
|
+
* * This operation is intended for API providers and callers.
|
|
23601
|
+
* * 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.
|
|
23602
|
+
*
|
|
23603
|
+
* @param request RemoveAppsAuthoritiesRequest
|
|
23604
|
+
* @return RemoveAppsAuthoritiesResponse
|
|
23605
|
+
*/
|
|
22224
23606
|
async removeAppsAuthorities(request) {
|
|
22225
23607
|
let runtime = new $Util.RuntimeOptions({});
|
|
22226
23608
|
return await this.removeAppsAuthoritiesWithOptions(request, runtime);
|
|
22227
23609
|
}
|
|
23610
|
+
/**
|
|
23611
|
+
* * This API is intended for API providers.
|
|
23612
|
+
* * 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.
|
|
23613
|
+
*
|
|
23614
|
+
* @param request RemoveIpControlApisRequest
|
|
23615
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23616
|
+
* @return RemoveIpControlApisResponse
|
|
23617
|
+
*/
|
|
22228
23618
|
async removeIpControlApisWithOptions(request, runtime) {
|
|
22229
23619
|
tea_util_1.default.validateModel(request);
|
|
22230
23620
|
let query = {};
|
|
@@ -22259,10 +23649,24 @@ class Client extends openapi_client_1.default {
|
|
|
22259
23649
|
});
|
|
22260
23650
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveIpControlApisResponse({}));
|
|
22261
23651
|
}
|
|
23652
|
+
/**
|
|
23653
|
+
* * This API is intended for API providers.
|
|
23654
|
+
* * 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.
|
|
23655
|
+
*
|
|
23656
|
+
* @param request RemoveIpControlApisRequest
|
|
23657
|
+
* @return RemoveIpControlApisResponse
|
|
23658
|
+
*/
|
|
22262
23659
|
async removeIpControlApis(request) {
|
|
22263
23660
|
let runtime = new $Util.RuntimeOptions({});
|
|
22264
23661
|
return await this.removeIpControlApisWithOptions(request, runtime);
|
|
22265
23662
|
}
|
|
23663
|
+
/**
|
|
23664
|
+
* * This operation is intended for API providers.
|
|
23665
|
+
*
|
|
23666
|
+
* @param request RemoveIpControlPolicyItemRequest
|
|
23667
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23668
|
+
* @return RemoveIpControlPolicyItemResponse
|
|
23669
|
+
*/
|
|
22266
23670
|
async removeIpControlPolicyItemWithOptions(request, runtime) {
|
|
22267
23671
|
tea_util_1.default.validateModel(request);
|
|
22268
23672
|
let query = {};
|
|
@@ -22291,10 +23695,23 @@ class Client extends openapi_client_1.default {
|
|
|
22291
23695
|
});
|
|
22292
23696
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveIpControlPolicyItemResponse({}));
|
|
22293
23697
|
}
|
|
23698
|
+
/**
|
|
23699
|
+
* * This operation is intended for API providers.
|
|
23700
|
+
*
|
|
23701
|
+
* @param request RemoveIpControlPolicyItemRequest
|
|
23702
|
+
* @return RemoveIpControlPolicyItemResponse
|
|
23703
|
+
*/
|
|
22294
23704
|
async removeIpControlPolicyItem(request) {
|
|
22295
23705
|
let runtime = new $Util.RuntimeOptions({});
|
|
22296
23706
|
return await this.removeIpControlPolicyItemWithOptions(request, runtime);
|
|
22297
23707
|
}
|
|
23708
|
+
/**
|
|
23709
|
+
* Unbinds a backend signature key from APIs.
|
|
23710
|
+
*
|
|
23711
|
+
* @param request RemoveSignatureApisRequest
|
|
23712
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23713
|
+
* @return RemoveSignatureApisResponse
|
|
23714
|
+
*/
|
|
22298
23715
|
async removeSignatureApisWithOptions(request, runtime) {
|
|
22299
23716
|
tea_util_1.default.validateModel(request);
|
|
22300
23717
|
let query = {};
|
|
@@ -22329,10 +23746,24 @@ class Client extends openapi_client_1.default {
|
|
|
22329
23746
|
});
|
|
22330
23747
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveSignatureApisResponse({}));
|
|
22331
23748
|
}
|
|
23749
|
+
/**
|
|
23750
|
+
* Unbinds a backend signature key from APIs.
|
|
23751
|
+
*
|
|
23752
|
+
* @param request RemoveSignatureApisRequest
|
|
23753
|
+
* @return RemoveSignatureApisResponse
|
|
23754
|
+
*/
|
|
22332
23755
|
async removeSignatureApis(request) {
|
|
22333
23756
|
let runtime = new $Util.RuntimeOptions({});
|
|
22334
23757
|
return await this.removeSignatureApisWithOptions(request, runtime);
|
|
22335
23758
|
}
|
|
23759
|
+
/**
|
|
23760
|
+
* * This API is intended for API providers.
|
|
23761
|
+
* * This API allows you to unbind a specified throttling policy from up to 100 APIs at a time.
|
|
23762
|
+
*
|
|
23763
|
+
* @param request RemoveTrafficControlApisRequest
|
|
23764
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23765
|
+
* @return RemoveTrafficControlApisResponse
|
|
23766
|
+
*/
|
|
22336
23767
|
async removeTrafficControlApisWithOptions(request, runtime) {
|
|
22337
23768
|
tea_util_1.default.validateModel(request);
|
|
22338
23769
|
let query = {};
|
|
@@ -22367,10 +23798,26 @@ class Client extends openapi_client_1.default {
|
|
|
22367
23798
|
});
|
|
22368
23799
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveTrafficControlApisResponse({}));
|
|
22369
23800
|
}
|
|
23801
|
+
/**
|
|
23802
|
+
* * This API is intended for API providers.
|
|
23803
|
+
* * This API allows you to unbind a specified throttling policy from up to 100 APIs at a time.
|
|
23804
|
+
*
|
|
23805
|
+
* @param request RemoveTrafficControlApisRequest
|
|
23806
|
+
* @return RemoveTrafficControlApisResponse
|
|
23807
|
+
*/
|
|
22370
23808
|
async removeTrafficControlApis(request) {
|
|
22371
23809
|
let runtime = new $Util.RuntimeOptions({});
|
|
22372
23810
|
return await this.removeTrafficControlApisWithOptions(request, runtime);
|
|
22373
23811
|
}
|
|
23812
|
+
/**
|
|
23813
|
+
* * This API is intended for API providers.
|
|
23814
|
+
* * Revokes the permissions of API Gateway to access your VPC instance.
|
|
23815
|
+
* > Deleting an authorization affects the associated API. Before you delete the authorization, make sure that it is not used by the API.
|
|
23816
|
+
*
|
|
23817
|
+
* @param request RemoveVpcAccessRequest
|
|
23818
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23819
|
+
* @return RemoveVpcAccessResponse
|
|
23820
|
+
*/
|
|
22374
23821
|
async removeVpcAccessWithOptions(request, runtime) {
|
|
22375
23822
|
tea_util_1.default.validateModel(request);
|
|
22376
23823
|
let query = {};
|
|
@@ -22405,6 +23852,14 @@ class Client extends openapi_client_1.default {
|
|
|
22405
23852
|
});
|
|
22406
23853
|
return $tea.cast(await this.callApi(params, req, runtime), new RemoveVpcAccessResponse({}));
|
|
22407
23854
|
}
|
|
23855
|
+
/**
|
|
23856
|
+
* * This API is intended for API providers.
|
|
23857
|
+
* * Revokes the permissions of API Gateway to access your VPC instance.
|
|
23858
|
+
* > Deleting an authorization affects the associated API. Before you delete the authorization, make sure that it is not used by the API.
|
|
23859
|
+
*
|
|
23860
|
+
* @param request RemoveVpcAccessRequest
|
|
23861
|
+
* @return RemoveVpcAccessResponse
|
|
23862
|
+
*/
|
|
22408
23863
|
async removeVpcAccess(request) {
|
|
22409
23864
|
let runtime = new $Util.RuntimeOptions({});
|
|
22410
23865
|
return await this.removeVpcAccessWithOptions(request, runtime);
|
|
@@ -22479,6 +23934,15 @@ class Client extends openapi_client_1.default {
|
|
|
22479
23934
|
let runtime = new $Util.RuntimeOptions({});
|
|
22480
23935
|
return await this.resetAppCodeWithOptions(request, runtime);
|
|
22481
23936
|
}
|
|
23937
|
+
/**
|
|
23938
|
+
* * This operation is intended for API callers.
|
|
23939
|
+
* * A new secret is automatically generated after you have called this operation. This secret cannot be customized.
|
|
23940
|
+
* * The results returned by this operation do not contain the application secret. You can obtain the secret by calling DescribeAppSecurity.
|
|
23941
|
+
*
|
|
23942
|
+
* @param request ResetAppSecretRequest
|
|
23943
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23944
|
+
* @return ResetAppSecretResponse
|
|
23945
|
+
*/
|
|
22482
23946
|
async resetAppSecretWithOptions(request, runtime) {
|
|
22483
23947
|
tea_util_1.default.validateModel(request);
|
|
22484
23948
|
let query = {};
|
|
@@ -22507,6 +23971,14 @@ class Client extends openapi_client_1.default {
|
|
|
22507
23971
|
});
|
|
22508
23972
|
return $tea.cast(await this.callApi(params, req, runtime), new ResetAppSecretResponse({}));
|
|
22509
23973
|
}
|
|
23974
|
+
/**
|
|
23975
|
+
* * This operation is intended for API callers.
|
|
23976
|
+
* * A new secret is automatically generated after you have called this operation. This secret cannot be customized.
|
|
23977
|
+
* * The results returned by this operation do not contain the application secret. You can obtain the secret by calling DescribeAppSecurity.
|
|
23978
|
+
*
|
|
23979
|
+
* @param request ResetAppSecretRequest
|
|
23980
|
+
* @return ResetAppSecretResponse
|
|
23981
|
+
*/
|
|
22510
23982
|
async resetAppSecret(request) {
|
|
22511
23983
|
let runtime = new $Util.RuntimeOptions({});
|
|
22512
23984
|
return await this.resetAppSecretWithOptions(request, runtime);
|
|
@@ -22639,6 +24111,15 @@ class Client extends openapi_client_1.default {
|
|
|
22639
24111
|
let runtime = new $Util.RuntimeOptions({});
|
|
22640
24112
|
return await this.setAccessControlListAttributeWithOptions(request, runtime);
|
|
22641
24113
|
}
|
|
24114
|
+
/**
|
|
24115
|
+
* * This operation is intended for API providers and callers.
|
|
24116
|
+
* * API providers can authorize any apps to call their APIs.
|
|
24117
|
+
* * API callers can authorize their own apps to call the APIs that they have purchased.
|
|
24118
|
+
*
|
|
24119
|
+
* @param request SetApisAuthoritiesRequest
|
|
24120
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24121
|
+
* @return SetApisAuthoritiesResponse
|
|
24122
|
+
*/
|
|
22642
24123
|
async setApisAuthoritiesWithOptions(request, runtime) {
|
|
22643
24124
|
tea_util_1.default.validateModel(request);
|
|
22644
24125
|
let query = {};
|
|
@@ -22679,10 +24160,27 @@ class Client extends openapi_client_1.default {
|
|
|
22679
24160
|
});
|
|
22680
24161
|
return $tea.cast(await this.callApi(params, req, runtime), new SetApisAuthoritiesResponse({}));
|
|
22681
24162
|
}
|
|
24163
|
+
/**
|
|
24164
|
+
* * This operation is intended for API providers and callers.
|
|
24165
|
+
* * API providers can authorize any apps to call their APIs.
|
|
24166
|
+
* * API callers can authorize their own apps to call the APIs that they have purchased.
|
|
24167
|
+
*
|
|
24168
|
+
* @param request SetApisAuthoritiesRequest
|
|
24169
|
+
* @return SetApisAuthoritiesResponse
|
|
24170
|
+
*/
|
|
22682
24171
|
async setApisAuthorities(request) {
|
|
22683
24172
|
let runtime = new $Util.RuntimeOptions({});
|
|
22684
24173
|
return await this.setApisAuthoritiesWithOptions(request, runtime);
|
|
22685
24174
|
}
|
|
24175
|
+
/**
|
|
24176
|
+
* * This operation is intended for API providers and callers.
|
|
24177
|
+
* * API providers can authorize any apps to call their APIs.
|
|
24178
|
+
* * API callers can authorize their own apps to call the APIs that they have purchased.
|
|
24179
|
+
*
|
|
24180
|
+
* @param request SetAppsAuthoritiesRequest
|
|
24181
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24182
|
+
* @return SetAppsAuthoritiesResponse
|
|
24183
|
+
*/
|
|
22686
24184
|
async setAppsAuthoritiesWithOptions(request, runtime) {
|
|
22687
24185
|
tea_util_1.default.validateModel(request);
|
|
22688
24186
|
let query = {};
|
|
@@ -22723,6 +24221,14 @@ class Client extends openapi_client_1.default {
|
|
|
22723
24221
|
});
|
|
22724
24222
|
return $tea.cast(await this.callApi(params, req, runtime), new SetAppsAuthoritiesResponse({}));
|
|
22725
24223
|
}
|
|
24224
|
+
/**
|
|
24225
|
+
* * This operation is intended for API providers and callers.
|
|
24226
|
+
* * API providers can authorize any apps to call their APIs.
|
|
24227
|
+
* * API callers can authorize their own apps to call the APIs that they have purchased.
|
|
24228
|
+
*
|
|
24229
|
+
* @param request SetAppsAuthoritiesRequest
|
|
24230
|
+
* @return SetAppsAuthoritiesResponse
|
|
24231
|
+
*/
|
|
22726
24232
|
async setAppsAuthorities(request) {
|
|
22727
24233
|
let runtime = new $Util.RuntimeOptions({});
|
|
22728
24234
|
return await this.setAppsAuthoritiesWithOptions(request, runtime);
|
|
@@ -22768,6 +24274,15 @@ class Client extends openapi_client_1.default {
|
|
|
22768
24274
|
let runtime = new $Util.RuntimeOptions({});
|
|
22769
24275
|
return await this.setDomainWithOptions(request, runtime);
|
|
22770
24276
|
}
|
|
24277
|
+
/**
|
|
24278
|
+
* * This operation is intended for API providers.
|
|
24279
|
+
* * The SSL certificate must match the custom domain name.
|
|
24280
|
+
* * After the SSL certificate is bound, HTTPS-based API services become available.
|
|
24281
|
+
*
|
|
24282
|
+
* @param request SetDomainCertificateRequest
|
|
24283
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24284
|
+
* @return SetDomainCertificateResponse
|
|
24285
|
+
*/
|
|
22771
24286
|
async setDomainCertificateWithOptions(request, runtime) {
|
|
22772
24287
|
tea_util_1.default.validateModel(request);
|
|
22773
24288
|
let query = {};
|
|
@@ -22811,6 +24326,14 @@ class Client extends openapi_client_1.default {
|
|
|
22811
24326
|
});
|
|
22812
24327
|
return $tea.cast(await this.callApi(params, req, runtime), new SetDomainCertificateResponse({}));
|
|
22813
24328
|
}
|
|
24329
|
+
/**
|
|
24330
|
+
* * This operation is intended for API providers.
|
|
24331
|
+
* * The SSL certificate must match the custom domain name.
|
|
24332
|
+
* * After the SSL certificate is bound, HTTPS-based API services become available.
|
|
24333
|
+
*
|
|
24334
|
+
* @param request SetDomainCertificateRequest
|
|
24335
|
+
* @return SetDomainCertificateResponse
|
|
24336
|
+
*/
|
|
22814
24337
|
async setDomainCertificate(request) {
|
|
22815
24338
|
let runtime = new $Util.RuntimeOptions({});
|
|
22816
24339
|
return await this.setDomainCertificateWithOptions(request, runtime);
|
|
@@ -22853,6 +24376,14 @@ class Client extends openapi_client_1.default {
|
|
|
22853
24376
|
let runtime = new $Util.RuntimeOptions({});
|
|
22854
24377
|
return await this.setDomainWebSocketStatusWithOptions(request, runtime);
|
|
22855
24378
|
}
|
|
24379
|
+
/**
|
|
24380
|
+
* * This operation is intended for API callers.
|
|
24381
|
+
* * A maximum of 100 APIs can be bound at a time.
|
|
24382
|
+
*
|
|
24383
|
+
* @param request SetIpControlApisRequest
|
|
24384
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24385
|
+
* @return SetIpControlApisResponse
|
|
24386
|
+
*/
|
|
22856
24387
|
async setIpControlApisWithOptions(request, runtime) {
|
|
22857
24388
|
tea_util_1.default.validateModel(request);
|
|
22858
24389
|
let query = {};
|
|
@@ -22887,10 +24418,24 @@ class Client extends openapi_client_1.default {
|
|
|
22887
24418
|
});
|
|
22888
24419
|
return $tea.cast(await this.callApi(params, req, runtime), new SetIpControlApisResponse({}));
|
|
22889
24420
|
}
|
|
24421
|
+
/**
|
|
24422
|
+
* * This operation is intended for API callers.
|
|
24423
|
+
* * A maximum of 100 APIs can be bound at a time.
|
|
24424
|
+
*
|
|
24425
|
+
* @param request SetIpControlApisRequest
|
|
24426
|
+
* @return SetIpControlApisResponse
|
|
24427
|
+
*/
|
|
22890
24428
|
async setIpControlApis(request) {
|
|
22891
24429
|
let runtime = new $Util.RuntimeOptions({});
|
|
22892
24430
|
return await this.setIpControlApisWithOptions(request, runtime);
|
|
22893
24431
|
}
|
|
24432
|
+
/**
|
|
24433
|
+
* Binds a signature key to APIs.
|
|
24434
|
+
*
|
|
24435
|
+
* @param request SetSignatureApisRequest
|
|
24436
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24437
|
+
* @return SetSignatureApisResponse
|
|
24438
|
+
*/
|
|
22894
24439
|
async setSignatureApisWithOptions(request, runtime) {
|
|
22895
24440
|
tea_util_1.default.validateModel(request);
|
|
22896
24441
|
let query = {};
|
|
@@ -22925,10 +24470,24 @@ class Client extends openapi_client_1.default {
|
|
|
22925
24470
|
});
|
|
22926
24471
|
return $tea.cast(await this.callApi(params, req, runtime), new SetSignatureApisResponse({}));
|
|
22927
24472
|
}
|
|
24473
|
+
/**
|
|
24474
|
+
* Binds a signature key to APIs.
|
|
24475
|
+
*
|
|
24476
|
+
* @param request SetSignatureApisRequest
|
|
24477
|
+
* @return SetSignatureApisResponse
|
|
24478
|
+
*/
|
|
22928
24479
|
async setSignatureApis(request) {
|
|
22929
24480
|
let runtime = new $Util.RuntimeOptions({});
|
|
22930
24481
|
return await this.setSignatureApisWithOptions(request, runtime);
|
|
22931
24482
|
}
|
|
24483
|
+
/**
|
|
24484
|
+
* * This API is intended for API providers.
|
|
24485
|
+
* * This API allows you to bind a specific throttling policy to up to 100 APIs at a time.
|
|
24486
|
+
*
|
|
24487
|
+
* @param request SetTrafficControlApisRequest
|
|
24488
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24489
|
+
* @return SetTrafficControlApisResponse
|
|
24490
|
+
*/
|
|
22932
24491
|
async setTrafficControlApisWithOptions(request, runtime) {
|
|
22933
24492
|
tea_util_1.default.validateModel(request);
|
|
22934
24493
|
let query = {};
|
|
@@ -22963,10 +24522,25 @@ class Client extends openapi_client_1.default {
|
|
|
22963
24522
|
});
|
|
22964
24523
|
return $tea.cast(await this.callApi(params, req, runtime), new SetTrafficControlApisResponse({}));
|
|
22965
24524
|
}
|
|
24525
|
+
/**
|
|
24526
|
+
* * This API is intended for API providers.
|
|
24527
|
+
* * This API allows you to bind a specific throttling policy to up to 100 APIs at a time.
|
|
24528
|
+
*
|
|
24529
|
+
* @param request SetTrafficControlApisRequest
|
|
24530
|
+
* @return SetTrafficControlApisResponse
|
|
24531
|
+
*/
|
|
22966
24532
|
async setTrafficControlApis(request) {
|
|
22967
24533
|
let runtime = new $Util.RuntimeOptions({});
|
|
22968
24534
|
return await this.setTrafficControlApisWithOptions(request, runtime);
|
|
22969
24535
|
}
|
|
24536
|
+
/**
|
|
24537
|
+
* * This operation is intended for API providers.
|
|
24538
|
+
* * This operation is used to authorize API Gateway to access your VPC instance.
|
|
24539
|
+
*
|
|
24540
|
+
* @param request SetVpcAccessRequest
|
|
24541
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24542
|
+
* @return SetVpcAccessResponse
|
|
24543
|
+
*/
|
|
22970
24544
|
async setVpcAccessWithOptions(request, runtime) {
|
|
22971
24545
|
tea_util_1.default.validateModel(request);
|
|
22972
24546
|
let query = {};
|
|
@@ -23007,6 +24581,13 @@ class Client extends openapi_client_1.default {
|
|
|
23007
24581
|
});
|
|
23008
24582
|
return $tea.cast(await this.callApi(params, req, runtime), new SetVpcAccessResponse({}));
|
|
23009
24583
|
}
|
|
24584
|
+
/**
|
|
24585
|
+
* * This operation is intended for API providers.
|
|
24586
|
+
* * This operation is used to authorize API Gateway to access your VPC instance.
|
|
24587
|
+
*
|
|
24588
|
+
* @param request SetVpcAccessRequest
|
|
24589
|
+
* @return SetVpcAccessResponse
|
|
24590
|
+
*/
|
|
23010
24591
|
async setVpcAccess(request) {
|
|
23011
24592
|
let runtime = new $Util.RuntimeOptions({});
|
|
23012
24593
|
return await this.setVpcAccessWithOptions(request, runtime);
|
|
@@ -23046,6 +24627,17 @@ class Client extends openapi_client_1.default {
|
|
|
23046
24627
|
let runtime = new $Util.RuntimeOptions({});
|
|
23047
24628
|
return await this.setWildcardDomainPatternsWithOptions(request, runtime);
|
|
23048
24629
|
}
|
|
24630
|
+
/**
|
|
24631
|
+
* * This API is intended for API providers.
|
|
24632
|
+
* * The historical version can be obtained through the DescribeHistoryApis API.****
|
|
24633
|
+
* * Only APIs that have been published more than once have historical versions to switch to.
|
|
24634
|
+
* * This operation can only be performed on running APIs. Use caution when performing this operation because the operation cannot be undone after it has been completed and takes effect within 5 seconds.
|
|
24635
|
+
* * The switch operation is in essence a publish operation, and the reason for this operation must be provided.
|
|
24636
|
+
*
|
|
24637
|
+
* @param request SwitchApiRequest
|
|
24638
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24639
|
+
* @return SwitchApiResponse
|
|
24640
|
+
*/
|
|
23049
24641
|
async switchApiWithOptions(request, runtime) {
|
|
23050
24642
|
tea_util_1.default.validateModel(request);
|
|
23051
24643
|
let query = {};
|
|
@@ -23083,10 +24675,31 @@ class Client extends openapi_client_1.default {
|
|
|
23083
24675
|
});
|
|
23084
24676
|
return $tea.cast(await this.callApi(params, req, runtime), new SwitchApiResponse({}));
|
|
23085
24677
|
}
|
|
24678
|
+
/**
|
|
24679
|
+
* * This API is intended for API providers.
|
|
24680
|
+
* * The historical version can be obtained through the DescribeHistoryApis API.****
|
|
24681
|
+
* * Only APIs that have been published more than once have historical versions to switch to.
|
|
24682
|
+
* * This operation can only be performed on running APIs. Use caution when performing this operation because the operation cannot be undone after it has been completed and takes effect within 5 seconds.
|
|
24683
|
+
* * The switch operation is in essence a publish operation, and the reason for this operation must be provided.
|
|
24684
|
+
*
|
|
24685
|
+
* @param request SwitchApiRequest
|
|
24686
|
+
* @return SwitchApiResponse
|
|
24687
|
+
*/
|
|
23086
24688
|
async switchApi(request) {
|
|
23087
24689
|
let runtime = new $Util.RuntimeOptions({});
|
|
23088
24690
|
return await this.switchApiWithOptions(request, runtime);
|
|
23089
24691
|
}
|
|
24692
|
+
/**
|
|
24693
|
+
* * All tags (key-value pairs) are applied to all resources of a specified ResourceId, with each resource specified as ResourceId.N.
|
|
24694
|
+
* * Tag.N is a resource tag consisting of a key-value pair: Tag.N.Key and Tag.N.Value.
|
|
24695
|
+
* * If you call this operation to tag multiple resources simultaneously, either all or none of the resources will be tagged.
|
|
24696
|
+
* * 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.
|
|
24697
|
+
* * If a tag with the same key has been bound to a resource, the new tag will overwrite the existing one.
|
|
24698
|
+
*
|
|
24699
|
+
* @param request TagResourcesRequest
|
|
24700
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24701
|
+
* @return TagResourcesResponse
|
|
24702
|
+
*/
|
|
23090
24703
|
async tagResourcesWithOptions(request, runtime) {
|
|
23091
24704
|
tea_util_1.default.validateModel(request);
|
|
23092
24705
|
let query = {};
|
|
@@ -23118,10 +24731,31 @@ class Client extends openapi_client_1.default {
|
|
|
23118
24731
|
});
|
|
23119
24732
|
return $tea.cast(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
23120
24733
|
}
|
|
24734
|
+
/**
|
|
24735
|
+
* * All tags (key-value pairs) are applied to all resources of a specified ResourceId, with each resource specified as ResourceId.N.
|
|
24736
|
+
* * Tag.N is a resource tag consisting of a key-value pair: Tag.N.Key and Tag.N.Value.
|
|
24737
|
+
* * If you call this operation to tag multiple resources simultaneously, either all or none of the resources will be tagged.
|
|
24738
|
+
* * 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.
|
|
24739
|
+
* * If a tag with the same key has been bound to a resource, the new tag will overwrite the existing one.
|
|
24740
|
+
*
|
|
24741
|
+
* @param request TagResourcesRequest
|
|
24742
|
+
* @return TagResourcesResponse
|
|
24743
|
+
*/
|
|
23121
24744
|
async tagResources(request) {
|
|
23122
24745
|
let runtime = new $Util.RuntimeOptions({});
|
|
23123
24746
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
23124
24747
|
}
|
|
24748
|
+
/**
|
|
24749
|
+
* * If you call this operation to untag multiple resources simultaneously, either all or none of the resources will be untagged.
|
|
24750
|
+
* * 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.
|
|
24751
|
+
* * 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.
|
|
24752
|
+
* * When tag keys are specified, the All parameter is invalid.
|
|
24753
|
+
* * When multiple resources and key-value pairs are specified, the specified tags bound to the resources are deleted.
|
|
24754
|
+
*
|
|
24755
|
+
* @param request UntagResourcesRequest
|
|
24756
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24757
|
+
* @return UntagResourcesResponse
|
|
24758
|
+
*/
|
|
23125
24759
|
async untagResourcesWithOptions(request, runtime) {
|
|
23126
24760
|
tea_util_1.default.validateModel(request);
|
|
23127
24761
|
let query = {};
|
|
@@ -23156,6 +24790,16 @@ class Client extends openapi_client_1.default {
|
|
|
23156
24790
|
});
|
|
23157
24791
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
23158
24792
|
}
|
|
24793
|
+
/**
|
|
24794
|
+
* * If you call this operation to untag multiple resources simultaneously, either all or none of the resources will be untagged.
|
|
24795
|
+
* * 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.
|
|
24796
|
+
* * 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.
|
|
24797
|
+
* * When tag keys are specified, the All parameter is invalid.
|
|
24798
|
+
* * When multiple resources and key-value pairs are specified, the specified tags bound to the resources are deleted.
|
|
24799
|
+
*
|
|
24800
|
+
* @param request UntagResourcesRequest
|
|
24801
|
+
* @return UntagResourcesResponse
|
|
24802
|
+
*/
|
|
23159
24803
|
async untagResources(request) {
|
|
23160
24804
|
let runtime = new $Util.RuntimeOptions({});
|
|
23161
24805
|
return await this.untagResourcesWithOptions(request, runtime);
|