@alicloud/cloudapi20160714 4.6.2 → 4.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +676 -25
- package/dist/client.js +675 -15
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1127 -0
package/src/client.ts
CHANGED
|
@@ -15373,6 +15373,126 @@ export class DescribePluginApisResponseBodyApiSummarys extends $dara.Model {
|
|
|
15373
15373
|
}
|
|
15374
15374
|
}
|
|
15375
15375
|
|
|
15376
|
+
export class DescribePluginGroupsResponseBodyGroupSummarysGroupPluginSummary extends $dara.Model {
|
|
15377
|
+
/**
|
|
15378
|
+
* @remarks
|
|
15379
|
+
* API root path
|
|
15380
|
+
*
|
|
15381
|
+
* @example
|
|
15382
|
+
* /rpew
|
|
15383
|
+
*/
|
|
15384
|
+
basePath?: string;
|
|
15385
|
+
/**
|
|
15386
|
+
* @remarks
|
|
15387
|
+
* Description
|
|
15388
|
+
*
|
|
15389
|
+
* @example
|
|
15390
|
+
* test
|
|
15391
|
+
*/
|
|
15392
|
+
description?: string;
|
|
15393
|
+
/**
|
|
15394
|
+
* @remarks
|
|
15395
|
+
* API group ID
|
|
15396
|
+
*
|
|
15397
|
+
* @example
|
|
15398
|
+
* 4ed31575e2de43de8c51eb1217a1f56b
|
|
15399
|
+
*/
|
|
15400
|
+
groupId?: string;
|
|
15401
|
+
/**
|
|
15402
|
+
* @remarks
|
|
15403
|
+
* API group name
|
|
15404
|
+
*
|
|
15405
|
+
* @example
|
|
15406
|
+
* ECP_API
|
|
15407
|
+
*/
|
|
15408
|
+
groupName?: string;
|
|
15409
|
+
/**
|
|
15410
|
+
* @remarks
|
|
15411
|
+
* Region ID where the API group is located
|
|
15412
|
+
*
|
|
15413
|
+
* @example
|
|
15414
|
+
* cn-beijing
|
|
15415
|
+
*/
|
|
15416
|
+
regionId?: string;
|
|
15417
|
+
/**
|
|
15418
|
+
* @remarks
|
|
15419
|
+
* Stage name Alias
|
|
15420
|
+
*
|
|
15421
|
+
* @example
|
|
15422
|
+
* DEV
|
|
15423
|
+
*/
|
|
15424
|
+
stageAlias?: string;
|
|
15425
|
+
/**
|
|
15426
|
+
* @remarks
|
|
15427
|
+
* Environment name, possible values:
|
|
15428
|
+
*
|
|
15429
|
+
* - **RELEASE**: Production
|
|
15430
|
+
* - **PRE**: Pre-release
|
|
15431
|
+
* - **TEST**: Testing
|
|
15432
|
+
*
|
|
15433
|
+
* @example
|
|
15434
|
+
* RELEASE
|
|
15435
|
+
*/
|
|
15436
|
+
stageName?: string;
|
|
15437
|
+
static names(): { [key: string]: string } {
|
|
15438
|
+
return {
|
|
15439
|
+
basePath: 'BasePath',
|
|
15440
|
+
description: 'Description',
|
|
15441
|
+
groupId: 'GroupId',
|
|
15442
|
+
groupName: 'GroupName',
|
|
15443
|
+
regionId: 'RegionId',
|
|
15444
|
+
stageAlias: 'StageAlias',
|
|
15445
|
+
stageName: 'StageName',
|
|
15446
|
+
};
|
|
15447
|
+
}
|
|
15448
|
+
|
|
15449
|
+
static types(): { [key: string]: any } {
|
|
15450
|
+
return {
|
|
15451
|
+
basePath: 'string',
|
|
15452
|
+
description: 'string',
|
|
15453
|
+
groupId: 'string',
|
|
15454
|
+
groupName: 'string',
|
|
15455
|
+
regionId: 'string',
|
|
15456
|
+
stageAlias: 'string',
|
|
15457
|
+
stageName: 'string',
|
|
15458
|
+
};
|
|
15459
|
+
}
|
|
15460
|
+
|
|
15461
|
+
validate() {
|
|
15462
|
+
super.validate();
|
|
15463
|
+
}
|
|
15464
|
+
|
|
15465
|
+
constructor(map?: { [key: string]: any }) {
|
|
15466
|
+
super(map);
|
|
15467
|
+
}
|
|
15468
|
+
}
|
|
15469
|
+
|
|
15470
|
+
export class DescribePluginGroupsResponseBodyGroupSummarys extends $dara.Model {
|
|
15471
|
+
groupPluginSummary?: DescribePluginGroupsResponseBodyGroupSummarysGroupPluginSummary[];
|
|
15472
|
+
static names(): { [key: string]: string } {
|
|
15473
|
+
return {
|
|
15474
|
+
groupPluginSummary: 'GroupPluginSummary',
|
|
15475
|
+
};
|
|
15476
|
+
}
|
|
15477
|
+
|
|
15478
|
+
static types(): { [key: string]: any } {
|
|
15479
|
+
return {
|
|
15480
|
+
groupPluginSummary: { 'type': 'array', 'itemType': DescribePluginGroupsResponseBodyGroupSummarysGroupPluginSummary },
|
|
15481
|
+
};
|
|
15482
|
+
}
|
|
15483
|
+
|
|
15484
|
+
validate() {
|
|
15485
|
+
if(Array.isArray(this.groupPluginSummary)) {
|
|
15486
|
+
$dara.Model.validateArray(this.groupPluginSummary);
|
|
15487
|
+
}
|
|
15488
|
+
super.validate();
|
|
15489
|
+
}
|
|
15490
|
+
|
|
15491
|
+
constructor(map?: { [key: string]: any }) {
|
|
15492
|
+
super(map);
|
|
15493
|
+
}
|
|
15494
|
+
}
|
|
15495
|
+
|
|
15376
15496
|
export class DescribePluginSchemasResponseBodyPluginSchemasPluginSchema extends $dara.Model {
|
|
15377
15497
|
/**
|
|
15378
15498
|
* @example
|
|
@@ -15922,6 +16042,132 @@ export class DescribePluginsByApiResponseBodyPlugins extends $dara.Model {
|
|
|
15922
16042
|
}
|
|
15923
16043
|
}
|
|
15924
16044
|
|
|
16045
|
+
export class DescribePluginsByGroupResponseBodyPluginsPluginAttribute extends $dara.Model {
|
|
16046
|
+
/**
|
|
16047
|
+
* @remarks
|
|
16048
|
+
* Creation time, in GMT
|
|
16049
|
+
*
|
|
16050
|
+
* @example
|
|
16051
|
+
* 2024-12-20T02:05:57Z
|
|
16052
|
+
*/
|
|
16053
|
+
createdTime?: string;
|
|
16054
|
+
/**
|
|
16055
|
+
* @remarks
|
|
16056
|
+
* Plugin description
|
|
16057
|
+
*
|
|
16058
|
+
* @example
|
|
16059
|
+
* traffic controll
|
|
16060
|
+
*/
|
|
16061
|
+
description?: string;
|
|
16062
|
+
/**
|
|
16063
|
+
* @remarks
|
|
16064
|
+
* Last modified time, in GMT
|
|
16065
|
+
*
|
|
16066
|
+
* @example
|
|
16067
|
+
* 2022-03-15T02:30:18Z
|
|
16068
|
+
*/
|
|
16069
|
+
modifiedTime?: string;
|
|
16070
|
+
/**
|
|
16071
|
+
* @remarks
|
|
16072
|
+
* Plugin definition statement
|
|
16073
|
+
*
|
|
16074
|
+
* @example
|
|
16075
|
+
* {\\"unit\\":\\"MINUTE\\",\\"apiDefault\\":20}
|
|
16076
|
+
*/
|
|
16077
|
+
pluginData?: string;
|
|
16078
|
+
/**
|
|
16079
|
+
* @remarks
|
|
16080
|
+
* Plugin ID
|
|
16081
|
+
*
|
|
16082
|
+
* @example
|
|
16083
|
+
* 5e204eeb4aa94c919a49f471ad3fc716
|
|
16084
|
+
*/
|
|
16085
|
+
pluginId?: string;
|
|
16086
|
+
/**
|
|
16087
|
+
* @remarks
|
|
16088
|
+
* Plugin name
|
|
16089
|
+
*
|
|
16090
|
+
* @example
|
|
16091
|
+
* firstPlugin
|
|
16092
|
+
*/
|
|
16093
|
+
pluginName?: string;
|
|
16094
|
+
/**
|
|
16095
|
+
* @remarks
|
|
16096
|
+
* Plugin type
|
|
16097
|
+
*
|
|
16098
|
+
* @example
|
|
16099
|
+
* trafficControl
|
|
16100
|
+
*/
|
|
16101
|
+
pluginType?: string;
|
|
16102
|
+
/**
|
|
16103
|
+
* @remarks
|
|
16104
|
+
* 插件所在Region
|
|
16105
|
+
*
|
|
16106
|
+
* @example
|
|
16107
|
+
* cn-hangzhou
|
|
16108
|
+
*/
|
|
16109
|
+
regionId?: string;
|
|
16110
|
+
static names(): { [key: string]: string } {
|
|
16111
|
+
return {
|
|
16112
|
+
createdTime: 'CreatedTime',
|
|
16113
|
+
description: 'Description',
|
|
16114
|
+
modifiedTime: 'ModifiedTime',
|
|
16115
|
+
pluginData: 'PluginData',
|
|
16116
|
+
pluginId: 'PluginId',
|
|
16117
|
+
pluginName: 'PluginName',
|
|
16118
|
+
pluginType: 'PluginType',
|
|
16119
|
+
regionId: 'RegionId',
|
|
16120
|
+
};
|
|
16121
|
+
}
|
|
16122
|
+
|
|
16123
|
+
static types(): { [key: string]: any } {
|
|
16124
|
+
return {
|
|
16125
|
+
createdTime: 'string',
|
|
16126
|
+
description: 'string',
|
|
16127
|
+
modifiedTime: 'string',
|
|
16128
|
+
pluginData: 'string',
|
|
16129
|
+
pluginId: 'string',
|
|
16130
|
+
pluginName: 'string',
|
|
16131
|
+
pluginType: 'string',
|
|
16132
|
+
regionId: 'string',
|
|
16133
|
+
};
|
|
16134
|
+
}
|
|
16135
|
+
|
|
16136
|
+
validate() {
|
|
16137
|
+
super.validate();
|
|
16138
|
+
}
|
|
16139
|
+
|
|
16140
|
+
constructor(map?: { [key: string]: any }) {
|
|
16141
|
+
super(map);
|
|
16142
|
+
}
|
|
16143
|
+
}
|
|
16144
|
+
|
|
16145
|
+
export class DescribePluginsByGroupResponseBodyPlugins extends $dara.Model {
|
|
16146
|
+
pluginAttribute?: DescribePluginsByGroupResponseBodyPluginsPluginAttribute[];
|
|
16147
|
+
static names(): { [key: string]: string } {
|
|
16148
|
+
return {
|
|
16149
|
+
pluginAttribute: 'PluginAttribute',
|
|
16150
|
+
};
|
|
16151
|
+
}
|
|
16152
|
+
|
|
16153
|
+
static types(): { [key: string]: any } {
|
|
16154
|
+
return {
|
|
16155
|
+
pluginAttribute: { 'type': 'array', 'itemType': DescribePluginsByGroupResponseBodyPluginsPluginAttribute },
|
|
16156
|
+
};
|
|
16157
|
+
}
|
|
16158
|
+
|
|
16159
|
+
validate() {
|
|
16160
|
+
if(Array.isArray(this.pluginAttribute)) {
|
|
16161
|
+
$dara.Model.validateArray(this.pluginAttribute);
|
|
16162
|
+
}
|
|
16163
|
+
super.validate();
|
|
16164
|
+
}
|
|
16165
|
+
|
|
16166
|
+
constructor(map?: { [key: string]: any }) {
|
|
16167
|
+
super(map);
|
|
16168
|
+
}
|
|
16169
|
+
}
|
|
16170
|
+
|
|
15925
16171
|
export class DescribePurchasedApiGroupResponseBodyDomainsDomainItem extends $dara.Model {
|
|
15926
16172
|
/**
|
|
15927
16173
|
* @remarks
|
|
@@ -20586,6 +20832,134 @@ export class AttachApiProductResponse extends $dara.Model {
|
|
|
20586
20832
|
}
|
|
20587
20833
|
}
|
|
20588
20834
|
|
|
20835
|
+
export class AttachGroupPluginRequest extends $dara.Model {
|
|
20836
|
+
/**
|
|
20837
|
+
* @remarks
|
|
20838
|
+
* The ID of the API group.
|
|
20839
|
+
*
|
|
20840
|
+
* This parameter is required.
|
|
20841
|
+
*
|
|
20842
|
+
* @example
|
|
20843
|
+
* 08ae4aa0f95e4321849ee57f4e0b3077
|
|
20844
|
+
*/
|
|
20845
|
+
groupId?: string;
|
|
20846
|
+
/**
|
|
20847
|
+
* @remarks
|
|
20848
|
+
* The ID of the plug-in to be bound.
|
|
20849
|
+
*
|
|
20850
|
+
* This parameter is required.
|
|
20851
|
+
*
|
|
20852
|
+
* @example
|
|
20853
|
+
* 05df2b52a3644a3a8b1935ab8ab59e9d
|
|
20854
|
+
*/
|
|
20855
|
+
pluginId?: string;
|
|
20856
|
+
securityToken?: string;
|
|
20857
|
+
/**
|
|
20858
|
+
* @remarks
|
|
20859
|
+
* The environment in which the API is requested. Valid values:
|
|
20860
|
+
*
|
|
20861
|
+
* * **RELEASE**: the production environment
|
|
20862
|
+
* * **PRE**: the pre-release environment
|
|
20863
|
+
* * **TEST**: the test environment
|
|
20864
|
+
*
|
|
20865
|
+
* This parameter is required.
|
|
20866
|
+
*
|
|
20867
|
+
* @example
|
|
20868
|
+
* RELEASE
|
|
20869
|
+
*/
|
|
20870
|
+
stageName?: string;
|
|
20871
|
+
static names(): { [key: string]: string } {
|
|
20872
|
+
return {
|
|
20873
|
+
groupId: 'GroupId',
|
|
20874
|
+
pluginId: 'PluginId',
|
|
20875
|
+
securityToken: 'SecurityToken',
|
|
20876
|
+
stageName: 'StageName',
|
|
20877
|
+
};
|
|
20878
|
+
}
|
|
20879
|
+
|
|
20880
|
+
static types(): { [key: string]: any } {
|
|
20881
|
+
return {
|
|
20882
|
+
groupId: 'string',
|
|
20883
|
+
pluginId: 'string',
|
|
20884
|
+
securityToken: 'string',
|
|
20885
|
+
stageName: 'string',
|
|
20886
|
+
};
|
|
20887
|
+
}
|
|
20888
|
+
|
|
20889
|
+
validate() {
|
|
20890
|
+
super.validate();
|
|
20891
|
+
}
|
|
20892
|
+
|
|
20893
|
+
constructor(map?: { [key: string]: any }) {
|
|
20894
|
+
super(map);
|
|
20895
|
+
}
|
|
20896
|
+
}
|
|
20897
|
+
|
|
20898
|
+
export class AttachGroupPluginResponseBody extends $dara.Model {
|
|
20899
|
+
/**
|
|
20900
|
+
* @remarks
|
|
20901
|
+
* The request ID.
|
|
20902
|
+
*
|
|
20903
|
+
* @example
|
|
20904
|
+
* D6E46F10-F26C-4AA0-BB69-FE2743D9AE62
|
|
20905
|
+
*/
|
|
20906
|
+
requestId?: string;
|
|
20907
|
+
static names(): { [key: string]: string } {
|
|
20908
|
+
return {
|
|
20909
|
+
requestId: 'RequestId',
|
|
20910
|
+
};
|
|
20911
|
+
}
|
|
20912
|
+
|
|
20913
|
+
static types(): { [key: string]: any } {
|
|
20914
|
+
return {
|
|
20915
|
+
requestId: 'string',
|
|
20916
|
+
};
|
|
20917
|
+
}
|
|
20918
|
+
|
|
20919
|
+
validate() {
|
|
20920
|
+
super.validate();
|
|
20921
|
+
}
|
|
20922
|
+
|
|
20923
|
+
constructor(map?: { [key: string]: any }) {
|
|
20924
|
+
super(map);
|
|
20925
|
+
}
|
|
20926
|
+
}
|
|
20927
|
+
|
|
20928
|
+
export class AttachGroupPluginResponse extends $dara.Model {
|
|
20929
|
+
headers?: { [key: string]: string };
|
|
20930
|
+
statusCode?: number;
|
|
20931
|
+
body?: AttachGroupPluginResponseBody;
|
|
20932
|
+
static names(): { [key: string]: string } {
|
|
20933
|
+
return {
|
|
20934
|
+
headers: 'headers',
|
|
20935
|
+
statusCode: 'statusCode',
|
|
20936
|
+
body: 'body',
|
|
20937
|
+
};
|
|
20938
|
+
}
|
|
20939
|
+
|
|
20940
|
+
static types(): { [key: string]: any } {
|
|
20941
|
+
return {
|
|
20942
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
20943
|
+
statusCode: 'number',
|
|
20944
|
+
body: AttachGroupPluginResponseBody,
|
|
20945
|
+
};
|
|
20946
|
+
}
|
|
20947
|
+
|
|
20948
|
+
validate() {
|
|
20949
|
+
if(this.headers) {
|
|
20950
|
+
$dara.Model.validateMap(this.headers);
|
|
20951
|
+
}
|
|
20952
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
20953
|
+
(this.body as any).validate();
|
|
20954
|
+
}
|
|
20955
|
+
super.validate();
|
|
20956
|
+
}
|
|
20957
|
+
|
|
20958
|
+
constructor(map?: { [key: string]: any }) {
|
|
20959
|
+
super(map);
|
|
20960
|
+
}
|
|
20961
|
+
}
|
|
20962
|
+
|
|
20589
20963
|
export class AttachPluginRequest extends $dara.Model {
|
|
20590
20964
|
/**
|
|
20591
20965
|
* @remarks
|
|
@@ -35200,6 +35574,7 @@ export class DescribeDatasetListRequest extends $dara.Model {
|
|
|
35200
35574
|
* 4add6a61804e47858266883e********
|
|
35201
35575
|
*/
|
|
35202
35576
|
datasetIds?: string;
|
|
35577
|
+
datasetName?: string;
|
|
35203
35578
|
/**
|
|
35204
35579
|
* @remarks
|
|
35205
35580
|
* The number of the page to return. Pages start from page 1. Default value: 1.
|
|
@@ -35225,6 +35600,7 @@ export class DescribeDatasetListRequest extends $dara.Model {
|
|
|
35225
35600
|
static names(): { [key: string]: string } {
|
|
35226
35601
|
return {
|
|
35227
35602
|
datasetIds: 'DatasetIds',
|
|
35603
|
+
datasetName: 'DatasetName',
|
|
35228
35604
|
pageNumber: 'PageNumber',
|
|
35229
35605
|
pageSize: 'PageSize',
|
|
35230
35606
|
securityToken: 'SecurityToken',
|
|
@@ -35235,6 +35611,7 @@ export class DescribeDatasetListRequest extends $dara.Model {
|
|
|
35235
35611
|
static types(): { [key: string]: any } {
|
|
35236
35612
|
return {
|
|
35237
35613
|
datasetIds: 'string',
|
|
35614
|
+
datasetName: 'string',
|
|
35238
35615
|
pageNumber: 'number',
|
|
35239
35616
|
pageSize: 'number',
|
|
35240
35617
|
securityToken: 'string',
|
|
@@ -40064,6 +40441,196 @@ export class DescribePluginApisResponse extends $dara.Model {
|
|
|
40064
40441
|
}
|
|
40065
40442
|
}
|
|
40066
40443
|
|
|
40444
|
+
export class DescribePluginGroupsRequest extends $dara.Model {
|
|
40445
|
+
/**
|
|
40446
|
+
* @remarks
|
|
40447
|
+
* API group description
|
|
40448
|
+
*
|
|
40449
|
+
* @example
|
|
40450
|
+
* test
|
|
40451
|
+
*/
|
|
40452
|
+
description?: string;
|
|
40453
|
+
/**
|
|
40454
|
+
* @remarks
|
|
40455
|
+
* API group ID
|
|
40456
|
+
*
|
|
40457
|
+
* @example
|
|
40458
|
+
* 8cc2a3cbe3394524b6e71be5db9b02a3
|
|
40459
|
+
*/
|
|
40460
|
+
groupId?: string;
|
|
40461
|
+
/**
|
|
40462
|
+
* @remarks
|
|
40463
|
+
* API group name
|
|
40464
|
+
*
|
|
40465
|
+
* @example
|
|
40466
|
+
* crm_custom_service
|
|
40467
|
+
*/
|
|
40468
|
+
groupName?: string;
|
|
40469
|
+
/**
|
|
40470
|
+
* @remarks
|
|
40471
|
+
* Pagination parameter: current page number
|
|
40472
|
+
*
|
|
40473
|
+
* @example
|
|
40474
|
+
* 1
|
|
40475
|
+
*/
|
|
40476
|
+
pageNumber?: number;
|
|
40477
|
+
/**
|
|
40478
|
+
* @remarks
|
|
40479
|
+
* Pagination parameter: number of items per page
|
|
40480
|
+
*
|
|
40481
|
+
* @example
|
|
40482
|
+
* 10
|
|
40483
|
+
*/
|
|
40484
|
+
pageSize?: number;
|
|
40485
|
+
/**
|
|
40486
|
+
* @remarks
|
|
40487
|
+
* API Gateway plugin ID
|
|
40488
|
+
*
|
|
40489
|
+
* This parameter is required.
|
|
40490
|
+
*
|
|
40491
|
+
* @example
|
|
40492
|
+
* 1f3bde29b43d4d53989248327ff737f2
|
|
40493
|
+
*/
|
|
40494
|
+
pluginId?: string;
|
|
40495
|
+
securityToken?: string;
|
|
40496
|
+
static names(): { [key: string]: string } {
|
|
40497
|
+
return {
|
|
40498
|
+
description: 'Description',
|
|
40499
|
+
groupId: 'GroupId',
|
|
40500
|
+
groupName: 'GroupName',
|
|
40501
|
+
pageNumber: 'PageNumber',
|
|
40502
|
+
pageSize: 'PageSize',
|
|
40503
|
+
pluginId: 'PluginId',
|
|
40504
|
+
securityToken: 'SecurityToken',
|
|
40505
|
+
};
|
|
40506
|
+
}
|
|
40507
|
+
|
|
40508
|
+
static types(): { [key: string]: any } {
|
|
40509
|
+
return {
|
|
40510
|
+
description: 'string',
|
|
40511
|
+
groupId: 'string',
|
|
40512
|
+
groupName: 'string',
|
|
40513
|
+
pageNumber: 'number',
|
|
40514
|
+
pageSize: 'number',
|
|
40515
|
+
pluginId: 'string',
|
|
40516
|
+
securityToken: 'string',
|
|
40517
|
+
};
|
|
40518
|
+
}
|
|
40519
|
+
|
|
40520
|
+
validate() {
|
|
40521
|
+
super.validate();
|
|
40522
|
+
}
|
|
40523
|
+
|
|
40524
|
+
constructor(map?: { [key: string]: any }) {
|
|
40525
|
+
super(map);
|
|
40526
|
+
}
|
|
40527
|
+
}
|
|
40528
|
+
|
|
40529
|
+
export class DescribePluginGroupsResponseBody extends $dara.Model {
|
|
40530
|
+
/**
|
|
40531
|
+
* @remarks
|
|
40532
|
+
* Collection of group information
|
|
40533
|
+
*/
|
|
40534
|
+
groupSummarys?: DescribePluginGroupsResponseBodyGroupSummarys;
|
|
40535
|
+
/**
|
|
40536
|
+
* @remarks
|
|
40537
|
+
* Pagination parameter: current page number
|
|
40538
|
+
*
|
|
40539
|
+
* @example
|
|
40540
|
+
* 1
|
|
40541
|
+
*/
|
|
40542
|
+
pageNumber?: number;
|
|
40543
|
+
/**
|
|
40544
|
+
* @remarks
|
|
40545
|
+
* Pagination parameter: number of items per page, default value 10
|
|
40546
|
+
*
|
|
40547
|
+
* @example
|
|
40548
|
+
* 10
|
|
40549
|
+
*/
|
|
40550
|
+
pageSize?: number;
|
|
40551
|
+
/**
|
|
40552
|
+
* @remarks
|
|
40553
|
+
* Request ID
|
|
40554
|
+
*
|
|
40555
|
+
* @example
|
|
40556
|
+
* 765BC99E-F583-5A80-9A42-42AC125C2CDC
|
|
40557
|
+
*/
|
|
40558
|
+
requestId?: string;
|
|
40559
|
+
/**
|
|
40560
|
+
* @remarks
|
|
40561
|
+
* Total number of returned results
|
|
40562
|
+
*
|
|
40563
|
+
* @example
|
|
40564
|
+
* 20
|
|
40565
|
+
*/
|
|
40566
|
+
totalCount?: number;
|
|
40567
|
+
static names(): { [key: string]: string } {
|
|
40568
|
+
return {
|
|
40569
|
+
groupSummarys: 'GroupSummarys',
|
|
40570
|
+
pageNumber: 'PageNumber',
|
|
40571
|
+
pageSize: 'PageSize',
|
|
40572
|
+
requestId: 'RequestId',
|
|
40573
|
+
totalCount: 'TotalCount',
|
|
40574
|
+
};
|
|
40575
|
+
}
|
|
40576
|
+
|
|
40577
|
+
static types(): { [key: string]: any } {
|
|
40578
|
+
return {
|
|
40579
|
+
groupSummarys: DescribePluginGroupsResponseBodyGroupSummarys,
|
|
40580
|
+
pageNumber: 'number',
|
|
40581
|
+
pageSize: 'number',
|
|
40582
|
+
requestId: 'string',
|
|
40583
|
+
totalCount: 'number',
|
|
40584
|
+
};
|
|
40585
|
+
}
|
|
40586
|
+
|
|
40587
|
+
validate() {
|
|
40588
|
+
if(this.groupSummarys && typeof (this.groupSummarys as any).validate === 'function') {
|
|
40589
|
+
(this.groupSummarys as any).validate();
|
|
40590
|
+
}
|
|
40591
|
+
super.validate();
|
|
40592
|
+
}
|
|
40593
|
+
|
|
40594
|
+
constructor(map?: { [key: string]: any }) {
|
|
40595
|
+
super(map);
|
|
40596
|
+
}
|
|
40597
|
+
}
|
|
40598
|
+
|
|
40599
|
+
export class DescribePluginGroupsResponse extends $dara.Model {
|
|
40600
|
+
headers?: { [key: string]: string };
|
|
40601
|
+
statusCode?: number;
|
|
40602
|
+
body?: DescribePluginGroupsResponseBody;
|
|
40603
|
+
static names(): { [key: string]: string } {
|
|
40604
|
+
return {
|
|
40605
|
+
headers: 'headers',
|
|
40606
|
+
statusCode: 'statusCode',
|
|
40607
|
+
body: 'body',
|
|
40608
|
+
};
|
|
40609
|
+
}
|
|
40610
|
+
|
|
40611
|
+
static types(): { [key: string]: any } {
|
|
40612
|
+
return {
|
|
40613
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
40614
|
+
statusCode: 'number',
|
|
40615
|
+
body: DescribePluginGroupsResponseBody,
|
|
40616
|
+
};
|
|
40617
|
+
}
|
|
40618
|
+
|
|
40619
|
+
validate() {
|
|
40620
|
+
if(this.headers) {
|
|
40621
|
+
$dara.Model.validateMap(this.headers);
|
|
40622
|
+
}
|
|
40623
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
40624
|
+
(this.body as any).validate();
|
|
40625
|
+
}
|
|
40626
|
+
super.validate();
|
|
40627
|
+
}
|
|
40628
|
+
|
|
40629
|
+
constructor(map?: { [key: string]: any }) {
|
|
40630
|
+
super(map);
|
|
40631
|
+
}
|
|
40632
|
+
}
|
|
40633
|
+
|
|
40067
40634
|
export class DescribePluginSchemasRequest extends $dara.Model {
|
|
40068
40635
|
/**
|
|
40069
40636
|
* @example
|
|
@@ -40663,6 +41230,182 @@ export class DescribePluginsByApiResponse extends $dara.Model {
|
|
|
40663
41230
|
}
|
|
40664
41231
|
}
|
|
40665
41232
|
|
|
41233
|
+
export class DescribePluginsByGroupRequest extends $dara.Model {
|
|
41234
|
+
/**
|
|
41235
|
+
* @remarks
|
|
41236
|
+
* Group ID
|
|
41237
|
+
*
|
|
41238
|
+
* This parameter is required.
|
|
41239
|
+
*
|
|
41240
|
+
* @example
|
|
41241
|
+
* 08ae4aa0f95e4321849ee57f4e0b3077
|
|
41242
|
+
*/
|
|
41243
|
+
groupId?: string;
|
|
41244
|
+
/**
|
|
41245
|
+
* @remarks
|
|
41246
|
+
* Pagination parameter: current page number
|
|
41247
|
+
*
|
|
41248
|
+
* @example
|
|
41249
|
+
* 1
|
|
41250
|
+
*/
|
|
41251
|
+
pageNumber?: number;
|
|
41252
|
+
/**
|
|
41253
|
+
* @remarks
|
|
41254
|
+
* Pagination parameter: number of items per page.
|
|
41255
|
+
*
|
|
41256
|
+
* @example
|
|
41257
|
+
* 10
|
|
41258
|
+
*/
|
|
41259
|
+
pageSize?: number;
|
|
41260
|
+
securityToken?: string;
|
|
41261
|
+
/**
|
|
41262
|
+
* @remarks
|
|
41263
|
+
* Specifies the environment of the API to operate on.
|
|
41264
|
+
*
|
|
41265
|
+
* - **RELEASE**: Production
|
|
41266
|
+
* - **PRE**: Pre-release
|
|
41267
|
+
* - **TEST**: Test
|
|
41268
|
+
*
|
|
41269
|
+
* This parameter is required.
|
|
41270
|
+
*
|
|
41271
|
+
* @example
|
|
41272
|
+
* RELEASE
|
|
41273
|
+
*/
|
|
41274
|
+
stageName?: string;
|
|
41275
|
+
static names(): { [key: string]: string } {
|
|
41276
|
+
return {
|
|
41277
|
+
groupId: 'GroupId',
|
|
41278
|
+
pageNumber: 'PageNumber',
|
|
41279
|
+
pageSize: 'PageSize',
|
|
41280
|
+
securityToken: 'SecurityToken',
|
|
41281
|
+
stageName: 'StageName',
|
|
41282
|
+
};
|
|
41283
|
+
}
|
|
41284
|
+
|
|
41285
|
+
static types(): { [key: string]: any } {
|
|
41286
|
+
return {
|
|
41287
|
+
groupId: 'string',
|
|
41288
|
+
pageNumber: 'number',
|
|
41289
|
+
pageSize: 'number',
|
|
41290
|
+
securityToken: 'string',
|
|
41291
|
+
stageName: 'string',
|
|
41292
|
+
};
|
|
41293
|
+
}
|
|
41294
|
+
|
|
41295
|
+
validate() {
|
|
41296
|
+
super.validate();
|
|
41297
|
+
}
|
|
41298
|
+
|
|
41299
|
+
constructor(map?: { [key: string]: any }) {
|
|
41300
|
+
super(map);
|
|
41301
|
+
}
|
|
41302
|
+
}
|
|
41303
|
+
|
|
41304
|
+
export class DescribePluginsByGroupResponseBody extends $dara.Model {
|
|
41305
|
+
/**
|
|
41306
|
+
* @remarks
|
|
41307
|
+
* Pagination parameter: current page number
|
|
41308
|
+
*
|
|
41309
|
+
* @example
|
|
41310
|
+
* 1
|
|
41311
|
+
*/
|
|
41312
|
+
pageNumber?: number;
|
|
41313
|
+
/**
|
|
41314
|
+
* @remarks
|
|
41315
|
+
* Pagination parameter: number of items per page.
|
|
41316
|
+
*
|
|
41317
|
+
* @example
|
|
41318
|
+
* 10
|
|
41319
|
+
*/
|
|
41320
|
+
pageSize?: number;
|
|
41321
|
+
/**
|
|
41322
|
+
* @remarks
|
|
41323
|
+
* Returns information about the plugins
|
|
41324
|
+
*/
|
|
41325
|
+
plugins?: DescribePluginsByGroupResponseBodyPlugins;
|
|
41326
|
+
/**
|
|
41327
|
+
* @remarks
|
|
41328
|
+
* Request ID
|
|
41329
|
+
*
|
|
41330
|
+
* @example
|
|
41331
|
+
* 5F5574BA-F22B-563D-841E-C817964F517F
|
|
41332
|
+
*/
|
|
41333
|
+
requestId?: string;
|
|
41334
|
+
/**
|
|
41335
|
+
* @remarks
|
|
41336
|
+
* Total number of results returned
|
|
41337
|
+
*
|
|
41338
|
+
* @example
|
|
41339
|
+
* 32
|
|
41340
|
+
*/
|
|
41341
|
+
totalCount?: number;
|
|
41342
|
+
static names(): { [key: string]: string } {
|
|
41343
|
+
return {
|
|
41344
|
+
pageNumber: 'PageNumber',
|
|
41345
|
+
pageSize: 'PageSize',
|
|
41346
|
+
plugins: 'Plugins',
|
|
41347
|
+
requestId: 'RequestId',
|
|
41348
|
+
totalCount: 'TotalCount',
|
|
41349
|
+
};
|
|
41350
|
+
}
|
|
41351
|
+
|
|
41352
|
+
static types(): { [key: string]: any } {
|
|
41353
|
+
return {
|
|
41354
|
+
pageNumber: 'number',
|
|
41355
|
+
pageSize: 'number',
|
|
41356
|
+
plugins: DescribePluginsByGroupResponseBodyPlugins,
|
|
41357
|
+
requestId: 'string',
|
|
41358
|
+
totalCount: 'number',
|
|
41359
|
+
};
|
|
41360
|
+
}
|
|
41361
|
+
|
|
41362
|
+
validate() {
|
|
41363
|
+
if(this.plugins && typeof (this.plugins as any).validate === 'function') {
|
|
41364
|
+
(this.plugins as any).validate();
|
|
41365
|
+
}
|
|
41366
|
+
super.validate();
|
|
41367
|
+
}
|
|
41368
|
+
|
|
41369
|
+
constructor(map?: { [key: string]: any }) {
|
|
41370
|
+
super(map);
|
|
41371
|
+
}
|
|
41372
|
+
}
|
|
41373
|
+
|
|
41374
|
+
export class DescribePluginsByGroupResponse extends $dara.Model {
|
|
41375
|
+
headers?: { [key: string]: string };
|
|
41376
|
+
statusCode?: number;
|
|
41377
|
+
body?: DescribePluginsByGroupResponseBody;
|
|
41378
|
+
static names(): { [key: string]: string } {
|
|
41379
|
+
return {
|
|
41380
|
+
headers: 'headers',
|
|
41381
|
+
statusCode: 'statusCode',
|
|
41382
|
+
body: 'body',
|
|
41383
|
+
};
|
|
41384
|
+
}
|
|
41385
|
+
|
|
41386
|
+
static types(): { [key: string]: any } {
|
|
41387
|
+
return {
|
|
41388
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
41389
|
+
statusCode: 'number',
|
|
41390
|
+
body: DescribePluginsByGroupResponseBody,
|
|
41391
|
+
};
|
|
41392
|
+
}
|
|
41393
|
+
|
|
41394
|
+
validate() {
|
|
41395
|
+
if(this.headers) {
|
|
41396
|
+
$dara.Model.validateMap(this.headers);
|
|
41397
|
+
}
|
|
41398
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
41399
|
+
(this.body as any).validate();
|
|
41400
|
+
}
|
|
41401
|
+
super.validate();
|
|
41402
|
+
}
|
|
41403
|
+
|
|
41404
|
+
constructor(map?: { [key: string]: any }) {
|
|
41405
|
+
super(map);
|
|
41406
|
+
}
|
|
41407
|
+
}
|
|
41408
|
+
|
|
40666
41409
|
export class DescribePurchasedApiGroupRequest extends $dara.Model {
|
|
40667
41410
|
/**
|
|
40668
41411
|
* @remarks
|
|
@@ -42844,6 +43587,134 @@ export class DetachApiProductResponse extends $dara.Model {
|
|
|
42844
43587
|
}
|
|
42845
43588
|
}
|
|
42846
43589
|
|
|
43590
|
+
export class DetachGroupPluginRequest extends $dara.Model {
|
|
43591
|
+
/**
|
|
43592
|
+
* @remarks
|
|
43593
|
+
* API group ID
|
|
43594
|
+
*
|
|
43595
|
+
* This parameter is required.
|
|
43596
|
+
*
|
|
43597
|
+
* @example
|
|
43598
|
+
* 0009db9c828549768a200320714b8930
|
|
43599
|
+
*/
|
|
43600
|
+
groupId?: string;
|
|
43601
|
+
/**
|
|
43602
|
+
* @remarks
|
|
43603
|
+
* API Gateway plugin ID
|
|
43604
|
+
*
|
|
43605
|
+
* This parameter is required.
|
|
43606
|
+
*
|
|
43607
|
+
* @example
|
|
43608
|
+
* a96926e82f994915a8da40a119374537
|
|
43609
|
+
*/
|
|
43610
|
+
pluginId?: string;
|
|
43611
|
+
securityToken?: string;
|
|
43612
|
+
/**
|
|
43613
|
+
* @remarks
|
|
43614
|
+
* Specify the environment of the API to operate on.
|
|
43615
|
+
*
|
|
43616
|
+
* - **RELEASE**: Production
|
|
43617
|
+
* - **PRE**: Pre-release
|
|
43618
|
+
* - **TEST**: Test
|
|
43619
|
+
*
|
|
43620
|
+
* This parameter is required.
|
|
43621
|
+
*
|
|
43622
|
+
* @example
|
|
43623
|
+
* RELEASE
|
|
43624
|
+
*/
|
|
43625
|
+
stageName?: string;
|
|
43626
|
+
static names(): { [key: string]: string } {
|
|
43627
|
+
return {
|
|
43628
|
+
groupId: 'GroupId',
|
|
43629
|
+
pluginId: 'PluginId',
|
|
43630
|
+
securityToken: 'SecurityToken',
|
|
43631
|
+
stageName: 'StageName',
|
|
43632
|
+
};
|
|
43633
|
+
}
|
|
43634
|
+
|
|
43635
|
+
static types(): { [key: string]: any } {
|
|
43636
|
+
return {
|
|
43637
|
+
groupId: 'string',
|
|
43638
|
+
pluginId: 'string',
|
|
43639
|
+
securityToken: 'string',
|
|
43640
|
+
stageName: 'string',
|
|
43641
|
+
};
|
|
43642
|
+
}
|
|
43643
|
+
|
|
43644
|
+
validate() {
|
|
43645
|
+
super.validate();
|
|
43646
|
+
}
|
|
43647
|
+
|
|
43648
|
+
constructor(map?: { [key: string]: any }) {
|
|
43649
|
+
super(map);
|
|
43650
|
+
}
|
|
43651
|
+
}
|
|
43652
|
+
|
|
43653
|
+
export class DetachGroupPluginResponseBody extends $dara.Model {
|
|
43654
|
+
/**
|
|
43655
|
+
* @remarks
|
|
43656
|
+
* Request ID
|
|
43657
|
+
*
|
|
43658
|
+
* @example
|
|
43659
|
+
* 3707E6FA-749C-5352-B72A-ABE95D9DEA49
|
|
43660
|
+
*/
|
|
43661
|
+
requestId?: string;
|
|
43662
|
+
static names(): { [key: string]: string } {
|
|
43663
|
+
return {
|
|
43664
|
+
requestId: 'RequestId',
|
|
43665
|
+
};
|
|
43666
|
+
}
|
|
43667
|
+
|
|
43668
|
+
static types(): { [key: string]: any } {
|
|
43669
|
+
return {
|
|
43670
|
+
requestId: 'string',
|
|
43671
|
+
};
|
|
43672
|
+
}
|
|
43673
|
+
|
|
43674
|
+
validate() {
|
|
43675
|
+
super.validate();
|
|
43676
|
+
}
|
|
43677
|
+
|
|
43678
|
+
constructor(map?: { [key: string]: any }) {
|
|
43679
|
+
super(map);
|
|
43680
|
+
}
|
|
43681
|
+
}
|
|
43682
|
+
|
|
43683
|
+
export class DetachGroupPluginResponse extends $dara.Model {
|
|
43684
|
+
headers?: { [key: string]: string };
|
|
43685
|
+
statusCode?: number;
|
|
43686
|
+
body?: DetachGroupPluginResponseBody;
|
|
43687
|
+
static names(): { [key: string]: string } {
|
|
43688
|
+
return {
|
|
43689
|
+
headers: 'headers',
|
|
43690
|
+
statusCode: 'statusCode',
|
|
43691
|
+
body: 'body',
|
|
43692
|
+
};
|
|
43693
|
+
}
|
|
43694
|
+
|
|
43695
|
+
static types(): { [key: string]: any } {
|
|
43696
|
+
return {
|
|
43697
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
43698
|
+
statusCode: 'number',
|
|
43699
|
+
body: DetachGroupPluginResponseBody,
|
|
43700
|
+
};
|
|
43701
|
+
}
|
|
43702
|
+
|
|
43703
|
+
validate() {
|
|
43704
|
+
if(this.headers) {
|
|
43705
|
+
$dara.Model.validateMap(this.headers);
|
|
43706
|
+
}
|
|
43707
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
43708
|
+
(this.body as any).validate();
|
|
43709
|
+
}
|
|
43710
|
+
super.validate();
|
|
43711
|
+
}
|
|
43712
|
+
|
|
43713
|
+
constructor(map?: { [key: string]: any }) {
|
|
43714
|
+
super(map);
|
|
43715
|
+
}
|
|
43716
|
+
}
|
|
43717
|
+
|
|
42847
43718
|
export class DetachPluginRequest extends $dara.Model {
|
|
42848
43719
|
/**
|
|
42849
43720
|
* @example
|
|
@@ -54626,6 +55497,65 @@ export default class Client extends OpenApi {
|
|
|
54626
55497
|
return await this.attachApiProductWithOptions(request, runtime);
|
|
54627
55498
|
}
|
|
54628
55499
|
|
|
55500
|
+
/**
|
|
55501
|
+
* Attach plugin to API group.
|
|
55502
|
+
*
|
|
55503
|
+
* @param request - AttachGroupPluginRequest
|
|
55504
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
55505
|
+
* @returns AttachGroupPluginResponse
|
|
55506
|
+
*/
|
|
55507
|
+
async attachGroupPluginWithOptions(request: AttachGroupPluginRequest, runtime: $dara.RuntimeOptions): Promise<AttachGroupPluginResponse> {
|
|
55508
|
+
request.validate();
|
|
55509
|
+
let query = { };
|
|
55510
|
+
if (!$dara.isNull(request.groupId)) {
|
|
55511
|
+
query["GroupId"] = request.groupId;
|
|
55512
|
+
}
|
|
55513
|
+
|
|
55514
|
+
if (!$dara.isNull(request.pluginId)) {
|
|
55515
|
+
query["PluginId"] = request.pluginId;
|
|
55516
|
+
}
|
|
55517
|
+
|
|
55518
|
+
if (!$dara.isNull(request.securityToken)) {
|
|
55519
|
+
query["SecurityToken"] = request.securityToken;
|
|
55520
|
+
}
|
|
55521
|
+
|
|
55522
|
+
if (!$dara.isNull(request.stageName)) {
|
|
55523
|
+
query["StageName"] = request.stageName;
|
|
55524
|
+
}
|
|
55525
|
+
|
|
55526
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
55527
|
+
query: OpenApiUtil.query(query),
|
|
55528
|
+
});
|
|
55529
|
+
let params = new $OpenApiUtil.Params({
|
|
55530
|
+
action: "AttachGroupPlugin",
|
|
55531
|
+
version: "2016-07-14",
|
|
55532
|
+
protocol: "HTTPS",
|
|
55533
|
+
pathname: "/",
|
|
55534
|
+
method: "POST",
|
|
55535
|
+
authType: "AK",
|
|
55536
|
+
style: "RPC",
|
|
55537
|
+
reqBodyType: "formData",
|
|
55538
|
+
bodyType: "json",
|
|
55539
|
+
});
|
|
55540
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
55541
|
+
return $dara.cast<AttachGroupPluginResponse>(await this.callApi(params, req, runtime), new AttachGroupPluginResponse({}));
|
|
55542
|
+
} else {
|
|
55543
|
+
return $dara.cast<AttachGroupPluginResponse>(await this.execute(params, req, runtime), new AttachGroupPluginResponse({}));
|
|
55544
|
+
}
|
|
55545
|
+
|
|
55546
|
+
}
|
|
55547
|
+
|
|
55548
|
+
/**
|
|
55549
|
+
* Attach plugin to API group.
|
|
55550
|
+
*
|
|
55551
|
+
* @param request - AttachGroupPluginRequest
|
|
55552
|
+
* @returns AttachGroupPluginResponse
|
|
55553
|
+
*/
|
|
55554
|
+
async attachGroupPlugin(request: AttachGroupPluginRequest): Promise<AttachGroupPluginResponse> {
|
|
55555
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
55556
|
+
return await this.attachGroupPluginWithOptions(request, runtime);
|
|
55557
|
+
}
|
|
55558
|
+
|
|
54629
55559
|
/**
|
|
54630
55560
|
* Binds a plug-in to an API.
|
|
54631
55561
|
*
|
|
@@ -60602,6 +61532,10 @@ export default class Client extends OpenApi {
|
|
|
60602
61532
|
query["DatasetIds"] = request.datasetIds;
|
|
60603
61533
|
}
|
|
60604
61534
|
|
|
61535
|
+
if (!$dara.isNull(request.datasetName)) {
|
|
61536
|
+
query["DatasetName"] = request.datasetName;
|
|
61537
|
+
}
|
|
61538
|
+
|
|
60605
61539
|
if (!$dara.isNull(request.pageNumber)) {
|
|
60606
61540
|
query["PageNumber"] = request.pageNumber;
|
|
60607
61541
|
}
|
|
@@ -62372,6 +63306,77 @@ export default class Client extends OpenApi {
|
|
|
62372
63306
|
return await this.describePluginApisWithOptions(request, runtime);
|
|
62373
63307
|
}
|
|
62374
63308
|
|
|
63309
|
+
/**
|
|
63310
|
+
* Query the list of groups bound to a plugin based on the plugin ID
|
|
63311
|
+
*
|
|
63312
|
+
* @param request - DescribePluginGroupsRequest
|
|
63313
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
63314
|
+
* @returns DescribePluginGroupsResponse
|
|
63315
|
+
*/
|
|
63316
|
+
async describePluginGroupsWithOptions(request: DescribePluginGroupsRequest, runtime: $dara.RuntimeOptions): Promise<DescribePluginGroupsResponse> {
|
|
63317
|
+
request.validate();
|
|
63318
|
+
let query = { };
|
|
63319
|
+
if (!$dara.isNull(request.description)) {
|
|
63320
|
+
query["Description"] = request.description;
|
|
63321
|
+
}
|
|
63322
|
+
|
|
63323
|
+
if (!$dara.isNull(request.groupId)) {
|
|
63324
|
+
query["GroupId"] = request.groupId;
|
|
63325
|
+
}
|
|
63326
|
+
|
|
63327
|
+
if (!$dara.isNull(request.groupName)) {
|
|
63328
|
+
query["GroupName"] = request.groupName;
|
|
63329
|
+
}
|
|
63330
|
+
|
|
63331
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
63332
|
+
query["PageNumber"] = request.pageNumber;
|
|
63333
|
+
}
|
|
63334
|
+
|
|
63335
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
63336
|
+
query["PageSize"] = request.pageSize;
|
|
63337
|
+
}
|
|
63338
|
+
|
|
63339
|
+
if (!$dara.isNull(request.pluginId)) {
|
|
63340
|
+
query["PluginId"] = request.pluginId;
|
|
63341
|
+
}
|
|
63342
|
+
|
|
63343
|
+
if (!$dara.isNull(request.securityToken)) {
|
|
63344
|
+
query["SecurityToken"] = request.securityToken;
|
|
63345
|
+
}
|
|
63346
|
+
|
|
63347
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
63348
|
+
query: OpenApiUtil.query(query),
|
|
63349
|
+
});
|
|
63350
|
+
let params = new $OpenApiUtil.Params({
|
|
63351
|
+
action: "DescribePluginGroups",
|
|
63352
|
+
version: "2016-07-14",
|
|
63353
|
+
protocol: "HTTPS",
|
|
63354
|
+
pathname: "/",
|
|
63355
|
+
method: "POST",
|
|
63356
|
+
authType: "AK",
|
|
63357
|
+
style: "RPC",
|
|
63358
|
+
reqBodyType: "formData",
|
|
63359
|
+
bodyType: "json",
|
|
63360
|
+
});
|
|
63361
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
63362
|
+
return $dara.cast<DescribePluginGroupsResponse>(await this.callApi(params, req, runtime), new DescribePluginGroupsResponse({}));
|
|
63363
|
+
} else {
|
|
63364
|
+
return $dara.cast<DescribePluginGroupsResponse>(await this.execute(params, req, runtime), new DescribePluginGroupsResponse({}));
|
|
63365
|
+
}
|
|
63366
|
+
|
|
63367
|
+
}
|
|
63368
|
+
|
|
63369
|
+
/**
|
|
63370
|
+
* Query the list of groups bound to a plugin based on the plugin ID
|
|
63371
|
+
*
|
|
63372
|
+
* @param request - DescribePluginGroupsRequest
|
|
63373
|
+
* @returns DescribePluginGroupsResponse
|
|
63374
|
+
*/
|
|
63375
|
+
async describePluginGroups(request: DescribePluginGroupsRequest): Promise<DescribePluginGroupsResponse> {
|
|
63376
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
63377
|
+
return await this.describePluginGroupsWithOptions(request, runtime);
|
|
63378
|
+
}
|
|
63379
|
+
|
|
62375
63380
|
/**
|
|
62376
63381
|
* 查询插件列表
|
|
62377
63382
|
*
|
|
@@ -62636,6 +63641,69 @@ export default class Client extends OpenApi {
|
|
|
62636
63641
|
return await this.describePluginsByApiWithOptions(request, runtime);
|
|
62637
63642
|
}
|
|
62638
63643
|
|
|
63644
|
+
/**
|
|
63645
|
+
* Query Plugins Bound to API Group
|
|
63646
|
+
*
|
|
63647
|
+
* @param request - DescribePluginsByGroupRequest
|
|
63648
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
63649
|
+
* @returns DescribePluginsByGroupResponse
|
|
63650
|
+
*/
|
|
63651
|
+
async describePluginsByGroupWithOptions(request: DescribePluginsByGroupRequest, runtime: $dara.RuntimeOptions): Promise<DescribePluginsByGroupResponse> {
|
|
63652
|
+
request.validate();
|
|
63653
|
+
let query = { };
|
|
63654
|
+
if (!$dara.isNull(request.groupId)) {
|
|
63655
|
+
query["GroupId"] = request.groupId;
|
|
63656
|
+
}
|
|
63657
|
+
|
|
63658
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
63659
|
+
query["PageNumber"] = request.pageNumber;
|
|
63660
|
+
}
|
|
63661
|
+
|
|
63662
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
63663
|
+
query["PageSize"] = request.pageSize;
|
|
63664
|
+
}
|
|
63665
|
+
|
|
63666
|
+
if (!$dara.isNull(request.securityToken)) {
|
|
63667
|
+
query["SecurityToken"] = request.securityToken;
|
|
63668
|
+
}
|
|
63669
|
+
|
|
63670
|
+
if (!$dara.isNull(request.stageName)) {
|
|
63671
|
+
query["StageName"] = request.stageName;
|
|
63672
|
+
}
|
|
63673
|
+
|
|
63674
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
63675
|
+
query: OpenApiUtil.query(query),
|
|
63676
|
+
});
|
|
63677
|
+
let params = new $OpenApiUtil.Params({
|
|
63678
|
+
action: "DescribePluginsByGroup",
|
|
63679
|
+
version: "2016-07-14",
|
|
63680
|
+
protocol: "HTTPS",
|
|
63681
|
+
pathname: "/",
|
|
63682
|
+
method: "POST",
|
|
63683
|
+
authType: "AK",
|
|
63684
|
+
style: "RPC",
|
|
63685
|
+
reqBodyType: "formData",
|
|
63686
|
+
bodyType: "json",
|
|
63687
|
+
});
|
|
63688
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
63689
|
+
return $dara.cast<DescribePluginsByGroupResponse>(await this.callApi(params, req, runtime), new DescribePluginsByGroupResponse({}));
|
|
63690
|
+
} else {
|
|
63691
|
+
return $dara.cast<DescribePluginsByGroupResponse>(await this.execute(params, req, runtime), new DescribePluginsByGroupResponse({}));
|
|
63692
|
+
}
|
|
63693
|
+
|
|
63694
|
+
}
|
|
63695
|
+
|
|
63696
|
+
/**
|
|
63697
|
+
* Query Plugins Bound to API Group
|
|
63698
|
+
*
|
|
63699
|
+
* @param request - DescribePluginsByGroupRequest
|
|
63700
|
+
* @returns DescribePluginsByGroupResponse
|
|
63701
|
+
*/
|
|
63702
|
+
async describePluginsByGroup(request: DescribePluginsByGroupRequest): Promise<DescribePluginsByGroupResponse> {
|
|
63703
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
63704
|
+
return await this.describePluginsByGroupWithOptions(request, runtime);
|
|
63705
|
+
}
|
|
63706
|
+
|
|
62639
63707
|
/**
|
|
62640
63708
|
* Queries the details about an API group purchased from Alibaba Cloud Marketplace.
|
|
62641
63709
|
*
|
|
@@ -63555,6 +64623,65 @@ export default class Client extends OpenApi {
|
|
|
63555
64623
|
return await this.detachApiProductWithOptions(request, runtime);
|
|
63556
64624
|
}
|
|
63557
64625
|
|
|
64626
|
+
/**
|
|
64627
|
+
* Unbind group plugin
|
|
64628
|
+
*
|
|
64629
|
+
* @param request - DetachGroupPluginRequest
|
|
64630
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
64631
|
+
* @returns DetachGroupPluginResponse
|
|
64632
|
+
*/
|
|
64633
|
+
async detachGroupPluginWithOptions(request: DetachGroupPluginRequest, runtime: $dara.RuntimeOptions): Promise<DetachGroupPluginResponse> {
|
|
64634
|
+
request.validate();
|
|
64635
|
+
let query = { };
|
|
64636
|
+
if (!$dara.isNull(request.groupId)) {
|
|
64637
|
+
query["GroupId"] = request.groupId;
|
|
64638
|
+
}
|
|
64639
|
+
|
|
64640
|
+
if (!$dara.isNull(request.pluginId)) {
|
|
64641
|
+
query["PluginId"] = request.pluginId;
|
|
64642
|
+
}
|
|
64643
|
+
|
|
64644
|
+
if (!$dara.isNull(request.securityToken)) {
|
|
64645
|
+
query["SecurityToken"] = request.securityToken;
|
|
64646
|
+
}
|
|
64647
|
+
|
|
64648
|
+
if (!$dara.isNull(request.stageName)) {
|
|
64649
|
+
query["StageName"] = request.stageName;
|
|
64650
|
+
}
|
|
64651
|
+
|
|
64652
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
64653
|
+
query: OpenApiUtil.query(query),
|
|
64654
|
+
});
|
|
64655
|
+
let params = new $OpenApiUtil.Params({
|
|
64656
|
+
action: "DetachGroupPlugin",
|
|
64657
|
+
version: "2016-07-14",
|
|
64658
|
+
protocol: "HTTPS",
|
|
64659
|
+
pathname: "/",
|
|
64660
|
+
method: "POST",
|
|
64661
|
+
authType: "AK",
|
|
64662
|
+
style: "RPC",
|
|
64663
|
+
reqBodyType: "formData",
|
|
64664
|
+
bodyType: "json",
|
|
64665
|
+
});
|
|
64666
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
64667
|
+
return $dara.cast<DetachGroupPluginResponse>(await this.callApi(params, req, runtime), new DetachGroupPluginResponse({}));
|
|
64668
|
+
} else {
|
|
64669
|
+
return $dara.cast<DetachGroupPluginResponse>(await this.execute(params, req, runtime), new DetachGroupPluginResponse({}));
|
|
64670
|
+
}
|
|
64671
|
+
|
|
64672
|
+
}
|
|
64673
|
+
|
|
64674
|
+
/**
|
|
64675
|
+
* Unbind group plugin
|
|
64676
|
+
*
|
|
64677
|
+
* @param request - DetachGroupPluginRequest
|
|
64678
|
+
* @returns DetachGroupPluginResponse
|
|
64679
|
+
*/
|
|
64680
|
+
async detachGroupPlugin(request: DetachGroupPluginRequest): Promise<DetachGroupPluginResponse> {
|
|
64681
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
64682
|
+
return await this.detachGroupPluginWithOptions(request, runtime);
|
|
64683
|
+
}
|
|
64684
|
+
|
|
63558
64685
|
/**
|
|
63559
64686
|
* 解绑插件
|
|
63560
64687
|
*
|