@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/src/client.ts
CHANGED
|
@@ -1324,6 +1324,7 @@ export class CreateInstanceRequest extends $tea.Model {
|
|
|
1324
1324
|
instanceName?: string;
|
|
1325
1325
|
instanceSpec?: string;
|
|
1326
1326
|
pricingCycle?: string;
|
|
1327
|
+
tag?: CreateInstanceRequestTag[];
|
|
1327
1328
|
token?: string;
|
|
1328
1329
|
zoneId?: string;
|
|
1329
1330
|
static names(): { [key: string]: string } {
|
|
@@ -1335,6 +1336,7 @@ export class CreateInstanceRequest extends $tea.Model {
|
|
|
1335
1336
|
instanceName: 'InstanceName',
|
|
1336
1337
|
instanceSpec: 'InstanceSpec',
|
|
1337
1338
|
pricingCycle: 'PricingCycle',
|
|
1339
|
+
tag: 'Tag',
|
|
1338
1340
|
token: 'Token',
|
|
1339
1341
|
zoneId: 'ZoneId',
|
|
1340
1342
|
};
|
|
@@ -1349,6 +1351,7 @@ export class CreateInstanceRequest extends $tea.Model {
|
|
|
1349
1351
|
instanceName: 'string',
|
|
1350
1352
|
instanceSpec: 'string',
|
|
1351
1353
|
pricingCycle: 'string',
|
|
1354
|
+
tag: { 'type': 'array', 'itemType': CreateInstanceRequestTag },
|
|
1352
1355
|
token: 'string',
|
|
1353
1356
|
zoneId: 'string',
|
|
1354
1357
|
};
|
|
@@ -1362,10 +1365,12 @@ export class CreateInstanceRequest extends $tea.Model {
|
|
|
1362
1365
|
export class CreateInstanceResponseBody extends $tea.Model {
|
|
1363
1366
|
instanceId?: string;
|
|
1364
1367
|
requestId?: string;
|
|
1368
|
+
tagStatus?: boolean;
|
|
1365
1369
|
static names(): { [key: string]: string } {
|
|
1366
1370
|
return {
|
|
1367
1371
|
instanceId: 'InstanceId',
|
|
1368
1372
|
requestId: 'RequestId',
|
|
1373
|
+
tagStatus: 'TagStatus',
|
|
1369
1374
|
};
|
|
1370
1375
|
}
|
|
1371
1376
|
|
|
@@ -1373,6 +1378,7 @@ export class CreateInstanceResponseBody extends $tea.Model {
|
|
|
1373
1378
|
return {
|
|
1374
1379
|
instanceId: 'string',
|
|
1375
1380
|
requestId: 'string',
|
|
1381
|
+
tagStatus: 'boolean',
|
|
1376
1382
|
};
|
|
1377
1383
|
}
|
|
1378
1384
|
|
|
@@ -5299,6 +5305,7 @@ export class DescribeApisRequest extends $tea.Model {
|
|
|
5299
5305
|
pageNumber?: number;
|
|
5300
5306
|
pageSize?: number;
|
|
5301
5307
|
securityToken?: string;
|
|
5308
|
+
stageName?: string;
|
|
5302
5309
|
tag?: DescribeApisRequestTag[];
|
|
5303
5310
|
unDeployed?: boolean;
|
|
5304
5311
|
visibility?: string;
|
|
@@ -5314,6 +5321,7 @@ export class DescribeApisRequest extends $tea.Model {
|
|
|
5314
5321
|
pageNumber: 'PageNumber',
|
|
5315
5322
|
pageSize: 'PageSize',
|
|
5316
5323
|
securityToken: 'SecurityToken',
|
|
5324
|
+
stageName: 'StageName',
|
|
5317
5325
|
tag: 'Tag',
|
|
5318
5326
|
unDeployed: 'UnDeployed',
|
|
5319
5327
|
visibility: 'Visibility',
|
|
@@ -5332,6 +5340,7 @@ export class DescribeApisRequest extends $tea.Model {
|
|
|
5332
5340
|
pageNumber: 'number',
|
|
5333
5341
|
pageSize: 'number',
|
|
5334
5342
|
securityToken: 'string',
|
|
5343
|
+
stageName: 'string',
|
|
5335
5344
|
tag: { 'type': 'array', 'itemType': DescribeApisRequestTag },
|
|
5336
5345
|
unDeployed: 'boolean',
|
|
5337
5346
|
visibility: 'string',
|
|
@@ -7373,6 +7382,81 @@ export class DescribeHistoryApisResponse extends $tea.Model {
|
|
|
7373
7382
|
}
|
|
7374
7383
|
}
|
|
7375
7384
|
|
|
7385
|
+
export class DescribeImportOASTaskRequest extends $tea.Model {
|
|
7386
|
+
operationId?: string;
|
|
7387
|
+
securityToken?: string;
|
|
7388
|
+
static names(): { [key: string]: string } {
|
|
7389
|
+
return {
|
|
7390
|
+
operationId: 'OperationId',
|
|
7391
|
+
securityToken: 'SecurityToken',
|
|
7392
|
+
};
|
|
7393
|
+
}
|
|
7394
|
+
|
|
7395
|
+
static types(): { [key: string]: any } {
|
|
7396
|
+
return {
|
|
7397
|
+
operationId: 'string',
|
|
7398
|
+
securityToken: 'string',
|
|
7399
|
+
};
|
|
7400
|
+
}
|
|
7401
|
+
|
|
7402
|
+
constructor(map?: { [key: string]: any }) {
|
|
7403
|
+
super(map);
|
|
7404
|
+
}
|
|
7405
|
+
}
|
|
7406
|
+
|
|
7407
|
+
export class DescribeImportOASTaskResponseBody extends $tea.Model {
|
|
7408
|
+
apiResults?: DescribeImportOASTaskResponseBodyApiResults;
|
|
7409
|
+
modelResults?: DescribeImportOASTaskResponseBodyModelResults;
|
|
7410
|
+
requestId?: string;
|
|
7411
|
+
taskStatus?: string;
|
|
7412
|
+
static names(): { [key: string]: string } {
|
|
7413
|
+
return {
|
|
7414
|
+
apiResults: 'ApiResults',
|
|
7415
|
+
modelResults: 'ModelResults',
|
|
7416
|
+
requestId: 'RequestId',
|
|
7417
|
+
taskStatus: 'TaskStatus',
|
|
7418
|
+
};
|
|
7419
|
+
}
|
|
7420
|
+
|
|
7421
|
+
static types(): { [key: string]: any } {
|
|
7422
|
+
return {
|
|
7423
|
+
apiResults: DescribeImportOASTaskResponseBodyApiResults,
|
|
7424
|
+
modelResults: DescribeImportOASTaskResponseBodyModelResults,
|
|
7425
|
+
requestId: 'string',
|
|
7426
|
+
taskStatus: 'string',
|
|
7427
|
+
};
|
|
7428
|
+
}
|
|
7429
|
+
|
|
7430
|
+
constructor(map?: { [key: string]: any }) {
|
|
7431
|
+
super(map);
|
|
7432
|
+
}
|
|
7433
|
+
}
|
|
7434
|
+
|
|
7435
|
+
export class DescribeImportOASTaskResponse extends $tea.Model {
|
|
7436
|
+
headers: { [key: string]: string };
|
|
7437
|
+
statusCode: number;
|
|
7438
|
+
body: DescribeImportOASTaskResponseBody;
|
|
7439
|
+
static names(): { [key: string]: string } {
|
|
7440
|
+
return {
|
|
7441
|
+
headers: 'headers',
|
|
7442
|
+
statusCode: 'statusCode',
|
|
7443
|
+
body: 'body',
|
|
7444
|
+
};
|
|
7445
|
+
}
|
|
7446
|
+
|
|
7447
|
+
static types(): { [key: string]: any } {
|
|
7448
|
+
return {
|
|
7449
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7450
|
+
statusCode: 'number',
|
|
7451
|
+
body: DescribeImportOASTaskResponseBody,
|
|
7452
|
+
};
|
|
7453
|
+
}
|
|
7454
|
+
|
|
7455
|
+
constructor(map?: { [key: string]: any }) {
|
|
7456
|
+
super(map);
|
|
7457
|
+
}
|
|
7458
|
+
}
|
|
7459
|
+
|
|
7376
7460
|
export class DescribeInstancesRequest extends $tea.Model {
|
|
7377
7461
|
enableTagAuthorization?: boolean;
|
|
7378
7462
|
instanceId?: string;
|
|
@@ -13960,6 +14044,28 @@ export class CreateAppRequestTag extends $tea.Model {
|
|
|
13960
14044
|
}
|
|
13961
14045
|
}
|
|
13962
14046
|
|
|
14047
|
+
export class CreateInstanceRequestTag extends $tea.Model {
|
|
14048
|
+
key?: string;
|
|
14049
|
+
value?: string;
|
|
14050
|
+
static names(): { [key: string]: string } {
|
|
14051
|
+
return {
|
|
14052
|
+
key: 'Key',
|
|
14053
|
+
value: 'Value',
|
|
14054
|
+
};
|
|
14055
|
+
}
|
|
14056
|
+
|
|
14057
|
+
static types(): { [key: string]: any } {
|
|
14058
|
+
return {
|
|
14059
|
+
key: 'string',
|
|
14060
|
+
value: 'string',
|
|
14061
|
+
};
|
|
14062
|
+
}
|
|
14063
|
+
|
|
14064
|
+
constructor(map?: { [key: string]: any }) {
|
|
14065
|
+
super(map);
|
|
14066
|
+
}
|
|
14067
|
+
}
|
|
14068
|
+
|
|
13963
14069
|
export class CreateIpControlRequestIpControlPolicys extends $tea.Model {
|
|
13964
14070
|
appId?: string;
|
|
13965
14071
|
cidrIp?: string;
|
|
@@ -16747,12 +16853,57 @@ export class DescribeApisRequestTag extends $tea.Model {
|
|
|
16747
16853
|
}
|
|
16748
16854
|
}
|
|
16749
16855
|
|
|
16856
|
+
export class DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfosDeployedInfo extends $tea.Model {
|
|
16857
|
+
deployedStatus?: string;
|
|
16858
|
+
effectiveVersion?: string;
|
|
16859
|
+
stageName?: string;
|
|
16860
|
+
static names(): { [key: string]: string } {
|
|
16861
|
+
return {
|
|
16862
|
+
deployedStatus: 'DeployedStatus',
|
|
16863
|
+
effectiveVersion: 'EffectiveVersion',
|
|
16864
|
+
stageName: 'StageName',
|
|
16865
|
+
};
|
|
16866
|
+
}
|
|
16867
|
+
|
|
16868
|
+
static types(): { [key: string]: any } {
|
|
16869
|
+
return {
|
|
16870
|
+
deployedStatus: 'string',
|
|
16871
|
+
effectiveVersion: 'string',
|
|
16872
|
+
stageName: 'string',
|
|
16873
|
+
};
|
|
16874
|
+
}
|
|
16875
|
+
|
|
16876
|
+
constructor(map?: { [key: string]: any }) {
|
|
16877
|
+
super(map);
|
|
16878
|
+
}
|
|
16879
|
+
}
|
|
16880
|
+
|
|
16881
|
+
export class DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfos extends $tea.Model {
|
|
16882
|
+
deployedInfo?: DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfosDeployedInfo[];
|
|
16883
|
+
static names(): { [key: string]: string } {
|
|
16884
|
+
return {
|
|
16885
|
+
deployedInfo: 'DeployedInfo',
|
|
16886
|
+
};
|
|
16887
|
+
}
|
|
16888
|
+
|
|
16889
|
+
static types(): { [key: string]: any } {
|
|
16890
|
+
return {
|
|
16891
|
+
deployedInfo: { 'type': 'array', 'itemType': DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfosDeployedInfo },
|
|
16892
|
+
};
|
|
16893
|
+
}
|
|
16894
|
+
|
|
16895
|
+
constructor(map?: { [key: string]: any }) {
|
|
16896
|
+
super(map);
|
|
16897
|
+
}
|
|
16898
|
+
}
|
|
16899
|
+
|
|
16750
16900
|
export class DescribeApisResponseBodyApiSummarysApiSummary extends $tea.Model {
|
|
16751
16901
|
apiId?: string;
|
|
16752
16902
|
apiMethod?: string;
|
|
16753
16903
|
apiName?: string;
|
|
16754
16904
|
apiPath?: string;
|
|
16755
16905
|
createdTime?: string;
|
|
16906
|
+
deployedInfos?: DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfos;
|
|
16756
16907
|
description?: string;
|
|
16757
16908
|
groupId?: string;
|
|
16758
16909
|
groupName?: string;
|
|
@@ -16766,6 +16917,7 @@ export class DescribeApisResponseBodyApiSummarysApiSummary extends $tea.Model {
|
|
|
16766
16917
|
apiName: 'ApiName',
|
|
16767
16918
|
apiPath: 'ApiPath',
|
|
16768
16919
|
createdTime: 'CreatedTime',
|
|
16920
|
+
deployedInfos: 'DeployedInfos',
|
|
16769
16921
|
description: 'Description',
|
|
16770
16922
|
groupId: 'GroupId',
|
|
16771
16923
|
groupName: 'GroupName',
|
|
@@ -16782,6 +16934,7 @@ export class DescribeApisResponseBodyApiSummarysApiSummary extends $tea.Model {
|
|
|
16782
16934
|
apiName: 'string',
|
|
16783
16935
|
apiPath: 'string',
|
|
16784
16936
|
createdTime: 'string',
|
|
16937
|
+
deployedInfos: DescribeApisResponseBodyApiSummarysApiSummaryDeployedInfos,
|
|
16785
16938
|
description: 'string',
|
|
16786
16939
|
groupId: 'string',
|
|
16787
16940
|
groupName: 'string',
|
|
@@ -18762,6 +18915,115 @@ export class DescribeHistoryApisResponseBodyApiHisItems extends $tea.Model {
|
|
|
18762
18915
|
}
|
|
18763
18916
|
}
|
|
18764
18917
|
|
|
18918
|
+
export class DescribeImportOASTaskResponseBodyApiResultsApiResult extends $tea.Model {
|
|
18919
|
+
apiId?: string;
|
|
18920
|
+
apiName?: string;
|
|
18921
|
+
description?: string;
|
|
18922
|
+
errorMessage?: string;
|
|
18923
|
+
groupId?: string;
|
|
18924
|
+
method?: string;
|
|
18925
|
+
path?: string;
|
|
18926
|
+
updateStatus?: string;
|
|
18927
|
+
static names(): { [key: string]: string } {
|
|
18928
|
+
return {
|
|
18929
|
+
apiId: 'ApiId',
|
|
18930
|
+
apiName: 'ApiName',
|
|
18931
|
+
description: 'Description',
|
|
18932
|
+
errorMessage: 'ErrorMessage',
|
|
18933
|
+
groupId: 'GroupId',
|
|
18934
|
+
method: 'Method',
|
|
18935
|
+
path: 'Path',
|
|
18936
|
+
updateStatus: 'UpdateStatus',
|
|
18937
|
+
};
|
|
18938
|
+
}
|
|
18939
|
+
|
|
18940
|
+
static types(): { [key: string]: any } {
|
|
18941
|
+
return {
|
|
18942
|
+
apiId: 'string',
|
|
18943
|
+
apiName: 'string',
|
|
18944
|
+
description: 'string',
|
|
18945
|
+
errorMessage: 'string',
|
|
18946
|
+
groupId: 'string',
|
|
18947
|
+
method: 'string',
|
|
18948
|
+
path: 'string',
|
|
18949
|
+
updateStatus: 'string',
|
|
18950
|
+
};
|
|
18951
|
+
}
|
|
18952
|
+
|
|
18953
|
+
constructor(map?: { [key: string]: any }) {
|
|
18954
|
+
super(map);
|
|
18955
|
+
}
|
|
18956
|
+
}
|
|
18957
|
+
|
|
18958
|
+
export class DescribeImportOASTaskResponseBodyApiResults extends $tea.Model {
|
|
18959
|
+
apiResult?: DescribeImportOASTaskResponseBodyApiResultsApiResult[];
|
|
18960
|
+
static names(): { [key: string]: string } {
|
|
18961
|
+
return {
|
|
18962
|
+
apiResult: 'ApiResult',
|
|
18963
|
+
};
|
|
18964
|
+
}
|
|
18965
|
+
|
|
18966
|
+
static types(): { [key: string]: any } {
|
|
18967
|
+
return {
|
|
18968
|
+
apiResult: { 'type': 'array', 'itemType': DescribeImportOASTaskResponseBodyApiResultsApiResult },
|
|
18969
|
+
};
|
|
18970
|
+
}
|
|
18971
|
+
|
|
18972
|
+
constructor(map?: { [key: string]: any }) {
|
|
18973
|
+
super(map);
|
|
18974
|
+
}
|
|
18975
|
+
}
|
|
18976
|
+
|
|
18977
|
+
export class DescribeImportOASTaskResponseBodyModelResultsModelResult extends $tea.Model {
|
|
18978
|
+
errorMessage?: string;
|
|
18979
|
+
groupId?: string;
|
|
18980
|
+
modelId?: string;
|
|
18981
|
+
modelName?: string;
|
|
18982
|
+
updateStatus?: string;
|
|
18983
|
+
static names(): { [key: string]: string } {
|
|
18984
|
+
return {
|
|
18985
|
+
errorMessage: 'ErrorMessage',
|
|
18986
|
+
groupId: 'GroupId',
|
|
18987
|
+
modelId: 'ModelId',
|
|
18988
|
+
modelName: 'ModelName',
|
|
18989
|
+
updateStatus: 'UpdateStatus',
|
|
18990
|
+
};
|
|
18991
|
+
}
|
|
18992
|
+
|
|
18993
|
+
static types(): { [key: string]: any } {
|
|
18994
|
+
return {
|
|
18995
|
+
errorMessage: 'string',
|
|
18996
|
+
groupId: 'string',
|
|
18997
|
+
modelId: 'string',
|
|
18998
|
+
modelName: 'string',
|
|
18999
|
+
updateStatus: 'string',
|
|
19000
|
+
};
|
|
19001
|
+
}
|
|
19002
|
+
|
|
19003
|
+
constructor(map?: { [key: string]: any }) {
|
|
19004
|
+
super(map);
|
|
19005
|
+
}
|
|
19006
|
+
}
|
|
19007
|
+
|
|
19008
|
+
export class DescribeImportOASTaskResponseBodyModelResults extends $tea.Model {
|
|
19009
|
+
modelResult?: DescribeImportOASTaskResponseBodyModelResultsModelResult[];
|
|
19010
|
+
static names(): { [key: string]: string } {
|
|
19011
|
+
return {
|
|
19012
|
+
modelResult: 'ModelResult',
|
|
19013
|
+
};
|
|
19014
|
+
}
|
|
19015
|
+
|
|
19016
|
+
static types(): { [key: string]: any } {
|
|
19017
|
+
return {
|
|
19018
|
+
modelResult: { 'type': 'array', 'itemType': DescribeImportOASTaskResponseBodyModelResultsModelResult },
|
|
19019
|
+
};
|
|
19020
|
+
}
|
|
19021
|
+
|
|
19022
|
+
constructor(map?: { [key: string]: any }) {
|
|
19023
|
+
super(map);
|
|
19024
|
+
}
|
|
19025
|
+
}
|
|
19026
|
+
|
|
18765
19027
|
export class DescribeInstancesRequestTag extends $tea.Model {
|
|
18766
19028
|
key?: string;
|
|
18767
19029
|
value?: string;
|
|
@@ -21274,6 +21536,13 @@ export default class Client extends OpenApi {
|
|
|
21274
21536
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
21275
21537
|
}
|
|
21276
21538
|
|
|
21539
|
+
/**
|
|
21540
|
+
* Unpublishes a specified API from a specified runtime environment.
|
|
21541
|
+
*
|
|
21542
|
+
* @param request AbolishApiRequest
|
|
21543
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21544
|
+
* @return AbolishApiResponse
|
|
21545
|
+
*/
|
|
21277
21546
|
async abolishApiWithOptions(request: AbolishApiRequest, runtime: $Util.RuntimeOptions): Promise<AbolishApiResponse> {
|
|
21278
21547
|
Util.validateModel(request);
|
|
21279
21548
|
let query = { };
|
|
@@ -21310,6 +21579,12 @@ export default class Client extends OpenApi {
|
|
|
21310
21579
|
return $tea.cast<AbolishApiResponse>(await this.callApi(params, req, runtime), new AbolishApiResponse({}));
|
|
21311
21580
|
}
|
|
21312
21581
|
|
|
21582
|
+
/**
|
|
21583
|
+
* Unpublishes a specified API from a specified runtime environment.
|
|
21584
|
+
*
|
|
21585
|
+
* @param request AbolishApiRequest
|
|
21586
|
+
* @return AbolishApiResponse
|
|
21587
|
+
*/
|
|
21313
21588
|
async abolishApi(request: AbolishApiRequest): Promise<AbolishApiResponse> {
|
|
21314
21589
|
let runtime = new $Util.RuntimeOptions({ });
|
|
21315
21590
|
return await this.abolishApiWithOptions(request, runtime);
|
|
@@ -21352,6 +21627,16 @@ export default class Client extends OpenApi {
|
|
|
21352
21627
|
return await this.addAccessControlListEntryWithOptions(request, runtime);
|
|
21353
21628
|
}
|
|
21354
21629
|
|
|
21630
|
+
/**
|
|
21631
|
+
* When you call this operation, note that:
|
|
21632
|
+
* * This operation is intended for API providers.
|
|
21633
|
+
* * An added policy immediately takes effect on all APIs that are bound to the access control list (ACL).
|
|
21634
|
+
* * A maximum of 100 policies can be added to an ACL.
|
|
21635
|
+
*
|
|
21636
|
+
* @param request AddIpControlPolicyItemRequest
|
|
21637
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21638
|
+
* @return AddIpControlPolicyItemResponse
|
|
21639
|
+
*/
|
|
21355
21640
|
async addIpControlPolicyItemWithOptions(request: AddIpControlPolicyItemRequest, runtime: $Util.RuntimeOptions): Promise<AddIpControlPolicyItemResponse> {
|
|
21356
21641
|
Util.validateModel(request);
|
|
21357
21642
|
let query = { };
|
|
@@ -21388,11 +21673,29 @@ export default class Client extends OpenApi {
|
|
|
21388
21673
|
return $tea.cast<AddIpControlPolicyItemResponse>(await this.callApi(params, req, runtime), new AddIpControlPolicyItemResponse({}));
|
|
21389
21674
|
}
|
|
21390
21675
|
|
|
21676
|
+
/**
|
|
21677
|
+
* When you call this operation, note that:
|
|
21678
|
+
* * This operation is intended for API providers.
|
|
21679
|
+
* * An added policy immediately takes effect on all APIs that are bound to the access control list (ACL).
|
|
21680
|
+
* * A maximum of 100 policies can be added to an ACL.
|
|
21681
|
+
*
|
|
21682
|
+
* @param request AddIpControlPolicyItemRequest
|
|
21683
|
+
* @return AddIpControlPolicyItemResponse
|
|
21684
|
+
*/
|
|
21391
21685
|
async addIpControlPolicyItem(request: AddIpControlPolicyItemRequest): Promise<AddIpControlPolicyItemResponse> {
|
|
21392
21686
|
let runtime = new $Util.RuntimeOptions({ });
|
|
21393
21687
|
return await this.addIpControlPolicyItemWithOptions(request, runtime);
|
|
21394
21688
|
}
|
|
21395
21689
|
|
|
21690
|
+
/**
|
|
21691
|
+
* * This API is intended for API providers.
|
|
21692
|
+
* * If the input SpecialKey already exists, the previous configuration is overwritten. Use caution when calling this operation.
|
|
21693
|
+
* * 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.
|
|
21694
|
+
*
|
|
21695
|
+
* @param request AddTrafficSpecialControlRequest
|
|
21696
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21697
|
+
* @return AddTrafficSpecialControlResponse
|
|
21698
|
+
*/
|
|
21396
21699
|
async addTrafficSpecialControlWithOptions(request: AddTrafficSpecialControlRequest, runtime: $Util.RuntimeOptions): Promise<AddTrafficSpecialControlResponse> {
|
|
21397
21700
|
Util.validateModel(request);
|
|
21398
21701
|
let query = { };
|
|
@@ -21433,11 +21736,29 @@ export default class Client extends OpenApi {
|
|
|
21433
21736
|
return $tea.cast<AddTrafficSpecialControlResponse>(await this.callApi(params, req, runtime), new AddTrafficSpecialControlResponse({}));
|
|
21434
21737
|
}
|
|
21435
21738
|
|
|
21739
|
+
/**
|
|
21740
|
+
* * This API is intended for API providers.
|
|
21741
|
+
* * If the input SpecialKey already exists, the previous configuration is overwritten. Use caution when calling this operation.
|
|
21742
|
+
* * 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.
|
|
21743
|
+
*
|
|
21744
|
+
* @param request AddTrafficSpecialControlRequest
|
|
21745
|
+
* @return AddTrafficSpecialControlResponse
|
|
21746
|
+
*/
|
|
21436
21747
|
async addTrafficSpecialControl(request: AddTrafficSpecialControlRequest): Promise<AddTrafficSpecialControlResponse> {
|
|
21437
21748
|
let runtime = new $Util.RuntimeOptions({ });
|
|
21438
21749
|
return await this.addTrafficSpecialControlWithOptions(request, runtime);
|
|
21439
21750
|
}
|
|
21440
21751
|
|
|
21752
|
+
/**
|
|
21753
|
+
* * This operation is intended for API providers.
|
|
21754
|
+
* * You can only bind plug-ins to published APIs.
|
|
21755
|
+
* * The plug-in takes effect immediately after it is bound to an API.
|
|
21756
|
+
* * If you bind a different plug-in to an API, this plug-in takes effect immediately.
|
|
21757
|
+
*
|
|
21758
|
+
* @param request AttachPluginRequest
|
|
21759
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21760
|
+
* @return AttachPluginResponse
|
|
21761
|
+
*/
|
|
21441
21762
|
async attachPluginWithOptions(request: AttachPluginRequest, runtime: $Util.RuntimeOptions): Promise<AttachPluginResponse> {
|
|
21442
21763
|
Util.validateModel(request);
|
|
21443
21764
|
let query = { };
|
|
@@ -21482,6 +21803,15 @@ export default class Client extends OpenApi {
|
|
|
21482
21803
|
return $tea.cast<AttachPluginResponse>(await this.callApi(params, req, runtime), new AttachPluginResponse({}));
|
|
21483
21804
|
}
|
|
21484
21805
|
|
|
21806
|
+
/**
|
|
21807
|
+
* * This operation is intended for API providers.
|
|
21808
|
+
* * You can only bind plug-ins to published APIs.
|
|
21809
|
+
* * The plug-in takes effect immediately after it is bound to an API.
|
|
21810
|
+
* * If you bind a different plug-in to an API, this plug-in takes effect immediately.
|
|
21811
|
+
*
|
|
21812
|
+
* @param request AttachPluginRequest
|
|
21813
|
+
* @return AttachPluginResponse
|
|
21814
|
+
*/
|
|
21485
21815
|
async attachPlugin(request: AttachPluginRequest): Promise<AttachPluginResponse> {
|
|
21486
21816
|
let runtime = new $Util.RuntimeOptions({ });
|
|
21487
21817
|
return await this.attachPluginWithOptions(request, runtime);
|
|
@@ -21598,6 +21928,16 @@ export default class Client extends OpenApi {
|
|
|
21598
21928
|
return await this.createAccessControlListWithOptions(request, runtime);
|
|
21599
21929
|
}
|
|
21600
21930
|
|
|
21931
|
+
/**
|
|
21932
|
+
* * This operation is intended for API providers.
|
|
21933
|
+
* * The name of each API within the same group must be unique.
|
|
21934
|
+
* * Each request path within the same group must be unique.
|
|
21935
|
+
* * The QPS limit on this operation is 50 per user.
|
|
21936
|
+
*
|
|
21937
|
+
* @param request CreateApiRequest
|
|
21938
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
21939
|
+
* @return CreateApiResponse
|
|
21940
|
+
*/
|
|
21601
21941
|
async createApiWithOptions(request: CreateApiRequest, runtime: $Util.RuntimeOptions): Promise<CreateApiResponse> {
|
|
21602
21942
|
Util.validateModel(request);
|
|
21603
21943
|
let query = { };
|
|
@@ -21726,11 +22066,33 @@ export default class Client extends OpenApi {
|
|
|
21726
22066
|
return $tea.cast<CreateApiResponse>(await this.callApi(params, req, runtime), new CreateApiResponse({}));
|
|
21727
22067
|
}
|
|
21728
22068
|
|
|
22069
|
+
/**
|
|
22070
|
+
* * This operation is intended for API providers.
|
|
22071
|
+
* * The name of each API within the same group must be unique.
|
|
22072
|
+
* * Each request path within the same group must be unique.
|
|
22073
|
+
* * The QPS limit on this operation is 50 per user.
|
|
22074
|
+
*
|
|
22075
|
+
* @param request CreateApiRequest
|
|
22076
|
+
* @return CreateApiResponse
|
|
22077
|
+
*/
|
|
21729
22078
|
async createApi(request: CreateApiRequest): Promise<CreateApiResponse> {
|
|
21730
22079
|
let runtime = new $Util.RuntimeOptions({ });
|
|
21731
22080
|
return await this.createApiWithOptions(request, runtime);
|
|
21732
22081
|
}
|
|
21733
22082
|
|
|
22083
|
+
/**
|
|
22084
|
+
* 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.
|
|
22085
|
+
* * This operation is intended for API providers.
|
|
22086
|
+
* * Each user can create a maximum of 100 API groups in a region.
|
|
22087
|
+
* * A second-level domain name is automatically allocated to the API group for testing purposes.
|
|
22088
|
+
* * 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.
|
|
22089
|
+
* * After you create an API group, you can bind a custom domain name to the group.
|
|
22090
|
+
* * The QPS limit on this operation is 50 per user.
|
|
22091
|
+
*
|
|
22092
|
+
* @param request CreateApiGroupRequest
|
|
22093
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22094
|
+
* @return CreateApiGroupResponse
|
|
22095
|
+
*/
|
|
21734
22096
|
async createApiGroupWithOptions(request: CreateApiGroupRequest, runtime: $Util.RuntimeOptions): Promise<CreateApiGroupResponse> {
|
|
21735
22097
|
Util.validateModel(request);
|
|
21736
22098
|
let query = { };
|
|
@@ -21775,11 +22137,30 @@ export default class Client extends OpenApi {
|
|
|
21775
22137
|
return $tea.cast<CreateApiGroupResponse>(await this.callApi(params, req, runtime), new CreateApiGroupResponse({}));
|
|
21776
22138
|
}
|
|
21777
22139
|
|
|
22140
|
+
/**
|
|
22141
|
+
* 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.
|
|
22142
|
+
* * This operation is intended for API providers.
|
|
22143
|
+
* * Each user can create a maximum of 100 API groups in a region.
|
|
22144
|
+
* * A second-level domain name is automatically allocated to the API group for testing purposes.
|
|
22145
|
+
* * 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.
|
|
22146
|
+
* * After you create an API group, you can bind a custom domain name to the group.
|
|
22147
|
+
* * The QPS limit on this operation is 50 per user.
|
|
22148
|
+
*
|
|
22149
|
+
* @param request CreateApiGroupRequest
|
|
22150
|
+
* @return CreateApiGroupResponse
|
|
22151
|
+
*/
|
|
21778
22152
|
async createApiGroup(request: CreateApiGroupRequest): Promise<CreateApiGroupResponse> {
|
|
21779
22153
|
let runtime = new $Util.RuntimeOptions({ });
|
|
21780
22154
|
return await this.createApiGroupWithOptions(request, runtime);
|
|
21781
22155
|
}
|
|
21782
22156
|
|
|
22157
|
+
/**
|
|
22158
|
+
* * This operation is intended for API providers.
|
|
22159
|
+
*
|
|
22160
|
+
* @param request CreateApiStageVariableRequest
|
|
22161
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22162
|
+
* @return CreateApiStageVariableResponse
|
|
22163
|
+
*/
|
|
21783
22164
|
async createApiStageVariableWithOptions(request: CreateApiStageVariableRequest, runtime: $Util.RuntimeOptions): Promise<CreateApiStageVariableResponse> {
|
|
21784
22165
|
Util.validateModel(request);
|
|
21785
22166
|
let query = { };
|
|
@@ -21828,11 +22209,29 @@ export default class Client extends OpenApi {
|
|
|
21828
22209
|
return $tea.cast<CreateApiStageVariableResponse>(await this.callApi(params, req, runtime), new CreateApiStageVariableResponse({}));
|
|
21829
22210
|
}
|
|
21830
22211
|
|
|
22212
|
+
/**
|
|
22213
|
+
* * This operation is intended for API providers.
|
|
22214
|
+
*
|
|
22215
|
+
* @param request CreateApiStageVariableRequest
|
|
22216
|
+
* @return CreateApiStageVariableResponse
|
|
22217
|
+
*/
|
|
21831
22218
|
async createApiStageVariable(request: CreateApiStageVariableRequest): Promise<CreateApiStageVariableResponse> {
|
|
21832
22219
|
let runtime = new $Util.RuntimeOptions({ });
|
|
21833
22220
|
return await this.createApiStageVariableWithOptions(request, runtime);
|
|
21834
22221
|
}
|
|
21835
22222
|
|
|
22223
|
+
/**
|
|
22224
|
+
* * This operation is intended for API callers.
|
|
22225
|
+
* * Each application has a key-secret pair which is used for identity verification when calling an API.
|
|
22226
|
+
* * An application must be authorized to call an API.
|
|
22227
|
+
* * Each application has only one key-secret pair which can be reset if it is leaked.
|
|
22228
|
+
* * A maximum of 1,000 applications can be created for each Apsara Stack tenant account.
|
|
22229
|
+
* * The QPS limit on this operation is 50 per user.
|
|
22230
|
+
*
|
|
22231
|
+
* @param request CreateAppRequest
|
|
22232
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22233
|
+
* @return CreateAppResponse
|
|
22234
|
+
*/
|
|
21836
22235
|
async createAppWithOptions(request: CreateAppRequest, runtime: $Util.RuntimeOptions): Promise<CreateAppResponse> {
|
|
21837
22236
|
Util.validateModel(request);
|
|
21838
22237
|
let query = { };
|
|
@@ -21885,6 +22284,17 @@ export default class Client extends OpenApi {
|
|
|
21885
22284
|
return $tea.cast<CreateAppResponse>(await this.callApi(params, req, runtime), new CreateAppResponse({}));
|
|
21886
22285
|
}
|
|
21887
22286
|
|
|
22287
|
+
/**
|
|
22288
|
+
* * This operation is intended for API callers.
|
|
22289
|
+
* * Each application has a key-secret pair which is used for identity verification when calling an API.
|
|
22290
|
+
* * An application must be authorized to call an API.
|
|
22291
|
+
* * Each application has only one key-secret pair which can be reset if it is leaked.
|
|
22292
|
+
* * A maximum of 1,000 applications can be created for each Apsara Stack tenant account.
|
|
22293
|
+
* * The QPS limit on this operation is 50 per user.
|
|
22294
|
+
*
|
|
22295
|
+
* @param request CreateAppRequest
|
|
22296
|
+
* @return CreateAppResponse
|
|
22297
|
+
*/
|
|
21888
22298
|
async createApp(request: CreateAppRequest): Promise<CreateAppResponse> {
|
|
21889
22299
|
let runtime = new $Util.RuntimeOptions({ });
|
|
21890
22300
|
return await this.createAppWithOptions(request, runtime);
|
|
@@ -22097,6 +22507,10 @@ export default class Client extends OpenApi {
|
|
|
22097
22507
|
query["PricingCycle"] = request.pricingCycle;
|
|
22098
22508
|
}
|
|
22099
22509
|
|
|
22510
|
+
if (!Util.isUnset(request.tag)) {
|
|
22511
|
+
query["Tag"] = request.tag;
|
|
22512
|
+
}
|
|
22513
|
+
|
|
22100
22514
|
if (!Util.isUnset(request.token)) {
|
|
22101
22515
|
query["Token"] = request.token;
|
|
22102
22516
|
}
|
|
@@ -22160,6 +22574,16 @@ export default class Client extends OpenApi {
|
|
|
22160
22574
|
return await this.createIntranetDomainWithOptions(request, runtime);
|
|
22161
22575
|
}
|
|
22162
22576
|
|
|
22577
|
+
/**
|
|
22578
|
+
* * This operation is intended for API providers.
|
|
22579
|
+
* * 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.
|
|
22580
|
+
* * You can add policies to an ACL when you create the ACL.
|
|
22581
|
+
* * If an ACL does not have any policy, the ACL is ineffective.
|
|
22582
|
+
*
|
|
22583
|
+
* @param request CreateIpControlRequest
|
|
22584
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22585
|
+
* @return CreateIpControlResponse
|
|
22586
|
+
*/
|
|
22163
22587
|
async createIpControlWithOptions(request: CreateIpControlRequest, runtime: $Util.RuntimeOptions): Promise<CreateIpControlResponse> {
|
|
22164
22588
|
Util.validateModel(request);
|
|
22165
22589
|
let query = { };
|
|
@@ -22200,6 +22624,15 @@ export default class Client extends OpenApi {
|
|
|
22200
22624
|
return $tea.cast<CreateIpControlResponse>(await this.callApi(params, req, runtime), new CreateIpControlResponse({}));
|
|
22201
22625
|
}
|
|
22202
22626
|
|
|
22627
|
+
/**
|
|
22628
|
+
* * This operation is intended for API providers.
|
|
22629
|
+
* * 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.
|
|
22630
|
+
* * You can add policies to an ACL when you create the ACL.
|
|
22631
|
+
* * If an ACL does not have any policy, the ACL is ineffective.
|
|
22632
|
+
*
|
|
22633
|
+
* @param request CreateIpControlRequest
|
|
22634
|
+
* @return CreateIpControlResponse
|
|
22635
|
+
*/
|
|
22203
22636
|
async createIpControl(request: CreateIpControlRequest): Promise<CreateIpControlResponse> {
|
|
22204
22637
|
let runtime = new $Util.RuntimeOptions({ });
|
|
22205
22638
|
return await this.createIpControlWithOptions(request, runtime);
|
|
@@ -22246,6 +22679,14 @@ export default class Client extends OpenApi {
|
|
|
22246
22679
|
return await this.createLogConfigWithOptions(request, runtime);
|
|
22247
22680
|
}
|
|
22248
22681
|
|
|
22682
|
+
/**
|
|
22683
|
+
* * 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).
|
|
22684
|
+
* * JSON Schema supports only element attributes of the Object type.
|
|
22685
|
+
*
|
|
22686
|
+
* @param request CreateModelRequest
|
|
22687
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22688
|
+
* @return CreateModelResponse
|
|
22689
|
+
*/
|
|
22249
22690
|
async createModelWithOptions(request: CreateModelRequest, runtime: $Util.RuntimeOptions): Promise<CreateModelResponse> {
|
|
22250
22691
|
Util.validateModel(request);
|
|
22251
22692
|
let query = { };
|
|
@@ -22282,6 +22723,13 @@ export default class Client extends OpenApi {
|
|
|
22282
22723
|
return $tea.cast<CreateModelResponse>(await this.callApi(params, req, runtime), new CreateModelResponse({}));
|
|
22283
22724
|
}
|
|
22284
22725
|
|
|
22726
|
+
/**
|
|
22727
|
+
* * 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).
|
|
22728
|
+
* * JSON Schema supports only element attributes of the Object type.
|
|
22729
|
+
*
|
|
22730
|
+
* @param request CreateModelRequest
|
|
22731
|
+
* @return CreateModelResponse
|
|
22732
|
+
*/
|
|
22285
22733
|
async createModel(request: CreateModelRequest): Promise<CreateModelResponse> {
|
|
22286
22734
|
let runtime = new $Util.RuntimeOptions({ });
|
|
22287
22735
|
return await this.createModelWithOptions(request, runtime);
|
|
@@ -22328,6 +22776,16 @@ export default class Client extends OpenApi {
|
|
|
22328
22776
|
return await this.createMonitorGroupWithOptions(request, runtime);
|
|
22329
22777
|
}
|
|
22330
22778
|
|
|
22779
|
+
/**
|
|
22780
|
+
* * This operation is intended for API providers.
|
|
22781
|
+
* * The number of plug-ins of the same type that each user can create is limited. Different limits apply to different plug-in types.
|
|
22782
|
+
* * The plug-in definitions for advanced features are restricted.
|
|
22783
|
+
* * Plug-ins must be bound to APIs to take effect. After a plug-in is bound, it takes effect on that API immediately.
|
|
22784
|
+
*
|
|
22785
|
+
* @param request CreatePluginRequest
|
|
22786
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22787
|
+
* @return CreatePluginResponse
|
|
22788
|
+
*/
|
|
22331
22789
|
async createPluginWithOptions(request: CreatePluginRequest, runtime: $Util.RuntimeOptions): Promise<CreatePluginResponse> {
|
|
22332
22790
|
Util.validateModel(request);
|
|
22333
22791
|
let query = { };
|
|
@@ -22372,11 +22830,30 @@ export default class Client extends OpenApi {
|
|
|
22372
22830
|
return $tea.cast<CreatePluginResponse>(await this.callApi(params, req, runtime), new CreatePluginResponse({}));
|
|
22373
22831
|
}
|
|
22374
22832
|
|
|
22833
|
+
/**
|
|
22834
|
+
* * This operation is intended for API providers.
|
|
22835
|
+
* * The number of plug-ins of the same type that each user can create is limited. Different limits apply to different plug-in types.
|
|
22836
|
+
* * The plug-in definitions for advanced features are restricted.
|
|
22837
|
+
* * Plug-ins must be bound to APIs to take effect. After a plug-in is bound, it takes effect on that API immediately.
|
|
22838
|
+
*
|
|
22839
|
+
* @param request CreatePluginRequest
|
|
22840
|
+
* @return CreatePluginResponse
|
|
22841
|
+
*/
|
|
22375
22842
|
async createPlugin(request: CreatePluginRequest): Promise<CreatePluginResponse> {
|
|
22376
22843
|
let runtime = new $Util.RuntimeOptions({ });
|
|
22377
22844
|
return await this.createPluginWithOptions(request, runtime);
|
|
22378
22845
|
}
|
|
22379
22846
|
|
|
22847
|
+
/**
|
|
22848
|
+
* * This API is intended for API providers.
|
|
22849
|
+
* * The API operation only creates a key policy. You must call the binding operation to bind the key to an API.
|
|
22850
|
+
* * 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.
|
|
22851
|
+
* * The QPS limit on this operation is 50 per user.
|
|
22852
|
+
*
|
|
22853
|
+
* @param request CreateSignatureRequest
|
|
22854
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22855
|
+
* @return CreateSignatureResponse
|
|
22856
|
+
*/
|
|
22380
22857
|
async createSignatureWithOptions(request: CreateSignatureRequest, runtime: $Util.RuntimeOptions): Promise<CreateSignatureResponse> {
|
|
22381
22858
|
Util.validateModel(request);
|
|
22382
22859
|
let query = { };
|
|
@@ -22413,11 +22890,29 @@ export default class Client extends OpenApi {
|
|
|
22413
22890
|
return $tea.cast<CreateSignatureResponse>(await this.callApi(params, req, runtime), new CreateSignatureResponse({}));
|
|
22414
22891
|
}
|
|
22415
22892
|
|
|
22893
|
+
/**
|
|
22894
|
+
* * This API is intended for API providers.
|
|
22895
|
+
* * The API operation only creates a key policy. You must call the binding operation to bind the key to an API.
|
|
22896
|
+
* * 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.
|
|
22897
|
+
* * The QPS limit on this operation is 50 per user.
|
|
22898
|
+
*
|
|
22899
|
+
* @param request CreateSignatureRequest
|
|
22900
|
+
* @return CreateSignatureResponse
|
|
22901
|
+
*/
|
|
22416
22902
|
async createSignature(request: CreateSignatureRequest): Promise<CreateSignatureResponse> {
|
|
22417
22903
|
let runtime = new $Util.RuntimeOptions({ });
|
|
22418
22904
|
return await this.createSignatureWithOptions(request, runtime);
|
|
22419
22905
|
}
|
|
22420
22906
|
|
|
22907
|
+
/**
|
|
22908
|
+
* * This API is intended for API providers.
|
|
22909
|
+
* * 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.
|
|
22910
|
+
* * The QPS limit on this operation is 50 per user.
|
|
22911
|
+
*
|
|
22912
|
+
* @param request CreateTrafficControlRequest
|
|
22913
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
22914
|
+
* @return CreateTrafficControlResponse
|
|
22915
|
+
*/
|
|
22421
22916
|
async createTrafficControlWithOptions(request: CreateTrafficControlRequest, runtime: $Util.RuntimeOptions): Promise<CreateTrafficControlResponse> {
|
|
22422
22917
|
Util.validateModel(request);
|
|
22423
22918
|
let query = { };
|
|
@@ -22466,6 +22961,14 @@ export default class Client extends OpenApi {
|
|
|
22466
22961
|
return $tea.cast<CreateTrafficControlResponse>(await this.callApi(params, req, runtime), new CreateTrafficControlResponse({}));
|
|
22467
22962
|
}
|
|
22468
22963
|
|
|
22964
|
+
/**
|
|
22965
|
+
* * This API is intended for API providers.
|
|
22966
|
+
* * 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.
|
|
22967
|
+
* * The QPS limit on this operation is 50 per user.
|
|
22968
|
+
*
|
|
22969
|
+
* @param request CreateTrafficControlRequest
|
|
22970
|
+
* @return CreateTrafficControlResponse
|
|
22971
|
+
*/
|
|
22469
22972
|
async createTrafficControl(request: CreateTrafficControlRequest): Promise<CreateTrafficControlResponse> {
|
|
22470
22973
|
let runtime = new $Util.RuntimeOptions({ });
|
|
22471
22974
|
return await this.createTrafficControlWithOptions(request, runtime);
|
|
@@ -22504,6 +23007,13 @@ export default class Client extends OpenApi {
|
|
|
22504
23007
|
return await this.deleteAccessControlListWithOptions(request, runtime);
|
|
22505
23008
|
}
|
|
22506
23009
|
|
|
23010
|
+
/**
|
|
23011
|
+
* * This API is intended for API providers.
|
|
23012
|
+
*
|
|
23013
|
+
* @param request DeleteAllTrafficSpecialControlRequest
|
|
23014
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23015
|
+
* @return DeleteAllTrafficSpecialControlResponse
|
|
23016
|
+
*/
|
|
22507
23017
|
async deleteAllTrafficSpecialControlWithOptions(request: DeleteAllTrafficSpecialControlRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAllTrafficSpecialControlResponse> {
|
|
22508
23018
|
Util.validateModel(request);
|
|
22509
23019
|
let query = { };
|
|
@@ -22532,11 +23042,26 @@ export default class Client extends OpenApi {
|
|
|
22532
23042
|
return $tea.cast<DeleteAllTrafficSpecialControlResponse>(await this.callApi(params, req, runtime), new DeleteAllTrafficSpecialControlResponse({}));
|
|
22533
23043
|
}
|
|
22534
23044
|
|
|
23045
|
+
/**
|
|
23046
|
+
* * This API is intended for API providers.
|
|
23047
|
+
*
|
|
23048
|
+
* @param request DeleteAllTrafficSpecialControlRequest
|
|
23049
|
+
* @return DeleteAllTrafficSpecialControlResponse
|
|
23050
|
+
*/
|
|
22535
23051
|
async deleteAllTrafficSpecialControl(request: DeleteAllTrafficSpecialControlRequest): Promise<DeleteAllTrafficSpecialControlResponse> {
|
|
22536
23052
|
let runtime = new $Util.RuntimeOptions({ });
|
|
22537
23053
|
return await this.deleteAllTrafficSpecialControlWithOptions(request, runtime);
|
|
22538
23054
|
}
|
|
22539
23055
|
|
|
23056
|
+
/**
|
|
23057
|
+
* * This operation is intended for API providers and cannot be undone after it is complete.
|
|
23058
|
+
* * An API that is running in the runtime environment must be unpublished before you can delete the API.****
|
|
23059
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23060
|
+
*
|
|
23061
|
+
* @param request DeleteApiRequest
|
|
23062
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23063
|
+
* @return DeleteApiResponse
|
|
23064
|
+
*/
|
|
22540
23065
|
async deleteApiWithOptions(request: DeleteApiRequest, runtime: $Util.RuntimeOptions): Promise<DeleteApiResponse> {
|
|
22541
23066
|
Util.validateModel(request);
|
|
22542
23067
|
let query = { };
|
|
@@ -22569,11 +23094,30 @@ export default class Client extends OpenApi {
|
|
|
22569
23094
|
return $tea.cast<DeleteApiResponse>(await this.callApi(params, req, runtime), new DeleteApiResponse({}));
|
|
22570
23095
|
}
|
|
22571
23096
|
|
|
23097
|
+
/**
|
|
23098
|
+
* * This operation is intended for API providers and cannot be undone after it is complete.
|
|
23099
|
+
* * An API that is running in the runtime environment must be unpublished before you can delete the API.****
|
|
23100
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23101
|
+
*
|
|
23102
|
+
* @param request DeleteApiRequest
|
|
23103
|
+
* @return DeleteApiResponse
|
|
23104
|
+
*/
|
|
22572
23105
|
async deleteApi(request: DeleteApiRequest): Promise<DeleteApiResponse> {
|
|
22573
23106
|
let runtime = new $Util.RuntimeOptions({ });
|
|
22574
23107
|
return await this.deleteApiWithOptions(request, runtime);
|
|
22575
23108
|
}
|
|
22576
23109
|
|
|
23110
|
+
/**
|
|
23111
|
+
* * This operation is intended for API providers.
|
|
23112
|
+
* * An API group that contains APIs cannot be deleted. To delete the API group, you must first delete its APIs.
|
|
23113
|
+
* * After an API group is deleted, the second-level domain name bound to the API group is automatically invalidated.
|
|
23114
|
+
* * If the specified API group does not exist, a success response is returned.
|
|
23115
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23116
|
+
*
|
|
23117
|
+
* @param request DeleteApiGroupRequest
|
|
23118
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23119
|
+
* @return DeleteApiGroupResponse
|
|
23120
|
+
*/
|
|
22577
23121
|
async deleteApiGroupWithOptions(request: DeleteApiGroupRequest, runtime: $Util.RuntimeOptions): Promise<DeleteApiGroupResponse> {
|
|
22578
23122
|
Util.validateModel(request);
|
|
22579
23123
|
let query = { };
|
|
@@ -22606,6 +23150,16 @@ export default class Client extends OpenApi {
|
|
|
22606
23150
|
return $tea.cast<DeleteApiGroupResponse>(await this.callApi(params, req, runtime), new DeleteApiGroupResponse({}));
|
|
22607
23151
|
}
|
|
22608
23152
|
|
|
23153
|
+
/**
|
|
23154
|
+
* * This operation is intended for API providers.
|
|
23155
|
+
* * An API group that contains APIs cannot be deleted. To delete the API group, you must first delete its APIs.
|
|
23156
|
+
* * After an API group is deleted, the second-level domain name bound to the API group is automatically invalidated.
|
|
23157
|
+
* * If the specified API group does not exist, a success response is returned.
|
|
23158
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23159
|
+
*
|
|
23160
|
+
* @param request DeleteApiGroupRequest
|
|
23161
|
+
* @return DeleteApiGroupResponse
|
|
23162
|
+
*/
|
|
22609
23163
|
async deleteApiGroup(request: DeleteApiGroupRequest): Promise<DeleteApiGroupResponse> {
|
|
22610
23164
|
let runtime = new $Util.RuntimeOptions({ });
|
|
22611
23165
|
return await this.deleteApiGroupWithOptions(request, runtime);
|
|
@@ -22652,6 +23206,15 @@ export default class Client extends OpenApi {
|
|
|
22652
23206
|
return await this.deleteApiStageVariableWithOptions(request, runtime);
|
|
22653
23207
|
}
|
|
22654
23208
|
|
|
23209
|
+
/**
|
|
23210
|
+
* * This operation is intended for API callers.
|
|
23211
|
+
* * After an application is deleted, the application and its API authorization cannot be restored.
|
|
23212
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23213
|
+
*
|
|
23214
|
+
* @param request DeleteAppRequest
|
|
23215
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23216
|
+
* @return DeleteAppResponse
|
|
23217
|
+
*/
|
|
22655
23218
|
async deleteAppWithOptions(request: DeleteAppRequest, runtime: $Util.RuntimeOptions): Promise<DeleteAppResponse> {
|
|
22656
23219
|
Util.validateModel(request);
|
|
22657
23220
|
let query = { };
|
|
@@ -22684,6 +23247,14 @@ export default class Client extends OpenApi {
|
|
|
22684
23247
|
return $tea.cast<DeleteAppResponse>(await this.callApi(params, req, runtime), new DeleteAppResponse({}));
|
|
22685
23248
|
}
|
|
22686
23249
|
|
|
23250
|
+
/**
|
|
23251
|
+
* * This operation is intended for API callers.
|
|
23252
|
+
* * After an application is deleted, the application and its API authorization cannot be restored.
|
|
23253
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23254
|
+
*
|
|
23255
|
+
* @param request DeleteAppRequest
|
|
23256
|
+
* @return DeleteAppResponse
|
|
23257
|
+
*/
|
|
22687
23258
|
async deleteApp(request: DeleteAppRequest): Promise<DeleteAppResponse> {
|
|
22688
23259
|
let runtime = new $Util.RuntimeOptions({ });
|
|
22689
23260
|
return await this.deleteAppWithOptions(request, runtime);
|
|
@@ -22833,6 +23404,15 @@ export default class Client extends OpenApi {
|
|
|
22833
23404
|
return await this.deleteDatasetItemWithOptions(request, runtime);
|
|
22834
23405
|
}
|
|
22835
23406
|
|
|
23407
|
+
/**
|
|
23408
|
+
* * This operation is intended for API providers.
|
|
23409
|
+
* * If the specified domain name does not exist, a successful response will still appear.
|
|
23410
|
+
* * Unbinding a domain name from an API group will affect access to the APIs in the group. Exercise caution when using this operation.
|
|
23411
|
+
*
|
|
23412
|
+
* @param request DeleteDomainRequest
|
|
23413
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23414
|
+
* @return DeleteDomainResponse
|
|
23415
|
+
*/
|
|
22836
23416
|
async deleteDomainWithOptions(request: DeleteDomainRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDomainResponse> {
|
|
22837
23417
|
Util.validateModel(request);
|
|
22838
23418
|
let query = { };
|
|
@@ -22865,6 +23445,14 @@ export default class Client extends OpenApi {
|
|
|
22865
23445
|
return $tea.cast<DeleteDomainResponse>(await this.callApi(params, req, runtime), new DeleteDomainResponse({}));
|
|
22866
23446
|
}
|
|
22867
23447
|
|
|
23448
|
+
/**
|
|
23449
|
+
* * This operation is intended for API providers.
|
|
23450
|
+
* * If the specified domain name does not exist, a successful response will still appear.
|
|
23451
|
+
* * Unbinding a domain name from an API group will affect access to the APIs in the group. Exercise caution when using this operation.
|
|
23452
|
+
*
|
|
23453
|
+
* @param request DeleteDomainRequest
|
|
23454
|
+
* @return DeleteDomainResponse
|
|
23455
|
+
*/
|
|
22868
23456
|
async deleteDomain(request: DeleteDomainRequest): Promise<DeleteDomainResponse> {
|
|
22869
23457
|
let runtime = new $Util.RuntimeOptions({ });
|
|
22870
23458
|
return await this.deleteDomainWithOptions(request, runtime);
|
|
@@ -22944,6 +23532,15 @@ export default class Client extends OpenApi {
|
|
|
22944
23532
|
return await this.deleteInstanceWithOptions(request, runtime);
|
|
22945
23533
|
}
|
|
22946
23534
|
|
|
23535
|
+
/**
|
|
23536
|
+
* * This operation is intended for API providers.
|
|
23537
|
+
* * 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.
|
|
23538
|
+
* * If you call this operation on an ACL that does not exist, a success message is returned.
|
|
23539
|
+
*
|
|
23540
|
+
* @param request DeleteIpControlRequest
|
|
23541
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23542
|
+
* @return DeleteIpControlResponse
|
|
23543
|
+
*/
|
|
22947
23544
|
async deleteIpControlWithOptions(request: DeleteIpControlRequest, runtime: $Util.RuntimeOptions): Promise<DeleteIpControlResponse> {
|
|
22948
23545
|
Util.validateModel(request);
|
|
22949
23546
|
let query = { };
|
|
@@ -22972,6 +23569,14 @@ export default class Client extends OpenApi {
|
|
|
22972
23569
|
return $tea.cast<DeleteIpControlResponse>(await this.callApi(params, req, runtime), new DeleteIpControlResponse({}));
|
|
22973
23570
|
}
|
|
22974
23571
|
|
|
23572
|
+
/**
|
|
23573
|
+
* * This operation is intended for API providers.
|
|
23574
|
+
* * 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.
|
|
23575
|
+
* * If you call this operation on an ACL that does not exist, a success message is returned.
|
|
23576
|
+
*
|
|
23577
|
+
* @param request DeleteIpControlRequest
|
|
23578
|
+
* @return DeleteIpControlResponse
|
|
23579
|
+
*/
|
|
22975
23580
|
async deleteIpControl(request: DeleteIpControlRequest): Promise<DeleteIpControlResponse> {
|
|
22976
23581
|
let runtime = new $Util.RuntimeOptions({ });
|
|
22977
23582
|
return await this.deleteIpControlWithOptions(request, runtime);
|
|
@@ -23080,6 +23685,14 @@ export default class Client extends OpenApi {
|
|
|
23080
23685
|
return await this.deleteMonitorGroupWithOptions(request, runtime);
|
|
23081
23686
|
}
|
|
23082
23687
|
|
|
23688
|
+
/**
|
|
23689
|
+
* * This operation is intended for API providers.
|
|
23690
|
+
* * You must first unbind the plug-in from the API. Otherwise, an error is reported when you delete the plug-in.
|
|
23691
|
+
*
|
|
23692
|
+
* @param request DeletePluginRequest
|
|
23693
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23694
|
+
* @return DeletePluginResponse
|
|
23695
|
+
*/
|
|
23083
23696
|
async deletePluginWithOptions(request: DeletePluginRequest, runtime: $Util.RuntimeOptions): Promise<DeletePluginResponse> {
|
|
23084
23697
|
Util.validateModel(request);
|
|
23085
23698
|
let query = { };
|
|
@@ -23112,11 +23725,28 @@ export default class Client extends OpenApi {
|
|
|
23112
23725
|
return $tea.cast<DeletePluginResponse>(await this.callApi(params, req, runtime), new DeletePluginResponse({}));
|
|
23113
23726
|
}
|
|
23114
23727
|
|
|
23728
|
+
/**
|
|
23729
|
+
* * This operation is intended for API providers.
|
|
23730
|
+
* * You must first unbind the plug-in from the API. Otherwise, an error is reported when you delete the plug-in.
|
|
23731
|
+
*
|
|
23732
|
+
* @param request DeletePluginRequest
|
|
23733
|
+
* @return DeletePluginResponse
|
|
23734
|
+
*/
|
|
23115
23735
|
async deletePlugin(request: DeletePluginRequest): Promise<DeletePluginResponse> {
|
|
23116
23736
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23117
23737
|
return await this.deletePluginWithOptions(request, runtime);
|
|
23118
23738
|
}
|
|
23119
23739
|
|
|
23740
|
+
/**
|
|
23741
|
+
* * This API is intended for API providers.
|
|
23742
|
+
* * This API operation deletes an existing backend signature key.
|
|
23743
|
+
* * You cannot delete a key that is bound to an API. To delete the key, you must unbind it first.
|
|
23744
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23745
|
+
*
|
|
23746
|
+
* @param request DeleteSignatureRequest
|
|
23747
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23748
|
+
* @return DeleteSignatureResponse
|
|
23749
|
+
*/
|
|
23120
23750
|
async deleteSignatureWithOptions(request: DeleteSignatureRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSignatureResponse> {
|
|
23121
23751
|
Util.validateModel(request);
|
|
23122
23752
|
let query = { };
|
|
@@ -23145,11 +23775,29 @@ export default class Client extends OpenApi {
|
|
|
23145
23775
|
return $tea.cast<DeleteSignatureResponse>(await this.callApi(params, req, runtime), new DeleteSignatureResponse({}));
|
|
23146
23776
|
}
|
|
23147
23777
|
|
|
23778
|
+
/**
|
|
23779
|
+
* * This API is intended for API providers.
|
|
23780
|
+
* * This API operation deletes an existing backend signature key.
|
|
23781
|
+
* * You cannot delete a key that is bound to an API. To delete the key, you must unbind it first.
|
|
23782
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23783
|
+
*
|
|
23784
|
+
* @param request DeleteSignatureRequest
|
|
23785
|
+
* @return DeleteSignatureResponse
|
|
23786
|
+
*/
|
|
23148
23787
|
async deleteSignature(request: DeleteSignatureRequest): Promise<DeleteSignatureResponse> {
|
|
23149
23788
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23150
23789
|
return await this.deleteSignatureWithOptions(request, runtime);
|
|
23151
23790
|
}
|
|
23152
23791
|
|
|
23792
|
+
/**
|
|
23793
|
+
* * This API is intended for API providers.
|
|
23794
|
+
* * 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.
|
|
23795
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23796
|
+
*
|
|
23797
|
+
* @param request DeleteTrafficControlRequest
|
|
23798
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23799
|
+
* @return DeleteTrafficControlResponse
|
|
23800
|
+
*/
|
|
23153
23801
|
async deleteTrafficControlWithOptions(request: DeleteTrafficControlRequest, runtime: $Util.RuntimeOptions): Promise<DeleteTrafficControlResponse> {
|
|
23154
23802
|
Util.validateModel(request);
|
|
23155
23803
|
let query = { };
|
|
@@ -23178,11 +23826,27 @@ export default class Client extends OpenApi {
|
|
|
23178
23826
|
return $tea.cast<DeleteTrafficControlResponse>(await this.callApi(params, req, runtime), new DeleteTrafficControlResponse({}));
|
|
23179
23827
|
}
|
|
23180
23828
|
|
|
23829
|
+
/**
|
|
23830
|
+
* * This API is intended for API providers.
|
|
23831
|
+
* * 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.
|
|
23832
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23833
|
+
*
|
|
23834
|
+
* @param request DeleteTrafficControlRequest
|
|
23835
|
+
* @return DeleteTrafficControlResponse
|
|
23836
|
+
*/
|
|
23181
23837
|
async deleteTrafficControl(request: DeleteTrafficControlRequest): Promise<DeleteTrafficControlResponse> {
|
|
23182
23838
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23183
23839
|
return await this.deleteTrafficControlWithOptions(request, runtime);
|
|
23184
23840
|
}
|
|
23185
23841
|
|
|
23842
|
+
/**
|
|
23843
|
+
* * This API is intended for API providers.
|
|
23844
|
+
* * You can obtain the input parameters required in this operation by calling other APIs.
|
|
23845
|
+
*
|
|
23846
|
+
* @param request DeleteTrafficSpecialControlRequest
|
|
23847
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23848
|
+
* @return DeleteTrafficSpecialControlResponse
|
|
23849
|
+
*/
|
|
23186
23850
|
async deleteTrafficSpecialControlWithOptions(request: DeleteTrafficSpecialControlRequest, runtime: $Util.RuntimeOptions): Promise<DeleteTrafficSpecialControlResponse> {
|
|
23187
23851
|
Util.validateModel(request);
|
|
23188
23852
|
let query = { };
|
|
@@ -23219,11 +23883,27 @@ export default class Client extends OpenApi {
|
|
|
23219
23883
|
return $tea.cast<DeleteTrafficSpecialControlResponse>(await this.callApi(params, req, runtime), new DeleteTrafficSpecialControlResponse({}));
|
|
23220
23884
|
}
|
|
23221
23885
|
|
|
23886
|
+
/**
|
|
23887
|
+
* * This API is intended for API providers.
|
|
23888
|
+
* * You can obtain the input parameters required in this operation by calling other APIs.
|
|
23889
|
+
*
|
|
23890
|
+
* @param request DeleteTrafficSpecialControlRequest
|
|
23891
|
+
* @return DeleteTrafficSpecialControlResponse
|
|
23892
|
+
*/
|
|
23222
23893
|
async deleteTrafficSpecialControl(request: DeleteTrafficSpecialControlRequest): Promise<DeleteTrafficSpecialControlResponse> {
|
|
23223
23894
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23224
23895
|
return await this.deleteTrafficSpecialControlWithOptions(request, runtime);
|
|
23225
23896
|
}
|
|
23226
23897
|
|
|
23898
|
+
/**
|
|
23899
|
+
* * This operation is intended for API providers. Only the API that you have defined and published to a runtime environment can be called.
|
|
23900
|
+
* * An API is published to a cluster in less than 5 seconds.
|
|
23901
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23902
|
+
*
|
|
23903
|
+
* @param request DeployApiRequest
|
|
23904
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23905
|
+
* @return DeployApiResponse
|
|
23906
|
+
*/
|
|
23227
23907
|
async deployApiWithOptions(request: DeployApiRequest, runtime: $Util.RuntimeOptions): Promise<DeployApiResponse> {
|
|
23228
23908
|
Util.validateModel(request);
|
|
23229
23909
|
let query = { };
|
|
@@ -23264,6 +23944,14 @@ export default class Client extends OpenApi {
|
|
|
23264
23944
|
return $tea.cast<DeployApiResponse>(await this.callApi(params, req, runtime), new DeployApiResponse({}));
|
|
23265
23945
|
}
|
|
23266
23946
|
|
|
23947
|
+
/**
|
|
23948
|
+
* * This operation is intended for API providers. Only the API that you have defined and published to a runtime environment can be called.
|
|
23949
|
+
* * An API is published to a cluster in less than 5 seconds.
|
|
23950
|
+
* * The QPS limit on this operation is 50 per user.
|
|
23951
|
+
*
|
|
23952
|
+
* @param request DeployApiRequest
|
|
23953
|
+
* @return DeployApiResponse
|
|
23954
|
+
*/
|
|
23267
23955
|
async deployApi(request: DeployApiRequest): Promise<DeployApiResponse> {
|
|
23268
23956
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23269
23957
|
return await this.deployApiWithOptions(request, runtime);
|
|
@@ -23380,6 +24068,13 @@ export default class Client extends OpenApi {
|
|
|
23380
24068
|
return await this.describeAccessControlListsWithOptions(request, runtime);
|
|
23381
24069
|
}
|
|
23382
24070
|
|
|
24071
|
+
/**
|
|
24072
|
+
* * This operation is intended for API providers.
|
|
24073
|
+
*
|
|
24074
|
+
* @param request DescribeApiRequest
|
|
24075
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24076
|
+
* @return DescribeApiResponse
|
|
24077
|
+
*/
|
|
23383
24078
|
async describeApiWithOptions(request: DescribeApiRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiResponse> {
|
|
23384
24079
|
Util.validateModel(request);
|
|
23385
24080
|
let query = { };
|
|
@@ -23412,11 +24107,27 @@ export default class Client extends OpenApi {
|
|
|
23412
24107
|
return $tea.cast<DescribeApiResponse>(await this.callApi(params, req, runtime), new DescribeApiResponse({}));
|
|
23413
24108
|
}
|
|
23414
24109
|
|
|
24110
|
+
/**
|
|
24111
|
+
* * This operation is intended for API providers.
|
|
24112
|
+
*
|
|
24113
|
+
* @param request DescribeApiRequest
|
|
24114
|
+
* @return DescribeApiResponse
|
|
24115
|
+
*/
|
|
23415
24116
|
async describeApi(request: DescribeApiRequest): Promise<DescribeApiResponse> {
|
|
23416
24117
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23417
24118
|
return await this.describeApiWithOptions(request, runtime);
|
|
23418
24119
|
}
|
|
23419
24120
|
|
|
24121
|
+
/**
|
|
24122
|
+
* * 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.****************
|
|
24123
|
+
* * When you call this operation as an API caller, the service information, parameter definitions, and other details of the API you specify are returned.
|
|
24124
|
+
* * 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.
|
|
24125
|
+
* * 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.
|
|
24126
|
+
*
|
|
24127
|
+
* @param request DescribeApiDocRequest
|
|
24128
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24129
|
+
* @return DescribeApiDocResponse
|
|
24130
|
+
*/
|
|
23420
24131
|
async describeApiDocWithOptions(request: DescribeApiDocRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiDocResponse> {
|
|
23421
24132
|
Util.validateModel(request);
|
|
23422
24133
|
let query = { };
|
|
@@ -23453,11 +24164,27 @@ export default class Client extends OpenApi {
|
|
|
23453
24164
|
return $tea.cast<DescribeApiDocResponse>(await this.callApi(params, req, runtime), new DescribeApiDocResponse({}));
|
|
23454
24165
|
}
|
|
23455
24166
|
|
|
24167
|
+
/**
|
|
24168
|
+
* * 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.****************
|
|
24169
|
+
* * When you call this operation as an API caller, the service information, parameter definitions, and other details of the API you specify are returned.
|
|
24170
|
+
* * 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.
|
|
24171
|
+
* * 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.
|
|
24172
|
+
*
|
|
24173
|
+
* @param request DescribeApiDocRequest
|
|
24174
|
+
* @return DescribeApiDocResponse
|
|
24175
|
+
*/
|
|
23456
24176
|
async describeApiDoc(request: DescribeApiDocRequest): Promise<DescribeApiDocResponse> {
|
|
23457
24177
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23458
24178
|
return await this.describeApiDocWithOptions(request, runtime);
|
|
23459
24179
|
}
|
|
23460
24180
|
|
|
24181
|
+
/**
|
|
24182
|
+
* * This operation is intended for API providers.
|
|
24183
|
+
*
|
|
24184
|
+
* @param request DescribeApiGroupRequest
|
|
24185
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24186
|
+
* @return DescribeApiGroupResponse
|
|
24187
|
+
*/
|
|
23461
24188
|
async describeApiGroupWithOptions(request: DescribeApiGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiGroupResponse> {
|
|
23462
24189
|
Util.validateModel(request);
|
|
23463
24190
|
let query = { };
|
|
@@ -23490,6 +24217,12 @@ export default class Client extends OpenApi {
|
|
|
23490
24217
|
return $tea.cast<DescribeApiGroupResponse>(await this.callApi(params, req, runtime), new DescribeApiGroupResponse({}));
|
|
23491
24218
|
}
|
|
23492
24219
|
|
|
24220
|
+
/**
|
|
24221
|
+
* * This operation is intended for API providers.
|
|
24222
|
+
*
|
|
24223
|
+
* @param request DescribeApiGroupRequest
|
|
24224
|
+
* @return DescribeApiGroupResponse
|
|
24225
|
+
*/
|
|
23493
24226
|
async describeApiGroup(request: DescribeApiGroupRequest): Promise<DescribeApiGroupResponse> {
|
|
23494
24227
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23495
24228
|
return await this.describeApiGroupWithOptions(request, runtime);
|
|
@@ -23528,6 +24261,13 @@ export default class Client extends OpenApi {
|
|
|
23528
24261
|
return await this.describeApiGroupVpcWhitelistWithOptions(request, runtime);
|
|
23529
24262
|
}
|
|
23530
24263
|
|
|
24264
|
+
/**
|
|
24265
|
+
* * This operation is intended for API providers.
|
|
24266
|
+
*
|
|
24267
|
+
* @param request DescribeApiGroupsRequest
|
|
24268
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24269
|
+
* @return DescribeApiGroupsResponse
|
|
24270
|
+
*/
|
|
23531
24271
|
async describeApiGroupsWithOptions(request: DescribeApiGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiGroupsResponse> {
|
|
23532
24272
|
Util.validateModel(request);
|
|
23533
24273
|
let query = { };
|
|
@@ -23584,11 +24324,25 @@ export default class Client extends OpenApi {
|
|
|
23584
24324
|
return $tea.cast<DescribeApiGroupsResponse>(await this.callApi(params, req, runtime), new DescribeApiGroupsResponse({}));
|
|
23585
24325
|
}
|
|
23586
24326
|
|
|
24327
|
+
/**
|
|
24328
|
+
* * This operation is intended for API providers.
|
|
24329
|
+
*
|
|
24330
|
+
* @param request DescribeApiGroupsRequest
|
|
24331
|
+
* @return DescribeApiGroupsResponse
|
|
24332
|
+
*/
|
|
23587
24333
|
async describeApiGroups(request: DescribeApiGroupsRequest): Promise<DescribeApiGroupsResponse> {
|
|
23588
24334
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23589
24335
|
return await this.describeApiGroupsWithOptions(request, runtime);
|
|
23590
24336
|
}
|
|
23591
24337
|
|
|
24338
|
+
/**
|
|
24339
|
+
* * This operation is intended for API providers. Only APIs which have been published have a historical version record.
|
|
24340
|
+
* * This operation allows you to obtain the API historical versions which can be used to call other APIs.
|
|
24341
|
+
*
|
|
24342
|
+
* @param request DescribeApiHistoriesRequest
|
|
24343
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24344
|
+
* @return DescribeApiHistoriesResponse
|
|
24345
|
+
*/
|
|
23592
24346
|
async describeApiHistoriesWithOptions(request: DescribeApiHistoriesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiHistoriesResponse> {
|
|
23593
24347
|
Util.validateModel(request);
|
|
23594
24348
|
let query = { };
|
|
@@ -23637,11 +24391,26 @@ export default class Client extends OpenApi {
|
|
|
23637
24391
|
return $tea.cast<DescribeApiHistoriesResponse>(await this.callApi(params, req, runtime), new DescribeApiHistoriesResponse({}));
|
|
23638
24392
|
}
|
|
23639
24393
|
|
|
24394
|
+
/**
|
|
24395
|
+
* * This operation is intended for API providers. Only APIs which have been published have a historical version record.
|
|
24396
|
+
* * This operation allows you to obtain the API historical versions which can be used to call other APIs.
|
|
24397
|
+
*
|
|
24398
|
+
* @param request DescribeApiHistoriesRequest
|
|
24399
|
+
* @return DescribeApiHistoriesResponse
|
|
24400
|
+
*/
|
|
23640
24401
|
async describeApiHistories(request: DescribeApiHistoriesRequest): Promise<DescribeApiHistoriesResponse> {
|
|
23641
24402
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23642
24403
|
return await this.describeApiHistoriesWithOptions(request, runtime);
|
|
23643
24404
|
}
|
|
23644
24405
|
|
|
24406
|
+
/**
|
|
24407
|
+
* * This API is intended for API providers.
|
|
24408
|
+
* * 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.
|
|
24409
|
+
*
|
|
24410
|
+
* @param request DescribeApiHistoryRequest
|
|
24411
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24412
|
+
* @return DescribeApiHistoryResponse
|
|
24413
|
+
*/
|
|
23645
24414
|
async describeApiHistoryWithOptions(request: DescribeApiHistoryRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiHistoryResponse> {
|
|
23646
24415
|
Util.validateModel(request);
|
|
23647
24416
|
let query = { };
|
|
@@ -23682,11 +24451,27 @@ export default class Client extends OpenApi {
|
|
|
23682
24451
|
return $tea.cast<DescribeApiHistoryResponse>(await this.callApi(params, req, runtime), new DescribeApiHistoryResponse({}));
|
|
23683
24452
|
}
|
|
23684
24453
|
|
|
24454
|
+
/**
|
|
24455
|
+
* * This API is intended for API providers.
|
|
24456
|
+
* * 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.
|
|
24457
|
+
*
|
|
24458
|
+
* @param request DescribeApiHistoryRequest
|
|
24459
|
+
* @return DescribeApiHistoryResponse
|
|
24460
|
+
*/
|
|
23685
24461
|
async describeApiHistory(request: DescribeApiHistoryRequest): Promise<DescribeApiHistoryResponse> {
|
|
23686
24462
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23687
24463
|
return await this.describeApiHistoryWithOptions(request, runtime);
|
|
23688
24464
|
}
|
|
23689
24465
|
|
|
24466
|
+
/**
|
|
24467
|
+
* * This operation is intended for API callers.
|
|
24468
|
+
* * If an optional parameter is not specified, all results are returned on separate pages.
|
|
24469
|
+
* ·
|
|
24470
|
+
*
|
|
24471
|
+
* @param request DescribeApiIpControlsRequest
|
|
24472
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24473
|
+
* @return DescribeApiIpControlsResponse
|
|
24474
|
+
*/
|
|
23690
24475
|
async describeApiIpControlsWithOptions(request: DescribeApiIpControlsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiIpControlsResponse> {
|
|
23691
24476
|
Util.validateModel(request);
|
|
23692
24477
|
let query = { };
|
|
@@ -23731,11 +24516,28 @@ export default class Client extends OpenApi {
|
|
|
23731
24516
|
return $tea.cast<DescribeApiIpControlsResponse>(await this.callApi(params, req, runtime), new DescribeApiIpControlsResponse({}));
|
|
23732
24517
|
}
|
|
23733
24518
|
|
|
24519
|
+
/**
|
|
24520
|
+
* * This operation is intended for API callers.
|
|
24521
|
+
* * If an optional parameter is not specified, all results are returned on separate pages.
|
|
24522
|
+
* ·
|
|
24523
|
+
*
|
|
24524
|
+
* @param request DescribeApiIpControlsRequest
|
|
24525
|
+
* @return DescribeApiIpControlsResponse
|
|
24526
|
+
*/
|
|
23734
24527
|
async describeApiIpControls(request: DescribeApiIpControlsRequest): Promise<DescribeApiIpControlsResponse> {
|
|
23735
24528
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23736
24529
|
return await this.describeApiIpControlsWithOptions(request, runtime);
|
|
23737
24530
|
}
|
|
23738
24531
|
|
|
24532
|
+
/**
|
|
24533
|
+
* You can call this operation to query the latency metrics in milliseconds for a specified API.
|
|
24534
|
+
* * This API is intended for API providers.
|
|
24535
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
24536
|
+
*
|
|
24537
|
+
* @param request DescribeApiLatencyDataRequest
|
|
24538
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24539
|
+
* @return DescribeApiLatencyDataResponse
|
|
24540
|
+
*/
|
|
23739
24541
|
async describeApiLatencyDataWithOptions(request: DescribeApiLatencyDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiLatencyDataResponse> {
|
|
23740
24542
|
Util.validateModel(request);
|
|
23741
24543
|
let query = { };
|
|
@@ -23780,6 +24582,14 @@ export default class Client extends OpenApi {
|
|
|
23780
24582
|
return $tea.cast<DescribeApiLatencyDataResponse>(await this.callApi(params, req, runtime), new DescribeApiLatencyDataResponse({}));
|
|
23781
24583
|
}
|
|
23782
24584
|
|
|
24585
|
+
/**
|
|
24586
|
+
* You can call this operation to query the latency metrics in milliseconds for a specified API.
|
|
24587
|
+
* * This API is intended for API providers.
|
|
24588
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
24589
|
+
*
|
|
24590
|
+
* @param request DescribeApiLatencyDataRequest
|
|
24591
|
+
* @return DescribeApiLatencyDataResponse
|
|
24592
|
+
*/
|
|
23783
24593
|
async describeApiLatencyData(request: DescribeApiLatencyDataRequest): Promise<DescribeApiLatencyDataResponse> {
|
|
23784
24594
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23785
24595
|
return await this.describeApiLatencyDataWithOptions(request, runtime);
|
|
@@ -23822,6 +24632,14 @@ export default class Client extends OpenApi {
|
|
|
23822
24632
|
return await this.describeApiMarketAttributesWithOptions(request, runtime);
|
|
23823
24633
|
}
|
|
23824
24634
|
|
|
24635
|
+
/**
|
|
24636
|
+
* * This API is intended for API providers.
|
|
24637
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
24638
|
+
*
|
|
24639
|
+
* @param request DescribeApiQpsDataRequest
|
|
24640
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24641
|
+
* @return DescribeApiQpsDataResponse
|
|
24642
|
+
*/
|
|
23825
24643
|
async describeApiQpsDataWithOptions(request: DescribeApiQpsDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiQpsDataResponse> {
|
|
23826
24644
|
Util.validateModel(request);
|
|
23827
24645
|
let query = { };
|
|
@@ -23866,11 +24684,25 @@ export default class Client extends OpenApi {
|
|
|
23866
24684
|
return $tea.cast<DescribeApiQpsDataResponse>(await this.callApi(params, req, runtime), new DescribeApiQpsDataResponse({}));
|
|
23867
24685
|
}
|
|
23868
24686
|
|
|
24687
|
+
/**
|
|
24688
|
+
* * This API is intended for API providers.
|
|
24689
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
24690
|
+
*
|
|
24691
|
+
* @param request DescribeApiQpsDataRequest
|
|
24692
|
+
* @return DescribeApiQpsDataResponse
|
|
24693
|
+
*/
|
|
23869
24694
|
async describeApiQpsData(request: DescribeApiQpsDataRequest): Promise<DescribeApiQpsDataResponse> {
|
|
23870
24695
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23871
24696
|
return await this.describeApiQpsDataWithOptions(request, runtime);
|
|
23872
24697
|
}
|
|
23873
24698
|
|
|
24699
|
+
/**
|
|
24700
|
+
* Queries the backend signature keys that are bound to the APIs of a specified API group in a specified environment.
|
|
24701
|
+
*
|
|
24702
|
+
* @param request DescribeApiSignaturesRequest
|
|
24703
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24704
|
+
* @return DescribeApiSignaturesResponse
|
|
24705
|
+
*/
|
|
23874
24706
|
async describeApiSignaturesWithOptions(request: DescribeApiSignaturesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiSignaturesResponse> {
|
|
23875
24707
|
Util.validateModel(request);
|
|
23876
24708
|
let query = { };
|
|
@@ -23915,11 +24747,24 @@ export default class Client extends OpenApi {
|
|
|
23915
24747
|
return $tea.cast<DescribeApiSignaturesResponse>(await this.callApi(params, req, runtime), new DescribeApiSignaturesResponse({}));
|
|
23916
24748
|
}
|
|
23917
24749
|
|
|
24750
|
+
/**
|
|
24751
|
+
* Queries the backend signature keys that are bound to the APIs of a specified API group in a specified environment.
|
|
24752
|
+
*
|
|
24753
|
+
* @param request DescribeApiSignaturesRequest
|
|
24754
|
+
* @return DescribeApiSignaturesResponse
|
|
24755
|
+
*/
|
|
23918
24756
|
async describeApiSignatures(request: DescribeApiSignaturesRequest): Promise<DescribeApiSignaturesResponse> {
|
|
23919
24757
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23920
24758
|
return await this.describeApiSignaturesWithOptions(request, runtime);
|
|
23921
24759
|
}
|
|
23922
24760
|
|
|
24761
|
+
/**
|
|
24762
|
+
* Queries the throttling policies bound to all members of an API group in a specified environment.
|
|
24763
|
+
*
|
|
24764
|
+
* @param request DescribeApiTrafficControlsRequest
|
|
24765
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24766
|
+
* @return DescribeApiTrafficControlsResponse
|
|
24767
|
+
*/
|
|
23923
24768
|
async describeApiTrafficControlsWithOptions(request: DescribeApiTrafficControlsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiTrafficControlsResponse> {
|
|
23924
24769
|
Util.validateModel(request);
|
|
23925
24770
|
let query = { };
|
|
@@ -23964,11 +24809,25 @@ export default class Client extends OpenApi {
|
|
|
23964
24809
|
return $tea.cast<DescribeApiTrafficControlsResponse>(await this.callApi(params, req, runtime), new DescribeApiTrafficControlsResponse({}));
|
|
23965
24810
|
}
|
|
23966
24811
|
|
|
24812
|
+
/**
|
|
24813
|
+
* Queries the throttling policies bound to all members of an API group in a specified environment.
|
|
24814
|
+
*
|
|
24815
|
+
* @param request DescribeApiTrafficControlsRequest
|
|
24816
|
+
* @return DescribeApiTrafficControlsResponse
|
|
24817
|
+
*/
|
|
23967
24818
|
async describeApiTrafficControls(request: DescribeApiTrafficControlsRequest): Promise<DescribeApiTrafficControlsResponse> {
|
|
23968
24819
|
let runtime = new $Util.RuntimeOptions({ });
|
|
23969
24820
|
return await this.describeApiTrafficControlsWithOptions(request, runtime);
|
|
23970
24821
|
}
|
|
23971
24822
|
|
|
24823
|
+
/**
|
|
24824
|
+
* * This API is intended for API providers.
|
|
24825
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
24826
|
+
*
|
|
24827
|
+
* @param request DescribeApiTrafficDataRequest
|
|
24828
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24829
|
+
* @return DescribeApiTrafficDataResponse
|
|
24830
|
+
*/
|
|
23972
24831
|
async describeApiTrafficDataWithOptions(request: DescribeApiTrafficDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApiTrafficDataResponse> {
|
|
23973
24832
|
Util.validateModel(request);
|
|
23974
24833
|
let query = { };
|
|
@@ -24013,11 +24872,27 @@ export default class Client extends OpenApi {
|
|
|
24013
24872
|
return $tea.cast<DescribeApiTrafficDataResponse>(await this.callApi(params, req, runtime), new DescribeApiTrafficDataResponse({}));
|
|
24014
24873
|
}
|
|
24015
24874
|
|
|
24875
|
+
/**
|
|
24876
|
+
* * This API is intended for API providers.
|
|
24877
|
+
* * Only statistics for API calls made in the release environment are collected by default.
|
|
24878
|
+
*
|
|
24879
|
+
* @param request DescribeApiTrafficDataRequest
|
|
24880
|
+
* @return DescribeApiTrafficDataResponse
|
|
24881
|
+
*/
|
|
24016
24882
|
async describeApiTrafficData(request: DescribeApiTrafficDataRequest): Promise<DescribeApiTrafficDataResponse> {
|
|
24017
24883
|
let runtime = new $Util.RuntimeOptions({ });
|
|
24018
24884
|
return await this.describeApiTrafficDataWithOptions(request, runtime);
|
|
24019
24885
|
}
|
|
24020
24886
|
|
|
24887
|
+
/**
|
|
24888
|
+
* * This API is intended for API providers.
|
|
24889
|
+
* * The list of all APIs that belong to the definition and their brief information are returned.
|
|
24890
|
+
* * 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.
|
|
24891
|
+
*
|
|
24892
|
+
* @param request DescribeApisRequest
|
|
24893
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
24894
|
+
* @return DescribeApisResponse
|
|
24895
|
+
*/
|
|
24021
24896
|
async describeApisWithOptions(request: DescribeApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisResponse> {
|
|
24022
24897
|
Util.validateModel(request);
|
|
24023
24898
|
let query = { };
|
|
@@ -24061,6 +24936,10 @@ export default class Client extends OpenApi {
|
|
|
24061
24936
|
query["SecurityToken"] = request.securityToken;
|
|
24062
24937
|
}
|
|
24063
24938
|
|
|
24939
|
+
if (!Util.isUnset(request.stageName)) {
|
|
24940
|
+
query["StageName"] = request.stageName;
|
|
24941
|
+
}
|
|
24942
|
+
|
|
24064
24943
|
if (!Util.isUnset(request.tag)) {
|
|
24065
24944
|
query["Tag"] = request.tag;
|
|
24066
24945
|
}
|
|
@@ -24090,6 +24969,14 @@ export default class Client extends OpenApi {
|
|
|
24090
24969
|
return $tea.cast<DescribeApisResponse>(await this.callApi(params, req, runtime), new DescribeApisResponse({}));
|
|
24091
24970
|
}
|
|
24092
24971
|
|
|
24972
|
+
/**
|
|
24973
|
+
* * This API is intended for API providers.
|
|
24974
|
+
* * The list of all APIs that belong to the definition and their brief information are returned.
|
|
24975
|
+
* * 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.
|
|
24976
|
+
*
|
|
24977
|
+
* @param request DescribeApisRequest
|
|
24978
|
+
* @return DescribeApisResponse
|
|
24979
|
+
*/
|
|
24093
24980
|
async describeApis(request: DescribeApisRequest): Promise<DescribeApisResponse> {
|
|
24094
24981
|
let runtime = new $Util.RuntimeOptions({ });
|
|
24095
24982
|
return await this.describeApisWithOptions(request, runtime);
|
|
@@ -24201,6 +25088,14 @@ export default class Client extends OpenApi {
|
|
|
24201
25088
|
return await this.describeApisByBackendWithOptions(request, runtime);
|
|
24202
25089
|
}
|
|
24203
25090
|
|
|
25091
|
+
/**
|
|
25092
|
+
* * This API is intended for API providers.
|
|
25093
|
+
* * You can specify PageNumber to obtain the result on the specified page.
|
|
25094
|
+
*
|
|
25095
|
+
* @param request DescribeApisByIpControlRequest
|
|
25096
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25097
|
+
* @return DescribeApisByIpControlResponse
|
|
25098
|
+
*/
|
|
24204
25099
|
async describeApisByIpControlWithOptions(request: DescribeApisByIpControlRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisByIpControlResponse> {
|
|
24205
25100
|
Util.validateModel(request);
|
|
24206
25101
|
let query = { };
|
|
@@ -24237,11 +25132,25 @@ export default class Client extends OpenApi {
|
|
|
24237
25132
|
return $tea.cast<DescribeApisByIpControlResponse>(await this.callApi(params, req, runtime), new DescribeApisByIpControlResponse({}));
|
|
24238
25133
|
}
|
|
24239
25134
|
|
|
25135
|
+
/**
|
|
25136
|
+
* * This API is intended for API providers.
|
|
25137
|
+
* * You can specify PageNumber to obtain the result on the specified page.
|
|
25138
|
+
*
|
|
25139
|
+
* @param request DescribeApisByIpControlRequest
|
|
25140
|
+
* @return DescribeApisByIpControlResponse
|
|
25141
|
+
*/
|
|
24240
25142
|
async describeApisByIpControl(request: DescribeApisByIpControlRequest): Promise<DescribeApisByIpControlResponse> {
|
|
24241
25143
|
let runtime = new $Util.RuntimeOptions({ });
|
|
24242
25144
|
return await this.describeApisByIpControlWithOptions(request, runtime);
|
|
24243
25145
|
}
|
|
24244
25146
|
|
|
25147
|
+
/**
|
|
25148
|
+
* Queries the APIs to which a specified backend signature key is bound.
|
|
25149
|
+
*
|
|
25150
|
+
* @param request DescribeApisBySignatureRequest
|
|
25151
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25152
|
+
* @return DescribeApisBySignatureResponse
|
|
25153
|
+
*/
|
|
24245
25154
|
async describeApisBySignatureWithOptions(request: DescribeApisBySignatureRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisBySignatureResponse> {
|
|
24246
25155
|
Util.validateModel(request);
|
|
24247
25156
|
let query = { };
|
|
@@ -24278,11 +25187,25 @@ export default class Client extends OpenApi {
|
|
|
24278
25187
|
return $tea.cast<DescribeApisBySignatureResponse>(await this.callApi(params, req, runtime), new DescribeApisBySignatureResponse({}));
|
|
24279
25188
|
}
|
|
24280
25189
|
|
|
25190
|
+
/**
|
|
25191
|
+
* Queries the APIs to which a specified backend signature key is bound.
|
|
25192
|
+
*
|
|
25193
|
+
* @param request DescribeApisBySignatureRequest
|
|
25194
|
+
* @return DescribeApisBySignatureResponse
|
|
25195
|
+
*/
|
|
24281
25196
|
async describeApisBySignature(request: DescribeApisBySignatureRequest): Promise<DescribeApisBySignatureResponse> {
|
|
24282
25197
|
let runtime = new $Util.RuntimeOptions({ });
|
|
24283
25198
|
return await this.describeApisBySignatureWithOptions(request, runtime);
|
|
24284
25199
|
}
|
|
24285
25200
|
|
|
25201
|
+
/**
|
|
25202
|
+
* * This API is intended for API providers.
|
|
25203
|
+
* * You can specify PageNumber to obtain the result on the specified page.
|
|
25204
|
+
*
|
|
25205
|
+
* @param request DescribeApisByTrafficControlRequest
|
|
25206
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25207
|
+
* @return DescribeApisByTrafficControlResponse
|
|
25208
|
+
*/
|
|
24286
25209
|
async describeApisByTrafficControlWithOptions(request: DescribeApisByTrafficControlRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisByTrafficControlResponse> {
|
|
24287
25210
|
Util.validateModel(request);
|
|
24288
25211
|
let query = { };
|
|
@@ -24319,6 +25242,13 @@ export default class Client extends OpenApi {
|
|
|
24319
25242
|
return $tea.cast<DescribeApisByTrafficControlResponse>(await this.callApi(params, req, runtime), new DescribeApisByTrafficControlResponse({}));
|
|
24320
25243
|
}
|
|
24321
25244
|
|
|
25245
|
+
/**
|
|
25246
|
+
* * This API is intended for API providers.
|
|
25247
|
+
* * You can specify PageNumber to obtain the result on the specified page.
|
|
25248
|
+
*
|
|
25249
|
+
* @param request DescribeApisByTrafficControlRequest
|
|
25250
|
+
* @return DescribeApisByTrafficControlResponse
|
|
25251
|
+
*/
|
|
24322
25252
|
async describeApisByTrafficControl(request: DescribeApisByTrafficControlRequest): Promise<DescribeApisByTrafficControlResponse> {
|
|
24323
25253
|
let runtime = new $Util.RuntimeOptions({ });
|
|
24324
25254
|
return await this.describeApisByTrafficControlWithOptions(request, runtime);
|
|
@@ -24357,6 +25287,14 @@ export default class Client extends OpenApi {
|
|
|
24357
25287
|
return await this.describeAppWithOptions(request, runtime);
|
|
24358
25288
|
}
|
|
24359
25289
|
|
|
25290
|
+
/**
|
|
25291
|
+
* * This operation is intended for API callers.
|
|
25292
|
+
* * AppId is optional.
|
|
25293
|
+
*
|
|
25294
|
+
* @param request DescribeAppAttributesRequest
|
|
25295
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25296
|
+
* @return DescribeAppAttributesResponse
|
|
25297
|
+
*/
|
|
24360
25298
|
async describeAppAttributesWithOptions(request: DescribeAppAttributesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAppAttributesResponse> {
|
|
24361
25299
|
Util.validateModel(request);
|
|
24362
25300
|
let query = { };
|
|
@@ -24417,11 +25355,25 @@ export default class Client extends OpenApi {
|
|
|
24417
25355
|
return $tea.cast<DescribeAppAttributesResponse>(await this.callApi(params, req, runtime), new DescribeAppAttributesResponse({}));
|
|
24418
25356
|
}
|
|
24419
25357
|
|
|
25358
|
+
/**
|
|
25359
|
+
* * This operation is intended for API callers.
|
|
25360
|
+
* * AppId is optional.
|
|
25361
|
+
*
|
|
25362
|
+
* @param request DescribeAppAttributesRequest
|
|
25363
|
+
* @return DescribeAppAttributesResponse
|
|
25364
|
+
*/
|
|
24420
25365
|
async describeAppAttributes(request: DescribeAppAttributesRequest): Promise<DescribeAppAttributesResponse> {
|
|
24421
25366
|
let runtime = new $Util.RuntimeOptions({ });
|
|
24422
25367
|
return await this.describeAppAttributesWithOptions(request, runtime);
|
|
24423
25368
|
}
|
|
24424
25369
|
|
|
25370
|
+
/**
|
|
25371
|
+
* * This operation is intended for API callers.
|
|
25372
|
+
*
|
|
25373
|
+
* @param request DescribeAppSecurityRequest
|
|
25374
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25375
|
+
* @return DescribeAppSecurityResponse
|
|
25376
|
+
*/
|
|
24425
25377
|
async describeAppSecurityWithOptions(request: DescribeAppSecurityRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAppSecurityResponse> {
|
|
24426
25378
|
Util.validateModel(request);
|
|
24427
25379
|
let query = { };
|
|
@@ -24454,11 +25406,24 @@ export default class Client extends OpenApi {
|
|
|
24454
25406
|
return $tea.cast<DescribeAppSecurityResponse>(await this.callApi(params, req, runtime), new DescribeAppSecurityResponse({}));
|
|
24455
25407
|
}
|
|
24456
25408
|
|
|
25409
|
+
/**
|
|
25410
|
+
* * This operation is intended for API callers.
|
|
25411
|
+
*
|
|
25412
|
+
* @param request DescribeAppSecurityRequest
|
|
25413
|
+
* @return DescribeAppSecurityResponse
|
|
25414
|
+
*/
|
|
24457
25415
|
async describeAppSecurity(request: DescribeAppSecurityRequest): Promise<DescribeAppSecurityResponse> {
|
|
24458
25416
|
let runtime = new $Util.RuntimeOptions({ });
|
|
24459
25417
|
return await this.describeAppSecurityWithOptions(request, runtime);
|
|
24460
25418
|
}
|
|
24461
25419
|
|
|
25420
|
+
/**
|
|
25421
|
+
* Queries the apps. App information is returned only to the app owner.
|
|
25422
|
+
*
|
|
25423
|
+
* @param request DescribeAppsRequest
|
|
25424
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25425
|
+
* @return DescribeAppsResponse
|
|
25426
|
+
*/
|
|
24462
25427
|
async describeAppsWithOptions(request: DescribeAppsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAppsResponse> {
|
|
24463
25428
|
Util.validateModel(request);
|
|
24464
25429
|
let query = { };
|
|
@@ -24499,11 +25464,25 @@ export default class Client extends OpenApi {
|
|
|
24499
25464
|
return $tea.cast<DescribeAppsResponse>(await this.callApi(params, req, runtime), new DescribeAppsResponse({}));
|
|
24500
25465
|
}
|
|
24501
25466
|
|
|
25467
|
+
/**
|
|
25468
|
+
* Queries the apps. App information is returned only to the app owner.
|
|
25469
|
+
*
|
|
25470
|
+
* @param request DescribeAppsRequest
|
|
25471
|
+
* @return DescribeAppsResponse
|
|
25472
|
+
*/
|
|
24502
25473
|
async describeApps(request: DescribeAppsRequest): Promise<DescribeAppsResponse> {
|
|
24503
25474
|
let runtime = new $Util.RuntimeOptions({ });
|
|
24504
25475
|
return await this.describeAppsWithOptions(request, runtime);
|
|
24505
25476
|
}
|
|
24506
25477
|
|
|
25478
|
+
/**
|
|
25479
|
+
* * This operation is intended for API callers.
|
|
25480
|
+
* * The specified application can call all APIs included in the responses.
|
|
25481
|
+
*
|
|
25482
|
+
* @param request DescribeAuthorizedApisRequest
|
|
25483
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25484
|
+
* @return DescribeAuthorizedApisResponse
|
|
25485
|
+
*/
|
|
24507
25486
|
async describeAuthorizedApisWithOptions(request: DescribeAuthorizedApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAuthorizedApisResponse> {
|
|
24508
25487
|
Util.validateModel(request);
|
|
24509
25488
|
let query = { };
|
|
@@ -24540,11 +25519,26 @@ export default class Client extends OpenApi {
|
|
|
24540
25519
|
return $tea.cast<DescribeAuthorizedApisResponse>(await this.callApi(params, req, runtime), new DescribeAuthorizedApisResponse({}));
|
|
24541
25520
|
}
|
|
24542
25521
|
|
|
25522
|
+
/**
|
|
25523
|
+
* * This operation is intended for API callers.
|
|
25524
|
+
* * The specified application can call all APIs included in the responses.
|
|
25525
|
+
*
|
|
25526
|
+
* @param request DescribeAuthorizedApisRequest
|
|
25527
|
+
* @return DescribeAuthorizedApisResponse
|
|
25528
|
+
*/
|
|
24543
25529
|
async describeAuthorizedApis(request: DescribeAuthorizedApisRequest): Promise<DescribeAuthorizedApisResponse> {
|
|
24544
25530
|
let runtime = new $Util.RuntimeOptions({ });
|
|
24545
25531
|
return await this.describeAuthorizedApisWithOptions(request, runtime);
|
|
24546
25532
|
}
|
|
24547
25533
|
|
|
25534
|
+
/**
|
|
25535
|
+
* * This operation is intended for API providers.
|
|
25536
|
+
* * All applications included in the responses have access to the specified API.
|
|
25537
|
+
*
|
|
25538
|
+
* @param request DescribeAuthorizedAppsRequest
|
|
25539
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25540
|
+
* @return DescribeAuthorizedAppsResponse
|
|
25541
|
+
*/
|
|
24548
25542
|
async describeAuthorizedAppsWithOptions(request: DescribeAuthorizedAppsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAuthorizedAppsResponse> {
|
|
24549
25543
|
Util.validateModel(request);
|
|
24550
25544
|
let query = { };
|
|
@@ -24601,6 +25595,13 @@ export default class Client extends OpenApi {
|
|
|
24601
25595
|
return $tea.cast<DescribeAuthorizedAppsResponse>(await this.callApi(params, req, runtime), new DescribeAuthorizedAppsResponse({}));
|
|
24602
25596
|
}
|
|
24603
25597
|
|
|
25598
|
+
/**
|
|
25599
|
+
* * This operation is intended for API providers.
|
|
25600
|
+
* * All applications included in the responses have access to the specified API.
|
|
25601
|
+
*
|
|
25602
|
+
* @param request DescribeAuthorizedAppsRequest
|
|
25603
|
+
* @return DescribeAuthorizedAppsResponse
|
|
25604
|
+
*/
|
|
24604
25605
|
async describeAuthorizedApps(request: DescribeAuthorizedAppsRequest): Promise<DescribeAuthorizedAppsResponse> {
|
|
24605
25606
|
let runtime = new $Util.RuntimeOptions({ });
|
|
24606
25607
|
return await this.describeAuthorizedAppsWithOptions(request, runtime);
|
|
@@ -24918,6 +25919,13 @@ export default class Client extends OpenApi {
|
|
|
24918
25919
|
return await this.describeDeployedApiWithOptions(request, runtime);
|
|
24919
25920
|
}
|
|
24920
25921
|
|
|
25922
|
+
/**
|
|
25923
|
+
* * This API is intended for API providers.
|
|
25924
|
+
*
|
|
25925
|
+
* @param request DescribeDeployedApisRequest
|
|
25926
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
25927
|
+
* @return DescribeDeployedApisResponse
|
|
25928
|
+
*/
|
|
24921
25929
|
async describeDeployedApisWithOptions(request: DescribeDeployedApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDeployedApisResponse> {
|
|
24922
25930
|
Util.validateModel(request);
|
|
24923
25931
|
let query = { };
|
|
@@ -24982,11 +25990,24 @@ export default class Client extends OpenApi {
|
|
|
24982
25990
|
return $tea.cast<DescribeDeployedApisResponse>(await this.callApi(params, req, runtime), new DescribeDeployedApisResponse({}));
|
|
24983
25991
|
}
|
|
24984
25992
|
|
|
25993
|
+
/**
|
|
25994
|
+
* * This API is intended for API providers.
|
|
25995
|
+
*
|
|
25996
|
+
* @param request DescribeDeployedApisRequest
|
|
25997
|
+
* @return DescribeDeployedApisResponse
|
|
25998
|
+
*/
|
|
24985
25999
|
async describeDeployedApis(request: DescribeDeployedApisRequest): Promise<DescribeDeployedApisResponse> {
|
|
24986
26000
|
let runtime = new $Util.RuntimeOptions({ });
|
|
24987
26001
|
return await this.describeDeployedApisWithOptions(request, runtime);
|
|
24988
26002
|
}
|
|
24989
26003
|
|
|
26004
|
+
/**
|
|
26005
|
+
* Queries details about a bound custom domain name, including the automatically assigned second-level domain name, custom domain name, and SSL certificate.
|
|
26006
|
+
*
|
|
26007
|
+
* @param request DescribeDomainRequest
|
|
26008
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
26009
|
+
* @return DescribeDomainResponse
|
|
26010
|
+
*/
|
|
24990
26011
|
async describeDomainWithOptions(request: DescribeDomainRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainResponse> {
|
|
24991
26012
|
Util.validateModel(request);
|
|
24992
26013
|
let query = { };
|
|
@@ -25019,6 +26040,12 @@ export default class Client extends OpenApi {
|
|
|
25019
26040
|
return $tea.cast<DescribeDomainResponse>(await this.callApi(params, req, runtime), new DescribeDomainResponse({}));
|
|
25020
26041
|
}
|
|
25021
26042
|
|
|
26043
|
+
/**
|
|
26044
|
+
* Queries details about a bound custom domain name, including the automatically assigned second-level domain name, custom domain name, and SSL certificate.
|
|
26045
|
+
*
|
|
26046
|
+
* @param request DescribeDomainRequest
|
|
26047
|
+
* @return DescribeDomainResponse
|
|
26048
|
+
*/
|
|
25022
26049
|
async describeDomain(request: DescribeDomainRequest): Promise<DescribeDomainResponse> {
|
|
25023
26050
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25024
26051
|
return await this.describeDomainWithOptions(request, runtime);
|
|
@@ -25077,6 +26104,39 @@ export default class Client extends OpenApi {
|
|
|
25077
26104
|
return await this.describeHistoryApisWithOptions(request, runtime);
|
|
25078
26105
|
}
|
|
25079
26106
|
|
|
26107
|
+
async describeImportOASTaskWithOptions(request: DescribeImportOASTaskRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImportOASTaskResponse> {
|
|
26108
|
+
Util.validateModel(request);
|
|
26109
|
+
let query = { };
|
|
26110
|
+
if (!Util.isUnset(request.operationId)) {
|
|
26111
|
+
query["OperationId"] = request.operationId;
|
|
26112
|
+
}
|
|
26113
|
+
|
|
26114
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
26115
|
+
query["SecurityToken"] = request.securityToken;
|
|
26116
|
+
}
|
|
26117
|
+
|
|
26118
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
26119
|
+
query: OpenApiUtil.query(query),
|
|
26120
|
+
});
|
|
26121
|
+
let params = new $OpenApi.Params({
|
|
26122
|
+
action: "DescribeImportOASTask",
|
|
26123
|
+
version: "2016-07-14",
|
|
26124
|
+
protocol: "HTTPS",
|
|
26125
|
+
pathname: "/",
|
|
26126
|
+
method: "POST",
|
|
26127
|
+
authType: "AK",
|
|
26128
|
+
style: "RPC",
|
|
26129
|
+
reqBodyType: "formData",
|
|
26130
|
+
bodyType: "json",
|
|
26131
|
+
});
|
|
26132
|
+
return $tea.cast<DescribeImportOASTaskResponse>(await this.callApi(params, req, runtime), new DescribeImportOASTaskResponse({}));
|
|
26133
|
+
}
|
|
26134
|
+
|
|
26135
|
+
async describeImportOASTask(request: DescribeImportOASTaskRequest): Promise<DescribeImportOASTaskResponse> {
|
|
26136
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
26137
|
+
return await this.describeImportOASTaskWithOptions(request, runtime);
|
|
26138
|
+
}
|
|
26139
|
+
|
|
25080
26140
|
async describeInstancesWithOptions(request: DescribeInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstancesResponse> {
|
|
25081
26141
|
Util.validateModel(request);
|
|
25082
26142
|
let query = { };
|
|
@@ -25122,6 +26182,14 @@ export default class Client extends OpenApi {
|
|
|
25122
26182
|
return await this.describeInstancesWithOptions(request, runtime);
|
|
25123
26183
|
}
|
|
25124
26184
|
|
|
26185
|
+
/**
|
|
26186
|
+
* * This operation is intended for API providers.
|
|
26187
|
+
* * You can filter the query results by policy ID.
|
|
26188
|
+
*
|
|
26189
|
+
* @param request DescribeIpControlPolicyItemsRequest
|
|
26190
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
26191
|
+
* @return DescribeIpControlPolicyItemsResponse
|
|
26192
|
+
*/
|
|
25125
26193
|
async describeIpControlPolicyItemsWithOptions(request: DescribeIpControlPolicyItemsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeIpControlPolicyItemsResponse> {
|
|
25126
26194
|
Util.validateModel(request);
|
|
25127
26195
|
let query = { };
|
|
@@ -25162,11 +26230,28 @@ export default class Client extends OpenApi {
|
|
|
25162
26230
|
return $tea.cast<DescribeIpControlPolicyItemsResponse>(await this.callApi(params, req, runtime), new DescribeIpControlPolicyItemsResponse({}));
|
|
25163
26231
|
}
|
|
25164
26232
|
|
|
26233
|
+
/**
|
|
26234
|
+
* * This operation is intended for API providers.
|
|
26235
|
+
* * You can filter the query results by policy ID.
|
|
26236
|
+
*
|
|
26237
|
+
* @param request DescribeIpControlPolicyItemsRequest
|
|
26238
|
+
* @return DescribeIpControlPolicyItemsResponse
|
|
26239
|
+
*/
|
|
25165
26240
|
async describeIpControlPolicyItems(request: DescribeIpControlPolicyItemsRequest): Promise<DescribeIpControlPolicyItemsResponse> {
|
|
25166
26241
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25167
26242
|
return await this.describeIpControlPolicyItemsWithOptions(request, runtime);
|
|
25168
26243
|
}
|
|
25169
26244
|
|
|
26245
|
+
/**
|
|
26246
|
+
* * This operation is intended for API providers.
|
|
26247
|
+
* * This operation is used to query the ACLs in a Region. Region is a system parameter.
|
|
26248
|
+
* * You can filter the query results by ACL ID, name, or type.
|
|
26249
|
+
* * 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.
|
|
26250
|
+
*
|
|
26251
|
+
* @param request DescribeIpControlsRequest
|
|
26252
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
26253
|
+
* @return DescribeIpControlsResponse
|
|
26254
|
+
*/
|
|
25170
26255
|
async describeIpControlsWithOptions(request: DescribeIpControlsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeIpControlsResponse> {
|
|
25171
26256
|
Util.validateModel(request);
|
|
25172
26257
|
let query = { };
|
|
@@ -25211,6 +26296,15 @@ export default class Client extends OpenApi {
|
|
|
25211
26296
|
return $tea.cast<DescribeIpControlsResponse>(await this.callApi(params, req, runtime), new DescribeIpControlsResponse({}));
|
|
25212
26297
|
}
|
|
25213
26298
|
|
|
26299
|
+
/**
|
|
26300
|
+
* * This operation is intended for API providers.
|
|
26301
|
+
* * This operation is used to query the ACLs in a Region. Region is a system parameter.
|
|
26302
|
+
* * You can filter the query results by ACL ID, name, or type.
|
|
26303
|
+
* * 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.
|
|
26304
|
+
*
|
|
26305
|
+
* @param request DescribeIpControlsRequest
|
|
26306
|
+
* @return DescribeIpControlsResponse
|
|
26307
|
+
*/
|
|
25214
26308
|
async describeIpControls(request: DescribeIpControlsRequest): Promise<DescribeIpControlsResponse> {
|
|
25215
26309
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25216
26310
|
return await this.describeIpControlsWithOptions(request, runtime);
|
|
@@ -25282,6 +26376,13 @@ export default class Client extends OpenApi {
|
|
|
25282
26376
|
return await this.describeMarketRemainsQuotaWithOptions(request, runtime);
|
|
25283
26377
|
}
|
|
25284
26378
|
|
|
26379
|
+
/**
|
|
26380
|
+
* * Fuzzy queries are supported.
|
|
26381
|
+
*
|
|
26382
|
+
* @param request DescribeModelsRequest
|
|
26383
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
26384
|
+
* @return DescribeModelsResponse
|
|
26385
|
+
*/
|
|
25285
26386
|
async describeModelsWithOptions(request: DescribeModelsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeModelsResponse> {
|
|
25286
26387
|
Util.validateModel(request);
|
|
25287
26388
|
let query = { };
|
|
@@ -25322,6 +26423,12 @@ export default class Client extends OpenApi {
|
|
|
25322
26423
|
return $tea.cast<DescribeModelsResponse>(await this.callApi(params, req, runtime), new DescribeModelsResponse({}));
|
|
25323
26424
|
}
|
|
25324
26425
|
|
|
26426
|
+
/**
|
|
26427
|
+
* * Fuzzy queries are supported.
|
|
26428
|
+
*
|
|
26429
|
+
* @param request DescribeModelsRequest
|
|
26430
|
+
* @return DescribeModelsResponse
|
|
26431
|
+
*/
|
|
25325
26432
|
async describeModels(request: DescribeModelsRequest): Promise<DescribeModelsResponse> {
|
|
25326
26433
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25327
26434
|
return await this.describeModelsWithOptions(request, runtime);
|
|
@@ -25462,6 +26569,16 @@ export default class Client extends OpenApi {
|
|
|
25462
26569
|
return await this.describePluginTemplatesWithOptions(request, runtime);
|
|
25463
26570
|
}
|
|
25464
26571
|
|
|
26572
|
+
/**
|
|
26573
|
+
* * This operation supports pagination.
|
|
26574
|
+
* * This operation allows you to query plug-ins by business type.
|
|
26575
|
+
* * This operation allows you to query plug-ins by ID.
|
|
26576
|
+
* * This operation allows you to query plug-ins by name.
|
|
26577
|
+
*
|
|
26578
|
+
* @param request DescribePluginsRequest
|
|
26579
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
26580
|
+
* @return DescribePluginsResponse
|
|
26581
|
+
*/
|
|
25465
26582
|
async describePluginsWithOptions(request: DescribePluginsRequest, runtime: $Util.RuntimeOptions): Promise<DescribePluginsResponse> {
|
|
25466
26583
|
Util.validateModel(request);
|
|
25467
26584
|
let query = { };
|
|
@@ -25510,11 +26627,28 @@ export default class Client extends OpenApi {
|
|
|
25510
26627
|
return $tea.cast<DescribePluginsResponse>(await this.callApi(params, req, runtime), new DescribePluginsResponse({}));
|
|
25511
26628
|
}
|
|
25512
26629
|
|
|
26630
|
+
/**
|
|
26631
|
+
* * This operation supports pagination.
|
|
26632
|
+
* * This operation allows you to query plug-ins by business type.
|
|
26633
|
+
* * This operation allows you to query plug-ins by ID.
|
|
26634
|
+
* * This operation allows you to query plug-ins by name.
|
|
26635
|
+
*
|
|
26636
|
+
* @param request DescribePluginsRequest
|
|
26637
|
+
* @return DescribePluginsResponse
|
|
26638
|
+
*/
|
|
25513
26639
|
async describePlugins(request: DescribePluginsRequest): Promise<DescribePluginsResponse> {
|
|
25514
26640
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25515
26641
|
return await this.describePluginsWithOptions(request, runtime);
|
|
25516
26642
|
}
|
|
25517
26643
|
|
|
26644
|
+
/**
|
|
26645
|
+
* * This API is intended for API providers.
|
|
26646
|
+
* * This operation supports pagination.
|
|
26647
|
+
*
|
|
26648
|
+
* @param request DescribePluginsByApiRequest
|
|
26649
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
26650
|
+
* @return DescribePluginsByApiResponse
|
|
26651
|
+
*/
|
|
25518
26652
|
async describePluginsByApiWithOptions(request: DescribePluginsByApiRequest, runtime: $Util.RuntimeOptions): Promise<DescribePluginsByApiResponse> {
|
|
25519
26653
|
Util.validateModel(request);
|
|
25520
26654
|
let query = { };
|
|
@@ -25551,6 +26685,13 @@ export default class Client extends OpenApi {
|
|
|
25551
26685
|
return $tea.cast<DescribePluginsByApiResponse>(await this.callApi(params, req, runtime), new DescribePluginsByApiResponse({}));
|
|
25552
26686
|
}
|
|
25553
26687
|
|
|
26688
|
+
/**
|
|
26689
|
+
* * This API is intended for API providers.
|
|
26690
|
+
* * This operation supports pagination.
|
|
26691
|
+
*
|
|
26692
|
+
* @param request DescribePluginsByApiRequest
|
|
26693
|
+
* @return DescribePluginsByApiResponse
|
|
26694
|
+
*/
|
|
25554
26695
|
async describePluginsByApi(request: DescribePluginsByApiRequest): Promise<DescribePluginsByApiResponse> {
|
|
25555
26696
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25556
26697
|
return await this.describePluginsByApiWithOptions(request, runtime);
|
|
@@ -25683,6 +26824,14 @@ export default class Client extends OpenApi {
|
|
|
25683
26824
|
return await this.describePurchasedApisWithOptions(request, runtime);
|
|
25684
26825
|
}
|
|
25685
26826
|
|
|
26827
|
+
/**
|
|
26828
|
+
* This operation queries regions in which API Gateway is available.
|
|
26829
|
+
* * This operation is intended for API providers and callers.
|
|
26830
|
+
*
|
|
26831
|
+
* @param request DescribeRegionsRequest
|
|
26832
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
26833
|
+
* @return DescribeRegionsResponse
|
|
26834
|
+
*/
|
|
25686
26835
|
async describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse> {
|
|
25687
26836
|
Util.validateModel(request);
|
|
25688
26837
|
let query = { };
|
|
@@ -25711,11 +26860,25 @@ export default class Client extends OpenApi {
|
|
|
25711
26860
|
return $tea.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
25712
26861
|
}
|
|
25713
26862
|
|
|
26863
|
+
/**
|
|
26864
|
+
* This operation queries regions in which API Gateway is available.
|
|
26865
|
+
* * This operation is intended for API providers and callers.
|
|
26866
|
+
*
|
|
26867
|
+
* @param request DescribeRegionsRequest
|
|
26868
|
+
* @return DescribeRegionsResponse
|
|
26869
|
+
*/
|
|
25714
26870
|
async describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse> {
|
|
25715
26871
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25716
26872
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
25717
26873
|
}
|
|
25718
26874
|
|
|
26875
|
+
/**
|
|
26876
|
+
* Queries backend signature keys.
|
|
26877
|
+
*
|
|
26878
|
+
* @param request DescribeSignaturesRequest
|
|
26879
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
26880
|
+
* @return DescribeSignaturesResponse
|
|
26881
|
+
*/
|
|
25719
26882
|
async describeSignaturesWithOptions(request: DescribeSignaturesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSignaturesResponse> {
|
|
25720
26883
|
Util.validateModel(request);
|
|
25721
26884
|
let query = { };
|
|
@@ -25756,11 +26919,24 @@ export default class Client extends OpenApi {
|
|
|
25756
26919
|
return $tea.cast<DescribeSignaturesResponse>(await this.callApi(params, req, runtime), new DescribeSignaturesResponse({}));
|
|
25757
26920
|
}
|
|
25758
26921
|
|
|
26922
|
+
/**
|
|
26923
|
+
* Queries backend signature keys.
|
|
26924
|
+
*
|
|
26925
|
+
* @param request DescribeSignaturesRequest
|
|
26926
|
+
* @return DescribeSignaturesResponse
|
|
26927
|
+
*/
|
|
25759
26928
|
async describeSignatures(request: DescribeSignaturesRequest): Promise<DescribeSignaturesResponse> {
|
|
25760
26929
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25761
26930
|
return await this.describeSignaturesWithOptions(request, runtime);
|
|
25762
26931
|
}
|
|
25763
26932
|
|
|
26933
|
+
/**
|
|
26934
|
+
* Queries the backend signature keys that are bound to a specified API.
|
|
26935
|
+
*
|
|
26936
|
+
* @param request DescribeSignaturesByApiRequest
|
|
26937
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
26938
|
+
* @return DescribeSignaturesByApiResponse
|
|
26939
|
+
*/
|
|
25764
26940
|
async describeSignaturesByApiWithOptions(request: DescribeSignaturesByApiRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSignaturesByApiResponse> {
|
|
25765
26941
|
Util.validateModel(request);
|
|
25766
26942
|
let query = { };
|
|
@@ -25797,11 +26973,25 @@ export default class Client extends OpenApi {
|
|
|
25797
26973
|
return $tea.cast<DescribeSignaturesByApiResponse>(await this.callApi(params, req, runtime), new DescribeSignaturesByApiResponse({}));
|
|
25798
26974
|
}
|
|
25799
26975
|
|
|
26976
|
+
/**
|
|
26977
|
+
* Queries the backend signature keys that are bound to a specified API.
|
|
26978
|
+
*
|
|
26979
|
+
* @param request DescribeSignaturesByApiRequest
|
|
26980
|
+
* @return DescribeSignaturesByApiResponse
|
|
26981
|
+
*/
|
|
25800
26982
|
async describeSignaturesByApi(request: DescribeSignaturesByApiRequest): Promise<DescribeSignaturesByApiResponse> {
|
|
25801
26983
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25802
26984
|
return await this.describeSignaturesByApiWithOptions(request, runtime);
|
|
25803
26985
|
}
|
|
25804
26986
|
|
|
26987
|
+
/**
|
|
26988
|
+
* * This API is intended for API callers.
|
|
26989
|
+
* * The response of this API contains the system parameters that are optional in API definitions.
|
|
26990
|
+
*
|
|
26991
|
+
* @param request DescribeSystemParametersRequest
|
|
26992
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
26993
|
+
* @return DescribeSystemParametersResponse
|
|
26994
|
+
*/
|
|
25805
26995
|
async describeSystemParametersWithOptions(request: DescribeSystemParametersRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSystemParametersResponse> {
|
|
25806
26996
|
Util.validateModel(request);
|
|
25807
26997
|
let query = { };
|
|
@@ -25826,11 +27016,27 @@ export default class Client extends OpenApi {
|
|
|
25826
27016
|
return $tea.cast<DescribeSystemParametersResponse>(await this.callApi(params, req, runtime), new DescribeSystemParametersResponse({}));
|
|
25827
27017
|
}
|
|
25828
27018
|
|
|
27019
|
+
/**
|
|
27020
|
+
* * This API is intended for API callers.
|
|
27021
|
+
* * The response of this API contains the system parameters that are optional in API definitions.
|
|
27022
|
+
*
|
|
27023
|
+
* @param request DescribeSystemParametersRequest
|
|
27024
|
+
* @return DescribeSystemParametersResponse
|
|
27025
|
+
*/
|
|
25829
27026
|
async describeSystemParameters(request: DescribeSystemParametersRequest): Promise<DescribeSystemParametersResponse> {
|
|
25830
27027
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25831
27028
|
return await this.describeSystemParametersWithOptions(request, runtime);
|
|
25832
27029
|
}
|
|
25833
27030
|
|
|
27031
|
+
/**
|
|
27032
|
+
* * This API is intended for API providers.
|
|
27033
|
+
* * This API can be used to query all existing throttling policies (including special throttling policies) and their details.
|
|
27034
|
+
* * You can specify query conditions. For example, you can query the throttling policies bound to a specified API or in a specified environment.
|
|
27035
|
+
*
|
|
27036
|
+
* @param request DescribeTrafficControlsRequest
|
|
27037
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
27038
|
+
* @return DescribeTrafficControlsResponse
|
|
27039
|
+
*/
|
|
25834
27040
|
async describeTrafficControlsWithOptions(request: DescribeTrafficControlsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrafficControlsResponse> {
|
|
25835
27041
|
Util.validateModel(request);
|
|
25836
27042
|
let query = { };
|
|
@@ -25883,11 +27089,26 @@ export default class Client extends OpenApi {
|
|
|
25883
27089
|
return $tea.cast<DescribeTrafficControlsResponse>(await this.callApi(params, req, runtime), new DescribeTrafficControlsResponse({}));
|
|
25884
27090
|
}
|
|
25885
27091
|
|
|
27092
|
+
/**
|
|
27093
|
+
* * This API is intended for API providers.
|
|
27094
|
+
* * This API can be used to query all existing throttling policies (including special throttling policies) and their details.
|
|
27095
|
+
* * You can specify query conditions. For example, you can query the throttling policies bound to a specified API or in a specified environment.
|
|
27096
|
+
*
|
|
27097
|
+
* @param request DescribeTrafficControlsRequest
|
|
27098
|
+
* @return DescribeTrafficControlsResponse
|
|
27099
|
+
*/
|
|
25886
27100
|
async describeTrafficControls(request: DescribeTrafficControlsRequest): Promise<DescribeTrafficControlsResponse> {
|
|
25887
27101
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25888
27102
|
return await this.describeTrafficControlsWithOptions(request, runtime);
|
|
25889
27103
|
}
|
|
25890
27104
|
|
|
27105
|
+
/**
|
|
27106
|
+
* * This API is intended for API providers.
|
|
27107
|
+
*
|
|
27108
|
+
* @param request DescribeTrafficControlsByApiRequest
|
|
27109
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
27110
|
+
* @return DescribeTrafficControlsByApiResponse
|
|
27111
|
+
*/
|
|
25891
27112
|
async describeTrafficControlsByApiWithOptions(request: DescribeTrafficControlsByApiRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrafficControlsByApiResponse> {
|
|
25892
27113
|
Util.validateModel(request);
|
|
25893
27114
|
let query = { };
|
|
@@ -25924,6 +27145,12 @@ export default class Client extends OpenApi {
|
|
|
25924
27145
|
return $tea.cast<DescribeTrafficControlsByApiResponse>(await this.callApi(params, req, runtime), new DescribeTrafficControlsByApiResponse({}));
|
|
25925
27146
|
}
|
|
25926
27147
|
|
|
27148
|
+
/**
|
|
27149
|
+
* * This API is intended for API providers.
|
|
27150
|
+
*
|
|
27151
|
+
* @param request DescribeTrafficControlsByApiRequest
|
|
27152
|
+
* @return DescribeTrafficControlsByApiResponse
|
|
27153
|
+
*/
|
|
25927
27154
|
async describeTrafficControlsByApi(request: DescribeTrafficControlsByApiRequest): Promise<DescribeTrafficControlsByApiResponse> {
|
|
25928
27155
|
let runtime = new $Util.RuntimeOptions({ });
|
|
25929
27156
|
return await this.describeTrafficControlsByApiWithOptions(request, runtime);
|
|
@@ -26340,6 +27567,14 @@ export default class Client extends OpenApi {
|
|
|
26340
27567
|
return await this.importOASWithOptions(request, runtime);
|
|
26341
27568
|
}
|
|
26342
27569
|
|
|
27570
|
+
/**
|
|
27571
|
+
* * Alibaba Cloud supports extensions based on Swagger 2.0.
|
|
27572
|
+
* * Alibaba Cloud supports Swagger configuration files in JSON and YAML formats.
|
|
27573
|
+
*
|
|
27574
|
+
* @param tmpReq ImportSwaggerRequest
|
|
27575
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
27576
|
+
* @return ImportSwaggerResponse
|
|
27577
|
+
*/
|
|
26343
27578
|
async importSwaggerWithOptions(tmpReq: ImportSwaggerRequest, runtime: $Util.RuntimeOptions): Promise<ImportSwaggerResponse> {
|
|
26344
27579
|
Util.validateModel(tmpReq);
|
|
26345
27580
|
let request = new ImportSwaggerShrinkRequest({ });
|
|
@@ -26396,11 +27631,33 @@ export default class Client extends OpenApi {
|
|
|
26396
27631
|
return $tea.cast<ImportSwaggerResponse>(await this.callApi(params, req, runtime), new ImportSwaggerResponse({}));
|
|
26397
27632
|
}
|
|
26398
27633
|
|
|
27634
|
+
/**
|
|
27635
|
+
* * Alibaba Cloud supports extensions based on Swagger 2.0.
|
|
27636
|
+
* * Alibaba Cloud supports Swagger configuration files in JSON and YAML formats.
|
|
27637
|
+
*
|
|
27638
|
+
* @param request ImportSwaggerRequest
|
|
27639
|
+
* @return ImportSwaggerResponse
|
|
27640
|
+
*/
|
|
26399
27641
|
async importSwagger(request: ImportSwaggerRequest): Promise<ImportSwaggerResponse> {
|
|
26400
27642
|
let runtime = new $Util.RuntimeOptions({ });
|
|
26401
27643
|
return await this.importSwaggerWithOptions(request, runtime);
|
|
26402
27644
|
}
|
|
26403
27645
|
|
|
27646
|
+
/**
|
|
27647
|
+
* * The Tag.N.Key and Tag.N.Value parameters constitute a key-value pair.
|
|
27648
|
+
* * 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.
|
|
27649
|
+
* * This operation is used to query resource tags based on conditions. If no relationship matches the conditions, an empty list is returned.
|
|
27650
|
+
* * You can query both user tags and visible system tags.
|
|
27651
|
+
* * 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.
|
|
27652
|
+
* * You can also specify Tag.N.Key to query the visible keys of a specified key in a region.
|
|
27653
|
+
* * At least one of ResourceId.N, Tag.N.Key, and Tag.N.Value exists.
|
|
27654
|
+
* * You can query tags of the same type or different types in a single operation.
|
|
27655
|
+
* * You can query all your user tags and visible system tags.
|
|
27656
|
+
*
|
|
27657
|
+
* @param request ListTagResourcesRequest
|
|
27658
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
27659
|
+
* @return ListTagResourcesResponse
|
|
27660
|
+
*/
|
|
26404
27661
|
async listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
|
|
26405
27662
|
Util.validateModel(request);
|
|
26406
27663
|
let query = { };
|
|
@@ -26437,11 +27694,32 @@ export default class Client extends OpenApi {
|
|
|
26437
27694
|
return $tea.cast<ListTagResourcesResponse>(await this.callApi(params, req, runtime), new ListTagResourcesResponse({}));
|
|
26438
27695
|
}
|
|
26439
27696
|
|
|
27697
|
+
/**
|
|
27698
|
+
* * The Tag.N.Key and Tag.N.Value parameters constitute a key-value pair.
|
|
27699
|
+
* * 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.
|
|
27700
|
+
* * This operation is used to query resource tags based on conditions. If no relationship matches the conditions, an empty list is returned.
|
|
27701
|
+
* * You can query both user tags and visible system tags.
|
|
27702
|
+
* * 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.
|
|
27703
|
+
* * You can also specify Tag.N.Key to query the visible keys of a specified key in a region.
|
|
27704
|
+
* * At least one of ResourceId.N, Tag.N.Key, and Tag.N.Value exists.
|
|
27705
|
+
* * You can query tags of the same type or different types in a single operation.
|
|
27706
|
+
* * You can query all your user tags and visible system tags.
|
|
27707
|
+
*
|
|
27708
|
+
* @param request ListTagResourcesRequest
|
|
27709
|
+
* @return ListTagResourcesResponse
|
|
27710
|
+
*/
|
|
26440
27711
|
async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
|
|
26441
27712
|
let runtime = new $Util.RuntimeOptions({ });
|
|
26442
27713
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
26443
27714
|
}
|
|
26444
27715
|
|
|
27716
|
+
/**
|
|
27717
|
+
* Modifies the definition of an API.
|
|
27718
|
+
*
|
|
27719
|
+
* @param request ModifyApiRequest
|
|
27720
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
27721
|
+
* @return ModifyApiResponse
|
|
27722
|
+
*/
|
|
26445
27723
|
async modifyApiWithOptions(request: ModifyApiRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApiResponse> {
|
|
26446
27724
|
Util.validateModel(request);
|
|
26447
27725
|
let query = { };
|
|
@@ -26574,6 +27852,12 @@ export default class Client extends OpenApi {
|
|
|
26574
27852
|
return $tea.cast<ModifyApiResponse>(await this.callApi(params, req, runtime), new ModifyApiResponse({}));
|
|
26575
27853
|
}
|
|
26576
27854
|
|
|
27855
|
+
/**
|
|
27856
|
+
* Modifies the definition of an API.
|
|
27857
|
+
*
|
|
27858
|
+
* @param request ModifyApiRequest
|
|
27859
|
+
* @return ModifyApiResponse
|
|
27860
|
+
*/
|
|
26577
27861
|
async modifyApi(request: ModifyApiRequest): Promise<ModifyApiResponse> {
|
|
26578
27862
|
let runtime = new $Util.RuntimeOptions({ });
|
|
26579
27863
|
return await this.modifyApiWithOptions(request, runtime);
|
|
@@ -26748,6 +28032,14 @@ export default class Client extends OpenApi {
|
|
|
26748
28032
|
return await this.modifyApiConfigurationWithOptions(request, runtime);
|
|
26749
28033
|
}
|
|
26750
28034
|
|
|
28035
|
+
/**
|
|
28036
|
+
* * This operation is intended for API providers.
|
|
28037
|
+
* * The QPS limit on this operation is 50 per user.
|
|
28038
|
+
*
|
|
28039
|
+
* @param request ModifyApiGroupRequest
|
|
28040
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
28041
|
+
* @return ModifyApiGroupResponse
|
|
28042
|
+
*/
|
|
26751
28043
|
async modifyApiGroupWithOptions(request: ModifyApiGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApiGroupResponse> {
|
|
26752
28044
|
Util.validateModel(request);
|
|
26753
28045
|
let query = { };
|
|
@@ -26820,6 +28112,13 @@ export default class Client extends OpenApi {
|
|
|
26820
28112
|
return $tea.cast<ModifyApiGroupResponse>(await this.callApi(params, req, runtime), new ModifyApiGroupResponse({}));
|
|
26821
28113
|
}
|
|
26822
28114
|
|
|
28115
|
+
/**
|
|
28116
|
+
* * This operation is intended for API providers.
|
|
28117
|
+
* * The QPS limit on this operation is 50 per user.
|
|
28118
|
+
*
|
|
28119
|
+
* @param request ModifyApiGroupRequest
|
|
28120
|
+
* @return ModifyApiGroupResponse
|
|
28121
|
+
*/
|
|
26823
28122
|
async modifyApiGroup(request: ModifyApiGroupRequest): Promise<ModifyApiGroupResponse> {
|
|
26824
28123
|
let runtime = new $Util.RuntimeOptions({ });
|
|
26825
28124
|
return await this.modifyApiGroupWithOptions(request, runtime);
|
|
@@ -26862,6 +28161,15 @@ export default class Client extends OpenApi {
|
|
|
26862
28161
|
return await this.modifyApiGroupVpcWhitelistWithOptions(request, runtime);
|
|
26863
28162
|
}
|
|
26864
28163
|
|
|
28164
|
+
/**
|
|
28165
|
+
* * This operation is intended for API callers.
|
|
28166
|
+
* * 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.********
|
|
28167
|
+
* * The QPS limit on this operation is 50 per user.
|
|
28168
|
+
*
|
|
28169
|
+
* @param request ModifyAppRequest
|
|
28170
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
28171
|
+
* @return ModifyAppResponse
|
|
28172
|
+
*/
|
|
26865
28173
|
async modifyAppWithOptions(request: ModifyAppRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAppResponse> {
|
|
26866
28174
|
Util.validateModel(request);
|
|
26867
28175
|
let query = { };
|
|
@@ -26902,6 +28210,14 @@ export default class Client extends OpenApi {
|
|
|
26902
28210
|
return $tea.cast<ModifyAppResponse>(await this.callApi(params, req, runtime), new ModifyAppResponse({}));
|
|
26903
28211
|
}
|
|
26904
28212
|
|
|
28213
|
+
/**
|
|
28214
|
+
* * This operation is intended for API callers.
|
|
28215
|
+
* * 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.********
|
|
28216
|
+
* * The QPS limit on this operation is 50 per user.
|
|
28217
|
+
*
|
|
28218
|
+
* @param request ModifyAppRequest
|
|
28219
|
+
* @return ModifyAppResponse
|
|
28220
|
+
*/
|
|
26905
28221
|
async modifyApp(request: ModifyAppRequest): Promise<ModifyAppResponse> {
|
|
26906
28222
|
let runtime = new $Util.RuntimeOptions({ });
|
|
26907
28223
|
return await this.modifyAppWithOptions(request, runtime);
|
|
@@ -27136,6 +28452,14 @@ export default class Client extends OpenApi {
|
|
|
27136
28452
|
return await this.modifyInstanceSpecWithOptions(request, runtime);
|
|
27137
28453
|
}
|
|
27138
28454
|
|
|
28455
|
+
/**
|
|
28456
|
+
* * This operation is intended for API providers.
|
|
28457
|
+
* * This operation allows you to modify only the name and description of an ACL. You cannot modify the type of the ACL.
|
|
28458
|
+
*
|
|
28459
|
+
* @param request ModifyIpControlRequest
|
|
28460
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
28461
|
+
* @return ModifyIpControlResponse
|
|
28462
|
+
*/
|
|
27139
28463
|
async modifyIpControlWithOptions(request: ModifyIpControlRequest, runtime: $Util.RuntimeOptions): Promise<ModifyIpControlResponse> {
|
|
27140
28464
|
Util.validateModel(request);
|
|
27141
28465
|
let query = { };
|
|
@@ -27172,11 +28496,27 @@ export default class Client extends OpenApi {
|
|
|
27172
28496
|
return $tea.cast<ModifyIpControlResponse>(await this.callApi(params, req, runtime), new ModifyIpControlResponse({}));
|
|
27173
28497
|
}
|
|
27174
28498
|
|
|
28499
|
+
/**
|
|
28500
|
+
* * This operation is intended for API providers.
|
|
28501
|
+
* * This operation allows you to modify only the name and description of an ACL. You cannot modify the type of the ACL.
|
|
28502
|
+
*
|
|
28503
|
+
* @param request ModifyIpControlRequest
|
|
28504
|
+
* @return ModifyIpControlResponse
|
|
28505
|
+
*/
|
|
27175
28506
|
async modifyIpControl(request: ModifyIpControlRequest): Promise<ModifyIpControlResponse> {
|
|
27176
28507
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27177
28508
|
return await this.modifyIpControlWithOptions(request, runtime);
|
|
27178
28509
|
}
|
|
27179
28510
|
|
|
28511
|
+
/**
|
|
28512
|
+
* * This operation is intended for API providers.
|
|
28513
|
+
* * The modification immediately takes effect on all the APIs that are bound to the policy.
|
|
28514
|
+
* * This operation causes a full modification of the content of a policy.
|
|
28515
|
+
*
|
|
28516
|
+
* @param request ModifyIpControlPolicyItemRequest
|
|
28517
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
28518
|
+
* @return ModifyIpControlPolicyItemResponse
|
|
28519
|
+
*/
|
|
27180
28520
|
async modifyIpControlPolicyItemWithOptions(request: ModifyIpControlPolicyItemRequest, runtime: $Util.RuntimeOptions): Promise<ModifyIpControlPolicyItemResponse> {
|
|
27181
28521
|
Util.validateModel(request);
|
|
27182
28522
|
let query = { };
|
|
@@ -27217,6 +28557,14 @@ export default class Client extends OpenApi {
|
|
|
27217
28557
|
return $tea.cast<ModifyIpControlPolicyItemResponse>(await this.callApi(params, req, runtime), new ModifyIpControlPolicyItemResponse({}));
|
|
27218
28558
|
}
|
|
27219
28559
|
|
|
28560
|
+
/**
|
|
28561
|
+
* * This operation is intended for API providers.
|
|
28562
|
+
* * The modification immediately takes effect on all the APIs that are bound to the policy.
|
|
28563
|
+
* * This operation causes a full modification of the content of a policy.
|
|
28564
|
+
*
|
|
28565
|
+
* @param request ModifyIpControlPolicyItemRequest
|
|
28566
|
+
* @return ModifyIpControlPolicyItemResponse
|
|
28567
|
+
*/
|
|
27220
28568
|
async modifyIpControlPolicyItem(request: ModifyIpControlPolicyItemRequest): Promise<ModifyIpControlPolicyItemResponse> {
|
|
27221
28569
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27222
28570
|
return await this.modifyIpControlPolicyItemWithOptions(request, runtime);
|
|
@@ -27308,6 +28656,14 @@ export default class Client extends OpenApi {
|
|
|
27308
28656
|
return await this.modifyModelWithOptions(request, runtime);
|
|
27309
28657
|
}
|
|
27310
28658
|
|
|
28659
|
+
/**
|
|
28660
|
+
* * This operation is intended for API providers.
|
|
28661
|
+
* * The name of the plug-in must be unique.
|
|
28662
|
+
*
|
|
28663
|
+
* @param request ModifyPluginRequest
|
|
28664
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
28665
|
+
* @return ModifyPluginResponse
|
|
28666
|
+
*/
|
|
27311
28667
|
async modifyPluginWithOptions(request: ModifyPluginRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPluginResponse> {
|
|
27312
28668
|
Util.validateModel(request);
|
|
27313
28669
|
let query = { };
|
|
@@ -27352,11 +28708,28 @@ export default class Client extends OpenApi {
|
|
|
27352
28708
|
return $tea.cast<ModifyPluginResponse>(await this.callApi(params, req, runtime), new ModifyPluginResponse({}));
|
|
27353
28709
|
}
|
|
27354
28710
|
|
|
28711
|
+
/**
|
|
28712
|
+
* * This operation is intended for API providers.
|
|
28713
|
+
* * The name of the plug-in must be unique.
|
|
28714
|
+
*
|
|
28715
|
+
* @param request ModifyPluginRequest
|
|
28716
|
+
* @return ModifyPluginResponse
|
|
28717
|
+
*/
|
|
27355
28718
|
async modifyPlugin(request: ModifyPluginRequest): Promise<ModifyPluginResponse> {
|
|
27356
28719
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27357
28720
|
return await this.modifyPluginWithOptions(request, runtime);
|
|
27358
28721
|
}
|
|
27359
28722
|
|
|
28723
|
+
/**
|
|
28724
|
+
* * This API is intended for API providers.
|
|
28725
|
+
* * This API operation modifies the name, Key value, and Secret value of an existing signature key.
|
|
28726
|
+
* * 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.
|
|
28727
|
+
* * The QPS limit on this operation is 50 per user.
|
|
28728
|
+
*
|
|
28729
|
+
* @param request ModifySignatureRequest
|
|
28730
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
28731
|
+
* @return ModifySignatureResponse
|
|
28732
|
+
*/
|
|
27360
28733
|
async modifySignatureWithOptions(request: ModifySignatureRequest, runtime: $Util.RuntimeOptions): Promise<ModifySignatureResponse> {
|
|
27361
28734
|
Util.validateModel(request);
|
|
27362
28735
|
let query = { };
|
|
@@ -27397,11 +28770,29 @@ export default class Client extends OpenApi {
|
|
|
27397
28770
|
return $tea.cast<ModifySignatureResponse>(await this.callApi(params, req, runtime), new ModifySignatureResponse({}));
|
|
27398
28771
|
}
|
|
27399
28772
|
|
|
28773
|
+
/**
|
|
28774
|
+
* * This API is intended for API providers.
|
|
28775
|
+
* * This API operation modifies the name, Key value, and Secret value of an existing signature key.
|
|
28776
|
+
* * 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.
|
|
28777
|
+
* * The QPS limit on this operation is 50 per user.
|
|
28778
|
+
*
|
|
28779
|
+
* @param request ModifySignatureRequest
|
|
28780
|
+
* @return ModifySignatureResponse
|
|
28781
|
+
*/
|
|
27400
28782
|
async modifySignature(request: ModifySignatureRequest): Promise<ModifySignatureResponse> {
|
|
27401
28783
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27402
28784
|
return await this.modifySignatureWithOptions(request, runtime);
|
|
27403
28785
|
}
|
|
27404
28786
|
|
|
28787
|
+
/**
|
|
28788
|
+
* * This API is intended for API providers.
|
|
28789
|
+
* * The modifications take effect on the bound APIs instantly.
|
|
28790
|
+
* * The QPS limit on this operation is 50 per user.
|
|
28791
|
+
*
|
|
28792
|
+
* @param request ModifyTrafficControlRequest
|
|
28793
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
28794
|
+
* @return ModifyTrafficControlResponse
|
|
28795
|
+
*/
|
|
27405
28796
|
async modifyTrafficControlWithOptions(request: ModifyTrafficControlRequest, runtime: $Util.RuntimeOptions): Promise<ModifyTrafficControlResponse> {
|
|
27406
28797
|
Util.validateModel(request);
|
|
27407
28798
|
let query = { };
|
|
@@ -27454,6 +28845,14 @@ export default class Client extends OpenApi {
|
|
|
27454
28845
|
return $tea.cast<ModifyTrafficControlResponse>(await this.callApi(params, req, runtime), new ModifyTrafficControlResponse({}));
|
|
27455
28846
|
}
|
|
27456
28847
|
|
|
28848
|
+
/**
|
|
28849
|
+
* * This API is intended for API providers.
|
|
28850
|
+
* * The modifications take effect on the bound APIs instantly.
|
|
28851
|
+
* * The QPS limit on this operation is 50 per user.
|
|
28852
|
+
*
|
|
28853
|
+
* @param request ModifyTrafficControlRequest
|
|
28854
|
+
* @return ModifyTrafficControlResponse
|
|
28855
|
+
*/
|
|
27457
28856
|
async modifyTrafficControl(request: ModifyTrafficControlRequest): Promise<ModifyTrafficControlResponse> {
|
|
27458
28857
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27459
28858
|
return await this.modifyTrafficControlWithOptions(request, runtime);
|
|
@@ -27574,6 +28973,13 @@ export default class Client extends OpenApi {
|
|
|
27574
28973
|
return await this.queryRequestLogsWithOptions(request, runtime);
|
|
27575
28974
|
}
|
|
27576
28975
|
|
|
28976
|
+
/**
|
|
28977
|
+
* Reactivates a custom domain name whose validity status is Abnormal.
|
|
28978
|
+
*
|
|
28979
|
+
* @param request ReactivateDomainRequest
|
|
28980
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
28981
|
+
* @return ReactivateDomainResponse
|
|
28982
|
+
*/
|
|
27577
28983
|
async reactivateDomainWithOptions(request: ReactivateDomainRequest, runtime: $Util.RuntimeOptions): Promise<ReactivateDomainResponse> {
|
|
27578
28984
|
Util.validateModel(request);
|
|
27579
28985
|
let query = { };
|
|
@@ -27606,6 +29012,12 @@ export default class Client extends OpenApi {
|
|
|
27606
29012
|
return $tea.cast<ReactivateDomainResponse>(await this.callApi(params, req, runtime), new ReactivateDomainResponse({}));
|
|
27607
29013
|
}
|
|
27608
29014
|
|
|
29015
|
+
/**
|
|
29016
|
+
* Reactivates a custom domain name whose validity status is Abnormal.
|
|
29017
|
+
*
|
|
29018
|
+
* @param request ReactivateDomainRequest
|
|
29019
|
+
* @return ReactivateDomainResponse
|
|
29020
|
+
*/
|
|
27609
29021
|
async reactivateDomain(request: ReactivateDomainRequest): Promise<ReactivateDomainResponse> {
|
|
27610
29022
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27611
29023
|
return await this.reactivateDomainWithOptions(request, runtime);
|
|
@@ -27648,6 +29060,14 @@ export default class Client extends OpenApi {
|
|
|
27648
29060
|
return await this.removeAccessControlListEntryWithOptions(request, runtime);
|
|
27649
29061
|
}
|
|
27650
29062
|
|
|
29063
|
+
/**
|
|
29064
|
+
* * This operation is intended for API providers and callers.
|
|
29065
|
+
* * 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.
|
|
29066
|
+
*
|
|
29067
|
+
* @param request RemoveApisAuthoritiesRequest
|
|
29068
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
29069
|
+
* @return RemoveApisAuthoritiesResponse
|
|
29070
|
+
*/
|
|
27651
29071
|
async removeApisAuthoritiesWithOptions(request: RemoveApisAuthoritiesRequest, runtime: $Util.RuntimeOptions): Promise<RemoveApisAuthoritiesResponse> {
|
|
27652
29072
|
Util.validateModel(request);
|
|
27653
29073
|
let query = { };
|
|
@@ -27692,11 +29112,26 @@ export default class Client extends OpenApi {
|
|
|
27692
29112
|
return $tea.cast<RemoveApisAuthoritiesResponse>(await this.callApi(params, req, runtime), new RemoveApisAuthoritiesResponse({}));
|
|
27693
29113
|
}
|
|
27694
29114
|
|
|
29115
|
+
/**
|
|
29116
|
+
* * This operation is intended for API providers and callers.
|
|
29117
|
+
* * 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.
|
|
29118
|
+
*
|
|
29119
|
+
* @param request RemoveApisAuthoritiesRequest
|
|
29120
|
+
* @return RemoveApisAuthoritiesResponse
|
|
29121
|
+
*/
|
|
27695
29122
|
async removeApisAuthorities(request: RemoveApisAuthoritiesRequest): Promise<RemoveApisAuthoritiesResponse> {
|
|
27696
29123
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27697
29124
|
return await this.removeApisAuthoritiesWithOptions(request, runtime);
|
|
27698
29125
|
}
|
|
27699
29126
|
|
|
29127
|
+
/**
|
|
29128
|
+
* * This operation is intended for API providers and callers.
|
|
29129
|
+
* * 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.
|
|
29130
|
+
*
|
|
29131
|
+
* @param request RemoveAppsAuthoritiesRequest
|
|
29132
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
29133
|
+
* @return RemoveAppsAuthoritiesResponse
|
|
29134
|
+
*/
|
|
27700
29135
|
async removeAppsAuthoritiesWithOptions(request: RemoveAppsAuthoritiesRequest, runtime: $Util.RuntimeOptions): Promise<RemoveAppsAuthoritiesResponse> {
|
|
27701
29136
|
Util.validateModel(request);
|
|
27702
29137
|
let query = { };
|
|
@@ -27737,11 +29172,26 @@ export default class Client extends OpenApi {
|
|
|
27737
29172
|
return $tea.cast<RemoveAppsAuthoritiesResponse>(await this.callApi(params, req, runtime), new RemoveAppsAuthoritiesResponse({}));
|
|
27738
29173
|
}
|
|
27739
29174
|
|
|
29175
|
+
/**
|
|
29176
|
+
* * This operation is intended for API providers and callers.
|
|
29177
|
+
* * 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.
|
|
29178
|
+
*
|
|
29179
|
+
* @param request RemoveAppsAuthoritiesRequest
|
|
29180
|
+
* @return RemoveAppsAuthoritiesResponse
|
|
29181
|
+
*/
|
|
27740
29182
|
async removeAppsAuthorities(request: RemoveAppsAuthoritiesRequest): Promise<RemoveAppsAuthoritiesResponse> {
|
|
27741
29183
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27742
29184
|
return await this.removeAppsAuthoritiesWithOptions(request, runtime);
|
|
27743
29185
|
}
|
|
27744
29186
|
|
|
29187
|
+
/**
|
|
29188
|
+
* * This API is intended for API providers.
|
|
29189
|
+
* * 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.
|
|
29190
|
+
*
|
|
29191
|
+
* @param request RemoveIpControlApisRequest
|
|
29192
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
29193
|
+
* @return RemoveIpControlApisResponse
|
|
29194
|
+
*/
|
|
27745
29195
|
async removeIpControlApisWithOptions(request: RemoveIpControlApisRequest, runtime: $Util.RuntimeOptions): Promise<RemoveIpControlApisResponse> {
|
|
27746
29196
|
Util.validateModel(request);
|
|
27747
29197
|
let query = { };
|
|
@@ -27782,11 +29232,25 @@ export default class Client extends OpenApi {
|
|
|
27782
29232
|
return $tea.cast<RemoveIpControlApisResponse>(await this.callApi(params, req, runtime), new RemoveIpControlApisResponse({}));
|
|
27783
29233
|
}
|
|
27784
29234
|
|
|
29235
|
+
/**
|
|
29236
|
+
* * This API is intended for API providers.
|
|
29237
|
+
* * 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.
|
|
29238
|
+
*
|
|
29239
|
+
* @param request RemoveIpControlApisRequest
|
|
29240
|
+
* @return RemoveIpControlApisResponse
|
|
29241
|
+
*/
|
|
27785
29242
|
async removeIpControlApis(request: RemoveIpControlApisRequest): Promise<RemoveIpControlApisResponse> {
|
|
27786
29243
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27787
29244
|
return await this.removeIpControlApisWithOptions(request, runtime);
|
|
27788
29245
|
}
|
|
27789
29246
|
|
|
29247
|
+
/**
|
|
29248
|
+
* * This operation is intended for API providers.
|
|
29249
|
+
*
|
|
29250
|
+
* @param request RemoveIpControlPolicyItemRequest
|
|
29251
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
29252
|
+
* @return RemoveIpControlPolicyItemResponse
|
|
29253
|
+
*/
|
|
27790
29254
|
async removeIpControlPolicyItemWithOptions(request: RemoveIpControlPolicyItemRequest, runtime: $Util.RuntimeOptions): Promise<RemoveIpControlPolicyItemResponse> {
|
|
27791
29255
|
Util.validateModel(request);
|
|
27792
29256
|
let query = { };
|
|
@@ -27819,11 +29283,24 @@ export default class Client extends OpenApi {
|
|
|
27819
29283
|
return $tea.cast<RemoveIpControlPolicyItemResponse>(await this.callApi(params, req, runtime), new RemoveIpControlPolicyItemResponse({}));
|
|
27820
29284
|
}
|
|
27821
29285
|
|
|
29286
|
+
/**
|
|
29287
|
+
* * This operation is intended for API providers.
|
|
29288
|
+
*
|
|
29289
|
+
* @param request RemoveIpControlPolicyItemRequest
|
|
29290
|
+
* @return RemoveIpControlPolicyItemResponse
|
|
29291
|
+
*/
|
|
27822
29292
|
async removeIpControlPolicyItem(request: RemoveIpControlPolicyItemRequest): Promise<RemoveIpControlPolicyItemResponse> {
|
|
27823
29293
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27824
29294
|
return await this.removeIpControlPolicyItemWithOptions(request, runtime);
|
|
27825
29295
|
}
|
|
27826
29296
|
|
|
29297
|
+
/**
|
|
29298
|
+
* Unbinds a backend signature key from APIs.
|
|
29299
|
+
*
|
|
29300
|
+
* @param request RemoveSignatureApisRequest
|
|
29301
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
29302
|
+
* @return RemoveSignatureApisResponse
|
|
29303
|
+
*/
|
|
27827
29304
|
async removeSignatureApisWithOptions(request: RemoveSignatureApisRequest, runtime: $Util.RuntimeOptions): Promise<RemoveSignatureApisResponse> {
|
|
27828
29305
|
Util.validateModel(request);
|
|
27829
29306
|
let query = { };
|
|
@@ -27864,11 +29341,25 @@ export default class Client extends OpenApi {
|
|
|
27864
29341
|
return $tea.cast<RemoveSignatureApisResponse>(await this.callApi(params, req, runtime), new RemoveSignatureApisResponse({}));
|
|
27865
29342
|
}
|
|
27866
29343
|
|
|
29344
|
+
/**
|
|
29345
|
+
* Unbinds a backend signature key from APIs.
|
|
29346
|
+
*
|
|
29347
|
+
* @param request RemoveSignatureApisRequest
|
|
29348
|
+
* @return RemoveSignatureApisResponse
|
|
29349
|
+
*/
|
|
27867
29350
|
async removeSignatureApis(request: RemoveSignatureApisRequest): Promise<RemoveSignatureApisResponse> {
|
|
27868
29351
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27869
29352
|
return await this.removeSignatureApisWithOptions(request, runtime);
|
|
27870
29353
|
}
|
|
27871
29354
|
|
|
29355
|
+
/**
|
|
29356
|
+
* * This API is intended for API providers.
|
|
29357
|
+
* * This API allows you to unbind a specified throttling policy from up to 100 APIs at a time.
|
|
29358
|
+
*
|
|
29359
|
+
* @param request RemoveTrafficControlApisRequest
|
|
29360
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
29361
|
+
* @return RemoveTrafficControlApisResponse
|
|
29362
|
+
*/
|
|
27872
29363
|
async removeTrafficControlApisWithOptions(request: RemoveTrafficControlApisRequest, runtime: $Util.RuntimeOptions): Promise<RemoveTrafficControlApisResponse> {
|
|
27873
29364
|
Util.validateModel(request);
|
|
27874
29365
|
let query = { };
|
|
@@ -27909,11 +29400,27 @@ export default class Client extends OpenApi {
|
|
|
27909
29400
|
return $tea.cast<RemoveTrafficControlApisResponse>(await this.callApi(params, req, runtime), new RemoveTrafficControlApisResponse({}));
|
|
27910
29401
|
}
|
|
27911
29402
|
|
|
29403
|
+
/**
|
|
29404
|
+
* * This API is intended for API providers.
|
|
29405
|
+
* * This API allows you to unbind a specified throttling policy from up to 100 APIs at a time.
|
|
29406
|
+
*
|
|
29407
|
+
* @param request RemoveTrafficControlApisRequest
|
|
29408
|
+
* @return RemoveTrafficControlApisResponse
|
|
29409
|
+
*/
|
|
27912
29410
|
async removeTrafficControlApis(request: RemoveTrafficControlApisRequest): Promise<RemoveTrafficControlApisResponse> {
|
|
27913
29411
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27914
29412
|
return await this.removeTrafficControlApisWithOptions(request, runtime);
|
|
27915
29413
|
}
|
|
27916
29414
|
|
|
29415
|
+
/**
|
|
29416
|
+
* * This API is intended for API providers.
|
|
29417
|
+
* * Revokes the permissions of API Gateway to access your VPC instance.
|
|
29418
|
+
* > Deleting an authorization affects the associated API. Before you delete the authorization, make sure that it is not used by the API.
|
|
29419
|
+
*
|
|
29420
|
+
* @param request RemoveVpcAccessRequest
|
|
29421
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
29422
|
+
* @return RemoveVpcAccessResponse
|
|
29423
|
+
*/
|
|
27917
29424
|
async removeVpcAccessWithOptions(request: RemoveVpcAccessRequest, runtime: $Util.RuntimeOptions): Promise<RemoveVpcAccessResponse> {
|
|
27918
29425
|
Util.validateModel(request);
|
|
27919
29426
|
let query = { };
|
|
@@ -27954,6 +29461,14 @@ export default class Client extends OpenApi {
|
|
|
27954
29461
|
return $tea.cast<RemoveVpcAccessResponse>(await this.callApi(params, req, runtime), new RemoveVpcAccessResponse({}));
|
|
27955
29462
|
}
|
|
27956
29463
|
|
|
29464
|
+
/**
|
|
29465
|
+
* * This API is intended for API providers.
|
|
29466
|
+
* * Revokes the permissions of API Gateway to access your VPC instance.
|
|
29467
|
+
* > Deleting an authorization affects the associated API. Before you delete the authorization, make sure that it is not used by the API.
|
|
29468
|
+
*
|
|
29469
|
+
* @param request RemoveVpcAccessRequest
|
|
29470
|
+
* @return RemoveVpcAccessResponse
|
|
29471
|
+
*/
|
|
27957
29472
|
async removeVpcAccess(request: RemoveVpcAccessRequest): Promise<RemoveVpcAccessResponse> {
|
|
27958
29473
|
let runtime = new $Util.RuntimeOptions({ });
|
|
27959
29474
|
return await this.removeVpcAccessWithOptions(request, runtime);
|
|
@@ -28041,6 +29556,15 @@ export default class Client extends OpenApi {
|
|
|
28041
29556
|
return await this.resetAppCodeWithOptions(request, runtime);
|
|
28042
29557
|
}
|
|
28043
29558
|
|
|
29559
|
+
/**
|
|
29560
|
+
* * This operation is intended for API callers.
|
|
29561
|
+
* * A new secret is automatically generated after you have called this operation. This secret cannot be customized.
|
|
29562
|
+
* * The results returned by this operation do not contain the application secret. You can obtain the secret by calling DescribeAppSecurity.
|
|
29563
|
+
*
|
|
29564
|
+
* @param request ResetAppSecretRequest
|
|
29565
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
29566
|
+
* @return ResetAppSecretResponse
|
|
29567
|
+
*/
|
|
28044
29568
|
async resetAppSecretWithOptions(request: ResetAppSecretRequest, runtime: $Util.RuntimeOptions): Promise<ResetAppSecretResponse> {
|
|
28045
29569
|
Util.validateModel(request);
|
|
28046
29570
|
let query = { };
|
|
@@ -28073,6 +29597,14 @@ export default class Client extends OpenApi {
|
|
|
28073
29597
|
return $tea.cast<ResetAppSecretResponse>(await this.callApi(params, req, runtime), new ResetAppSecretResponse({}));
|
|
28074
29598
|
}
|
|
28075
29599
|
|
|
29600
|
+
/**
|
|
29601
|
+
* * This operation is intended for API callers.
|
|
29602
|
+
* * A new secret is automatically generated after you have called this operation. This secret cannot be customized.
|
|
29603
|
+
* * The results returned by this operation do not contain the application secret. You can obtain the secret by calling DescribeAppSecurity.
|
|
29604
|
+
*
|
|
29605
|
+
* @param request ResetAppSecretRequest
|
|
29606
|
+
* @return ResetAppSecretResponse
|
|
29607
|
+
*/
|
|
28076
29608
|
async resetAppSecret(request: ResetAppSecretRequest): Promise<ResetAppSecretResponse> {
|
|
28077
29609
|
let runtime = new $Util.RuntimeOptions({ });
|
|
28078
29610
|
return await this.resetAppSecretWithOptions(request, runtime);
|
|
@@ -28226,6 +29758,15 @@ export default class Client extends OpenApi {
|
|
|
28226
29758
|
return await this.setAccessControlListAttributeWithOptions(request, runtime);
|
|
28227
29759
|
}
|
|
28228
29760
|
|
|
29761
|
+
/**
|
|
29762
|
+
* * This operation is intended for API providers and callers.
|
|
29763
|
+
* * API providers can authorize any apps to call their APIs.
|
|
29764
|
+
* * API callers can authorize their own apps to call the APIs that they have purchased.
|
|
29765
|
+
*
|
|
29766
|
+
* @param request SetApisAuthoritiesRequest
|
|
29767
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
29768
|
+
* @return SetApisAuthoritiesResponse
|
|
29769
|
+
*/
|
|
28229
29770
|
async setApisAuthoritiesWithOptions(request: SetApisAuthoritiesRequest, runtime: $Util.RuntimeOptions): Promise<SetApisAuthoritiesResponse> {
|
|
28230
29771
|
Util.validateModel(request);
|
|
28231
29772
|
let query = { };
|
|
@@ -28274,11 +29815,28 @@ export default class Client extends OpenApi {
|
|
|
28274
29815
|
return $tea.cast<SetApisAuthoritiesResponse>(await this.callApi(params, req, runtime), new SetApisAuthoritiesResponse({}));
|
|
28275
29816
|
}
|
|
28276
29817
|
|
|
29818
|
+
/**
|
|
29819
|
+
* * This operation is intended for API providers and callers.
|
|
29820
|
+
* * API providers can authorize any apps to call their APIs.
|
|
29821
|
+
* * API callers can authorize their own apps to call the APIs that they have purchased.
|
|
29822
|
+
*
|
|
29823
|
+
* @param request SetApisAuthoritiesRequest
|
|
29824
|
+
* @return SetApisAuthoritiesResponse
|
|
29825
|
+
*/
|
|
28277
29826
|
async setApisAuthorities(request: SetApisAuthoritiesRequest): Promise<SetApisAuthoritiesResponse> {
|
|
28278
29827
|
let runtime = new $Util.RuntimeOptions({ });
|
|
28279
29828
|
return await this.setApisAuthoritiesWithOptions(request, runtime);
|
|
28280
29829
|
}
|
|
28281
29830
|
|
|
29831
|
+
/**
|
|
29832
|
+
* * This operation is intended for API providers and callers.
|
|
29833
|
+
* * API providers can authorize any apps to call their APIs.
|
|
29834
|
+
* * API callers can authorize their own apps to call the APIs that they have purchased.
|
|
29835
|
+
*
|
|
29836
|
+
* @param request SetAppsAuthoritiesRequest
|
|
29837
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
29838
|
+
* @return SetAppsAuthoritiesResponse
|
|
29839
|
+
*/
|
|
28282
29840
|
async setAppsAuthoritiesWithOptions(request: SetAppsAuthoritiesRequest, runtime: $Util.RuntimeOptions): Promise<SetAppsAuthoritiesResponse> {
|
|
28283
29841
|
Util.validateModel(request);
|
|
28284
29842
|
let query = { };
|
|
@@ -28327,6 +29885,14 @@ export default class Client extends OpenApi {
|
|
|
28327
29885
|
return $tea.cast<SetAppsAuthoritiesResponse>(await this.callApi(params, req, runtime), new SetAppsAuthoritiesResponse({}));
|
|
28328
29886
|
}
|
|
28329
29887
|
|
|
29888
|
+
/**
|
|
29889
|
+
* * This operation is intended for API providers and callers.
|
|
29890
|
+
* * API providers can authorize any apps to call their APIs.
|
|
29891
|
+
* * API callers can authorize their own apps to call the APIs that they have purchased.
|
|
29892
|
+
*
|
|
29893
|
+
* @param request SetAppsAuthoritiesRequest
|
|
29894
|
+
* @return SetAppsAuthoritiesResponse
|
|
29895
|
+
*/
|
|
28330
29896
|
async setAppsAuthorities(request: SetAppsAuthoritiesRequest): Promise<SetAppsAuthoritiesResponse> {
|
|
28331
29897
|
let runtime = new $Util.RuntimeOptions({ });
|
|
28332
29898
|
return await this.setAppsAuthoritiesWithOptions(request, runtime);
|
|
@@ -28381,6 +29947,15 @@ export default class Client extends OpenApi {
|
|
|
28381
29947
|
return await this.setDomainWithOptions(request, runtime);
|
|
28382
29948
|
}
|
|
28383
29949
|
|
|
29950
|
+
/**
|
|
29951
|
+
* * This operation is intended for API providers.
|
|
29952
|
+
* * The SSL certificate must match the custom domain name.
|
|
29953
|
+
* * After the SSL certificate is bound, HTTPS-based API services become available.
|
|
29954
|
+
*
|
|
29955
|
+
* @param request SetDomainCertificateRequest
|
|
29956
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
29957
|
+
* @return SetDomainCertificateResponse
|
|
29958
|
+
*/
|
|
28384
29959
|
async setDomainCertificateWithOptions(request: SetDomainCertificateRequest, runtime: $Util.RuntimeOptions): Promise<SetDomainCertificateResponse> {
|
|
28385
29960
|
Util.validateModel(request);
|
|
28386
29961
|
let query = { };
|
|
@@ -28433,6 +30008,14 @@ export default class Client extends OpenApi {
|
|
|
28433
30008
|
return $tea.cast<SetDomainCertificateResponse>(await this.callApi(params, req, runtime), new SetDomainCertificateResponse({}));
|
|
28434
30009
|
}
|
|
28435
30010
|
|
|
30011
|
+
/**
|
|
30012
|
+
* * This operation is intended for API providers.
|
|
30013
|
+
* * The SSL certificate must match the custom domain name.
|
|
30014
|
+
* * After the SSL certificate is bound, HTTPS-based API services become available.
|
|
30015
|
+
*
|
|
30016
|
+
* @param request SetDomainCertificateRequest
|
|
30017
|
+
* @return SetDomainCertificateResponse
|
|
30018
|
+
*/
|
|
28436
30019
|
async setDomainCertificate(request: SetDomainCertificateRequest): Promise<SetDomainCertificateResponse> {
|
|
28437
30020
|
let runtime = new $Util.RuntimeOptions({ });
|
|
28438
30021
|
return await this.setDomainCertificateWithOptions(request, runtime);
|
|
@@ -28483,6 +30066,14 @@ export default class Client extends OpenApi {
|
|
|
28483
30066
|
return await this.setDomainWebSocketStatusWithOptions(request, runtime);
|
|
28484
30067
|
}
|
|
28485
30068
|
|
|
30069
|
+
/**
|
|
30070
|
+
* * This operation is intended for API callers.
|
|
30071
|
+
* * A maximum of 100 APIs can be bound at a time.
|
|
30072
|
+
*
|
|
30073
|
+
* @param request SetIpControlApisRequest
|
|
30074
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
30075
|
+
* @return SetIpControlApisResponse
|
|
30076
|
+
*/
|
|
28486
30077
|
async setIpControlApisWithOptions(request: SetIpControlApisRequest, runtime: $Util.RuntimeOptions): Promise<SetIpControlApisResponse> {
|
|
28487
30078
|
Util.validateModel(request);
|
|
28488
30079
|
let query = { };
|
|
@@ -28523,11 +30114,25 @@ export default class Client extends OpenApi {
|
|
|
28523
30114
|
return $tea.cast<SetIpControlApisResponse>(await this.callApi(params, req, runtime), new SetIpControlApisResponse({}));
|
|
28524
30115
|
}
|
|
28525
30116
|
|
|
30117
|
+
/**
|
|
30118
|
+
* * This operation is intended for API callers.
|
|
30119
|
+
* * A maximum of 100 APIs can be bound at a time.
|
|
30120
|
+
*
|
|
30121
|
+
* @param request SetIpControlApisRequest
|
|
30122
|
+
* @return SetIpControlApisResponse
|
|
30123
|
+
*/
|
|
28526
30124
|
async setIpControlApis(request: SetIpControlApisRequest): Promise<SetIpControlApisResponse> {
|
|
28527
30125
|
let runtime = new $Util.RuntimeOptions({ });
|
|
28528
30126
|
return await this.setIpControlApisWithOptions(request, runtime);
|
|
28529
30127
|
}
|
|
28530
30128
|
|
|
30129
|
+
/**
|
|
30130
|
+
* Binds a signature key to APIs.
|
|
30131
|
+
*
|
|
30132
|
+
* @param request SetSignatureApisRequest
|
|
30133
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
30134
|
+
* @return SetSignatureApisResponse
|
|
30135
|
+
*/
|
|
28531
30136
|
async setSignatureApisWithOptions(request: SetSignatureApisRequest, runtime: $Util.RuntimeOptions): Promise<SetSignatureApisResponse> {
|
|
28532
30137
|
Util.validateModel(request);
|
|
28533
30138
|
let query = { };
|
|
@@ -28568,11 +30173,25 @@ export default class Client extends OpenApi {
|
|
|
28568
30173
|
return $tea.cast<SetSignatureApisResponse>(await this.callApi(params, req, runtime), new SetSignatureApisResponse({}));
|
|
28569
30174
|
}
|
|
28570
30175
|
|
|
30176
|
+
/**
|
|
30177
|
+
* Binds a signature key to APIs.
|
|
30178
|
+
*
|
|
30179
|
+
* @param request SetSignatureApisRequest
|
|
30180
|
+
* @return SetSignatureApisResponse
|
|
30181
|
+
*/
|
|
28571
30182
|
async setSignatureApis(request: SetSignatureApisRequest): Promise<SetSignatureApisResponse> {
|
|
28572
30183
|
let runtime = new $Util.RuntimeOptions({ });
|
|
28573
30184
|
return await this.setSignatureApisWithOptions(request, runtime);
|
|
28574
30185
|
}
|
|
28575
30186
|
|
|
30187
|
+
/**
|
|
30188
|
+
* * This API is intended for API providers.
|
|
30189
|
+
* * This API allows you to bind a specific throttling policy to up to 100 APIs at a time.
|
|
30190
|
+
*
|
|
30191
|
+
* @param request SetTrafficControlApisRequest
|
|
30192
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
30193
|
+
* @return SetTrafficControlApisResponse
|
|
30194
|
+
*/
|
|
28576
30195
|
async setTrafficControlApisWithOptions(request: SetTrafficControlApisRequest, runtime: $Util.RuntimeOptions): Promise<SetTrafficControlApisResponse> {
|
|
28577
30196
|
Util.validateModel(request);
|
|
28578
30197
|
let query = { };
|
|
@@ -28613,11 +30232,26 @@ export default class Client extends OpenApi {
|
|
|
28613
30232
|
return $tea.cast<SetTrafficControlApisResponse>(await this.callApi(params, req, runtime), new SetTrafficControlApisResponse({}));
|
|
28614
30233
|
}
|
|
28615
30234
|
|
|
30235
|
+
/**
|
|
30236
|
+
* * This API is intended for API providers.
|
|
30237
|
+
* * This API allows you to bind a specific throttling policy to up to 100 APIs at a time.
|
|
30238
|
+
*
|
|
30239
|
+
* @param request SetTrafficControlApisRequest
|
|
30240
|
+
* @return SetTrafficControlApisResponse
|
|
30241
|
+
*/
|
|
28616
30242
|
async setTrafficControlApis(request: SetTrafficControlApisRequest): Promise<SetTrafficControlApisResponse> {
|
|
28617
30243
|
let runtime = new $Util.RuntimeOptions({ });
|
|
28618
30244
|
return await this.setTrafficControlApisWithOptions(request, runtime);
|
|
28619
30245
|
}
|
|
28620
30246
|
|
|
30247
|
+
/**
|
|
30248
|
+
* * This operation is intended for API providers.
|
|
30249
|
+
* * This operation is used to authorize API Gateway to access your VPC instance.
|
|
30250
|
+
*
|
|
30251
|
+
* @param request SetVpcAccessRequest
|
|
30252
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
30253
|
+
* @return SetVpcAccessResponse
|
|
30254
|
+
*/
|
|
28621
30255
|
async setVpcAccessWithOptions(request: SetVpcAccessRequest, runtime: $Util.RuntimeOptions): Promise<SetVpcAccessResponse> {
|
|
28622
30256
|
Util.validateModel(request);
|
|
28623
30257
|
let query = { };
|
|
@@ -28666,6 +30300,13 @@ export default class Client extends OpenApi {
|
|
|
28666
30300
|
return $tea.cast<SetVpcAccessResponse>(await this.callApi(params, req, runtime), new SetVpcAccessResponse({}));
|
|
28667
30301
|
}
|
|
28668
30302
|
|
|
30303
|
+
/**
|
|
30304
|
+
* * This operation is intended for API providers.
|
|
30305
|
+
* * This operation is used to authorize API Gateway to access your VPC instance.
|
|
30306
|
+
*
|
|
30307
|
+
* @param request SetVpcAccessRequest
|
|
30308
|
+
* @return SetVpcAccessResponse
|
|
30309
|
+
*/
|
|
28669
30310
|
async setVpcAccess(request: SetVpcAccessRequest): Promise<SetVpcAccessResponse> {
|
|
28670
30311
|
let runtime = new $Util.RuntimeOptions({ });
|
|
28671
30312
|
return await this.setVpcAccessWithOptions(request, runtime);
|
|
@@ -28712,6 +30353,17 @@ export default class Client extends OpenApi {
|
|
|
28712
30353
|
return await this.setWildcardDomainPatternsWithOptions(request, runtime);
|
|
28713
30354
|
}
|
|
28714
30355
|
|
|
30356
|
+
/**
|
|
30357
|
+
* * This API is intended for API providers.
|
|
30358
|
+
* * The historical version can be obtained through the DescribeHistoryApis API.****
|
|
30359
|
+
* * Only APIs that have been published more than once have historical versions to switch to.
|
|
30360
|
+
* * 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.
|
|
30361
|
+
* * The switch operation is in essence a publish operation, and the reason for this operation must be provided.
|
|
30362
|
+
*
|
|
30363
|
+
* @param request SwitchApiRequest
|
|
30364
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
30365
|
+
* @return SwitchApiResponse
|
|
30366
|
+
*/
|
|
28715
30367
|
async switchApiWithOptions(request: SwitchApiRequest, runtime: $Util.RuntimeOptions): Promise<SwitchApiResponse> {
|
|
28716
30368
|
Util.validateModel(request);
|
|
28717
30369
|
let query = { };
|
|
@@ -28756,11 +30408,32 @@ export default class Client extends OpenApi {
|
|
|
28756
30408
|
return $tea.cast<SwitchApiResponse>(await this.callApi(params, req, runtime), new SwitchApiResponse({}));
|
|
28757
30409
|
}
|
|
28758
30410
|
|
|
30411
|
+
/**
|
|
30412
|
+
* * This API is intended for API providers.
|
|
30413
|
+
* * The historical version can be obtained through the DescribeHistoryApis API.****
|
|
30414
|
+
* * Only APIs that have been published more than once have historical versions to switch to.
|
|
30415
|
+
* * 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.
|
|
30416
|
+
* * The switch operation is in essence a publish operation, and the reason for this operation must be provided.
|
|
30417
|
+
*
|
|
30418
|
+
* @param request SwitchApiRequest
|
|
30419
|
+
* @return SwitchApiResponse
|
|
30420
|
+
*/
|
|
28759
30421
|
async switchApi(request: SwitchApiRequest): Promise<SwitchApiResponse> {
|
|
28760
30422
|
let runtime = new $Util.RuntimeOptions({ });
|
|
28761
30423
|
return await this.switchApiWithOptions(request, runtime);
|
|
28762
30424
|
}
|
|
28763
30425
|
|
|
30426
|
+
/**
|
|
30427
|
+
* * All tags (key-value pairs) are applied to all resources of a specified ResourceId, with each resource specified as ResourceId.N.
|
|
30428
|
+
* * Tag.N is a resource tag consisting of a key-value pair: Tag.N.Key and Tag.N.Value.
|
|
30429
|
+
* * If you call this operation to tag multiple resources simultaneously, either all or none of the resources will be tagged.
|
|
30430
|
+
* * 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.
|
|
30431
|
+
* * If a tag with the same key has been bound to a resource, the new tag will overwrite the existing one.
|
|
30432
|
+
*
|
|
30433
|
+
* @param request TagResourcesRequest
|
|
30434
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
30435
|
+
* @return TagResourcesResponse
|
|
30436
|
+
*/
|
|
28764
30437
|
async tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse> {
|
|
28765
30438
|
Util.validateModel(request);
|
|
28766
30439
|
let query = { };
|
|
@@ -28797,11 +30470,32 @@ export default class Client extends OpenApi {
|
|
|
28797
30470
|
return $tea.cast<TagResourcesResponse>(await this.callApi(params, req, runtime), new TagResourcesResponse({}));
|
|
28798
30471
|
}
|
|
28799
30472
|
|
|
30473
|
+
/**
|
|
30474
|
+
* * All tags (key-value pairs) are applied to all resources of a specified ResourceId, with each resource specified as ResourceId.N.
|
|
30475
|
+
* * Tag.N is a resource tag consisting of a key-value pair: Tag.N.Key and Tag.N.Value.
|
|
30476
|
+
* * If you call this operation to tag multiple resources simultaneously, either all or none of the resources will be tagged.
|
|
30477
|
+
* * 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.
|
|
30478
|
+
* * If a tag with the same key has been bound to a resource, the new tag will overwrite the existing one.
|
|
30479
|
+
*
|
|
30480
|
+
* @param request TagResourcesRequest
|
|
30481
|
+
* @return TagResourcesResponse
|
|
30482
|
+
*/
|
|
28800
30483
|
async tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse> {
|
|
28801
30484
|
let runtime = new $Util.RuntimeOptions({ });
|
|
28802
30485
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
28803
30486
|
}
|
|
28804
30487
|
|
|
30488
|
+
/**
|
|
30489
|
+
* * If you call this operation to untag multiple resources simultaneously, either all or none of the resources will be untagged.
|
|
30490
|
+
* * 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.
|
|
30491
|
+
* * 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.
|
|
30492
|
+
* * When tag keys are specified, the All parameter is invalid.
|
|
30493
|
+
* * When multiple resources and key-value pairs are specified, the specified tags bound to the resources are deleted.
|
|
30494
|
+
*
|
|
30495
|
+
* @param request UntagResourcesRequest
|
|
30496
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
30497
|
+
* @return UntagResourcesResponse
|
|
30498
|
+
*/
|
|
28805
30499
|
async untagResourcesWithOptions(request: UntagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse> {
|
|
28806
30500
|
Util.validateModel(request);
|
|
28807
30501
|
let query = { };
|
|
@@ -28842,6 +30536,16 @@ export default class Client extends OpenApi {
|
|
|
28842
30536
|
return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
28843
30537
|
}
|
|
28844
30538
|
|
|
30539
|
+
/**
|
|
30540
|
+
* * If you call this operation to untag multiple resources simultaneously, either all or none of the resources will be untagged.
|
|
30541
|
+
* * 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.
|
|
30542
|
+
* * 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.
|
|
30543
|
+
* * When tag keys are specified, the All parameter is invalid.
|
|
30544
|
+
* * When multiple resources and key-value pairs are specified, the specified tags bound to the resources are deleted.
|
|
30545
|
+
*
|
|
30546
|
+
* @param request UntagResourcesRequest
|
|
30547
|
+
* @return UntagResourcesResponse
|
|
30548
|
+
*/
|
|
28845
30549
|
async untagResources(request: UntagResourcesRequest): Promise<UntagResourcesResponse> {
|
|
28846
30550
|
let runtime = new $Util.RuntimeOptions({ });
|
|
28847
30551
|
return await this.untagResourcesWithOptions(request, runtime);
|