@alicloud/cloudapi20160714 4.6.2 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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
@@ -40064,6 +40438,196 @@ export class DescribePluginApisResponse extends $dara.Model {
40064
40438
  }
40065
40439
  }
40066
40440
 
40441
+ export class DescribePluginGroupsRequest extends $dara.Model {
40442
+ /**
40443
+ * @remarks
40444
+ * API group description
40445
+ *
40446
+ * @example
40447
+ * test
40448
+ */
40449
+ description?: string;
40450
+ /**
40451
+ * @remarks
40452
+ * API group ID
40453
+ *
40454
+ * @example
40455
+ * 8cc2a3cbe3394524b6e71be5db9b02a3
40456
+ */
40457
+ groupId?: string;
40458
+ /**
40459
+ * @remarks
40460
+ * API group name
40461
+ *
40462
+ * @example
40463
+ * crm_custom_service
40464
+ */
40465
+ groupName?: string;
40466
+ /**
40467
+ * @remarks
40468
+ * Pagination parameter: current page number
40469
+ *
40470
+ * @example
40471
+ * 1
40472
+ */
40473
+ pageNumber?: number;
40474
+ /**
40475
+ * @remarks
40476
+ * Pagination parameter: number of items per page
40477
+ *
40478
+ * @example
40479
+ * 10
40480
+ */
40481
+ pageSize?: number;
40482
+ /**
40483
+ * @remarks
40484
+ * API Gateway plugin ID
40485
+ *
40486
+ * This parameter is required.
40487
+ *
40488
+ * @example
40489
+ * 1f3bde29b43d4d53989248327ff737f2
40490
+ */
40491
+ pluginId?: string;
40492
+ securityToken?: string;
40493
+ static names(): { [key: string]: string } {
40494
+ return {
40495
+ description: 'Description',
40496
+ groupId: 'GroupId',
40497
+ groupName: 'GroupName',
40498
+ pageNumber: 'PageNumber',
40499
+ pageSize: 'PageSize',
40500
+ pluginId: 'PluginId',
40501
+ securityToken: 'SecurityToken',
40502
+ };
40503
+ }
40504
+
40505
+ static types(): { [key: string]: any } {
40506
+ return {
40507
+ description: 'string',
40508
+ groupId: 'string',
40509
+ groupName: 'string',
40510
+ pageNumber: 'number',
40511
+ pageSize: 'number',
40512
+ pluginId: 'string',
40513
+ securityToken: 'string',
40514
+ };
40515
+ }
40516
+
40517
+ validate() {
40518
+ super.validate();
40519
+ }
40520
+
40521
+ constructor(map?: { [key: string]: any }) {
40522
+ super(map);
40523
+ }
40524
+ }
40525
+
40526
+ export class DescribePluginGroupsResponseBody extends $dara.Model {
40527
+ /**
40528
+ * @remarks
40529
+ * Collection of group information
40530
+ */
40531
+ groupSummarys?: DescribePluginGroupsResponseBodyGroupSummarys;
40532
+ /**
40533
+ * @remarks
40534
+ * Pagination parameter: current page number
40535
+ *
40536
+ * @example
40537
+ * 1
40538
+ */
40539
+ pageNumber?: number;
40540
+ /**
40541
+ * @remarks
40542
+ * Pagination parameter: number of items per page, default value 10
40543
+ *
40544
+ * @example
40545
+ * 10
40546
+ */
40547
+ pageSize?: number;
40548
+ /**
40549
+ * @remarks
40550
+ * Request ID
40551
+ *
40552
+ * @example
40553
+ * 765BC99E-F583-5A80-9A42-42AC125C2CDC
40554
+ */
40555
+ requestId?: string;
40556
+ /**
40557
+ * @remarks
40558
+ * Total number of returned results
40559
+ *
40560
+ * @example
40561
+ * 20
40562
+ */
40563
+ totalCount?: number;
40564
+ static names(): { [key: string]: string } {
40565
+ return {
40566
+ groupSummarys: 'GroupSummarys',
40567
+ pageNumber: 'PageNumber',
40568
+ pageSize: 'PageSize',
40569
+ requestId: 'RequestId',
40570
+ totalCount: 'TotalCount',
40571
+ };
40572
+ }
40573
+
40574
+ static types(): { [key: string]: any } {
40575
+ return {
40576
+ groupSummarys: DescribePluginGroupsResponseBodyGroupSummarys,
40577
+ pageNumber: 'number',
40578
+ pageSize: 'number',
40579
+ requestId: 'string',
40580
+ totalCount: 'number',
40581
+ };
40582
+ }
40583
+
40584
+ validate() {
40585
+ if(this.groupSummarys && typeof (this.groupSummarys as any).validate === 'function') {
40586
+ (this.groupSummarys as any).validate();
40587
+ }
40588
+ super.validate();
40589
+ }
40590
+
40591
+ constructor(map?: { [key: string]: any }) {
40592
+ super(map);
40593
+ }
40594
+ }
40595
+
40596
+ export class DescribePluginGroupsResponse extends $dara.Model {
40597
+ headers?: { [key: string]: string };
40598
+ statusCode?: number;
40599
+ body?: DescribePluginGroupsResponseBody;
40600
+ static names(): { [key: string]: string } {
40601
+ return {
40602
+ headers: 'headers',
40603
+ statusCode: 'statusCode',
40604
+ body: 'body',
40605
+ };
40606
+ }
40607
+
40608
+ static types(): { [key: string]: any } {
40609
+ return {
40610
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
40611
+ statusCode: 'number',
40612
+ body: DescribePluginGroupsResponseBody,
40613
+ };
40614
+ }
40615
+
40616
+ validate() {
40617
+ if(this.headers) {
40618
+ $dara.Model.validateMap(this.headers);
40619
+ }
40620
+ if(this.body && typeof (this.body as any).validate === 'function') {
40621
+ (this.body as any).validate();
40622
+ }
40623
+ super.validate();
40624
+ }
40625
+
40626
+ constructor(map?: { [key: string]: any }) {
40627
+ super(map);
40628
+ }
40629
+ }
40630
+
40067
40631
  export class DescribePluginSchemasRequest extends $dara.Model {
40068
40632
  /**
40069
40633
  * @example
@@ -40663,6 +41227,182 @@ export class DescribePluginsByApiResponse extends $dara.Model {
40663
41227
  }
40664
41228
  }
40665
41229
 
41230
+ export class DescribePluginsByGroupRequest extends $dara.Model {
41231
+ /**
41232
+ * @remarks
41233
+ * Group ID
41234
+ *
41235
+ * This parameter is required.
41236
+ *
41237
+ * @example
41238
+ * 08ae4aa0f95e4321849ee57f4e0b3077
41239
+ */
41240
+ groupId?: string;
41241
+ /**
41242
+ * @remarks
41243
+ * Pagination parameter: current page number
41244
+ *
41245
+ * @example
41246
+ * 1
41247
+ */
41248
+ pageNumber?: number;
41249
+ /**
41250
+ * @remarks
41251
+ * Pagination parameter: number of items per page.
41252
+ *
41253
+ * @example
41254
+ * 10
41255
+ */
41256
+ pageSize?: number;
41257
+ securityToken?: string;
41258
+ /**
41259
+ * @remarks
41260
+ * Specifies the environment of the API to operate on.
41261
+ *
41262
+ * - **RELEASE**: Production
41263
+ * - **PRE**: Pre-release
41264
+ * - **TEST**: Test
41265
+ *
41266
+ * This parameter is required.
41267
+ *
41268
+ * @example
41269
+ * RELEASE
41270
+ */
41271
+ stageName?: string;
41272
+ static names(): { [key: string]: string } {
41273
+ return {
41274
+ groupId: 'GroupId',
41275
+ pageNumber: 'PageNumber',
41276
+ pageSize: 'PageSize',
41277
+ securityToken: 'SecurityToken',
41278
+ stageName: 'StageName',
41279
+ };
41280
+ }
41281
+
41282
+ static types(): { [key: string]: any } {
41283
+ return {
41284
+ groupId: 'string',
41285
+ pageNumber: 'number',
41286
+ pageSize: 'number',
41287
+ securityToken: 'string',
41288
+ stageName: 'string',
41289
+ };
41290
+ }
41291
+
41292
+ validate() {
41293
+ super.validate();
41294
+ }
41295
+
41296
+ constructor(map?: { [key: string]: any }) {
41297
+ super(map);
41298
+ }
41299
+ }
41300
+
41301
+ export class DescribePluginsByGroupResponseBody extends $dara.Model {
41302
+ /**
41303
+ * @remarks
41304
+ * Pagination parameter: current page number
41305
+ *
41306
+ * @example
41307
+ * 1
41308
+ */
41309
+ pageNumber?: number;
41310
+ /**
41311
+ * @remarks
41312
+ * Pagination parameter: number of items per page.
41313
+ *
41314
+ * @example
41315
+ * 10
41316
+ */
41317
+ pageSize?: number;
41318
+ /**
41319
+ * @remarks
41320
+ * Returns information about the plugins
41321
+ */
41322
+ plugins?: DescribePluginsByGroupResponseBodyPlugins;
41323
+ /**
41324
+ * @remarks
41325
+ * Request ID
41326
+ *
41327
+ * @example
41328
+ * 5F5574BA-F22B-563D-841E-C817964F517F
41329
+ */
41330
+ requestId?: string;
41331
+ /**
41332
+ * @remarks
41333
+ * Total number of results returned
41334
+ *
41335
+ * @example
41336
+ * 32
41337
+ */
41338
+ totalCount?: number;
41339
+ static names(): { [key: string]: string } {
41340
+ return {
41341
+ pageNumber: 'PageNumber',
41342
+ pageSize: 'PageSize',
41343
+ plugins: 'Plugins',
41344
+ requestId: 'RequestId',
41345
+ totalCount: 'TotalCount',
41346
+ };
41347
+ }
41348
+
41349
+ static types(): { [key: string]: any } {
41350
+ return {
41351
+ pageNumber: 'number',
41352
+ pageSize: 'number',
41353
+ plugins: DescribePluginsByGroupResponseBodyPlugins,
41354
+ requestId: 'string',
41355
+ totalCount: 'number',
41356
+ };
41357
+ }
41358
+
41359
+ validate() {
41360
+ if(this.plugins && typeof (this.plugins as any).validate === 'function') {
41361
+ (this.plugins as any).validate();
41362
+ }
41363
+ super.validate();
41364
+ }
41365
+
41366
+ constructor(map?: { [key: string]: any }) {
41367
+ super(map);
41368
+ }
41369
+ }
41370
+
41371
+ export class DescribePluginsByGroupResponse extends $dara.Model {
41372
+ headers?: { [key: string]: string };
41373
+ statusCode?: number;
41374
+ body?: DescribePluginsByGroupResponseBody;
41375
+ static names(): { [key: string]: string } {
41376
+ return {
41377
+ headers: 'headers',
41378
+ statusCode: 'statusCode',
41379
+ body: 'body',
41380
+ };
41381
+ }
41382
+
41383
+ static types(): { [key: string]: any } {
41384
+ return {
41385
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
41386
+ statusCode: 'number',
41387
+ body: DescribePluginsByGroupResponseBody,
41388
+ };
41389
+ }
41390
+
41391
+ validate() {
41392
+ if(this.headers) {
41393
+ $dara.Model.validateMap(this.headers);
41394
+ }
41395
+ if(this.body && typeof (this.body as any).validate === 'function') {
41396
+ (this.body as any).validate();
41397
+ }
41398
+ super.validate();
41399
+ }
41400
+
41401
+ constructor(map?: { [key: string]: any }) {
41402
+ super(map);
41403
+ }
41404
+ }
41405
+
40666
41406
  export class DescribePurchasedApiGroupRequest extends $dara.Model {
40667
41407
  /**
40668
41408
  * @remarks
@@ -42844,6 +43584,134 @@ export class DetachApiProductResponse extends $dara.Model {
42844
43584
  }
42845
43585
  }
42846
43586
 
43587
+ export class DetachGroupPluginRequest extends $dara.Model {
43588
+ /**
43589
+ * @remarks
43590
+ * API group ID
43591
+ *
43592
+ * This parameter is required.
43593
+ *
43594
+ * @example
43595
+ * 0009db9c828549768a200320714b8930
43596
+ */
43597
+ groupId?: string;
43598
+ /**
43599
+ * @remarks
43600
+ * API Gateway plugin ID
43601
+ *
43602
+ * This parameter is required.
43603
+ *
43604
+ * @example
43605
+ * a96926e82f994915a8da40a119374537
43606
+ */
43607
+ pluginId?: string;
43608
+ securityToken?: string;
43609
+ /**
43610
+ * @remarks
43611
+ * Specify the environment of the API to operate on.
43612
+ *
43613
+ * - **RELEASE**: Production
43614
+ * - **PRE**: Pre-release
43615
+ * - **TEST**: Test
43616
+ *
43617
+ * This parameter is required.
43618
+ *
43619
+ * @example
43620
+ * RELEASE
43621
+ */
43622
+ stageName?: string;
43623
+ static names(): { [key: string]: string } {
43624
+ return {
43625
+ groupId: 'GroupId',
43626
+ pluginId: 'PluginId',
43627
+ securityToken: 'SecurityToken',
43628
+ stageName: 'StageName',
43629
+ };
43630
+ }
43631
+
43632
+ static types(): { [key: string]: any } {
43633
+ return {
43634
+ groupId: 'string',
43635
+ pluginId: 'string',
43636
+ securityToken: 'string',
43637
+ stageName: 'string',
43638
+ };
43639
+ }
43640
+
43641
+ validate() {
43642
+ super.validate();
43643
+ }
43644
+
43645
+ constructor(map?: { [key: string]: any }) {
43646
+ super(map);
43647
+ }
43648
+ }
43649
+
43650
+ export class DetachGroupPluginResponseBody extends $dara.Model {
43651
+ /**
43652
+ * @remarks
43653
+ * Request ID
43654
+ *
43655
+ * @example
43656
+ * 3707E6FA-749C-5352-B72A-ABE95D9DEA49
43657
+ */
43658
+ requestId?: string;
43659
+ static names(): { [key: string]: string } {
43660
+ return {
43661
+ requestId: 'RequestId',
43662
+ };
43663
+ }
43664
+
43665
+ static types(): { [key: string]: any } {
43666
+ return {
43667
+ requestId: 'string',
43668
+ };
43669
+ }
43670
+
43671
+ validate() {
43672
+ super.validate();
43673
+ }
43674
+
43675
+ constructor(map?: { [key: string]: any }) {
43676
+ super(map);
43677
+ }
43678
+ }
43679
+
43680
+ export class DetachGroupPluginResponse extends $dara.Model {
43681
+ headers?: { [key: string]: string };
43682
+ statusCode?: number;
43683
+ body?: DetachGroupPluginResponseBody;
43684
+ static names(): { [key: string]: string } {
43685
+ return {
43686
+ headers: 'headers',
43687
+ statusCode: 'statusCode',
43688
+ body: 'body',
43689
+ };
43690
+ }
43691
+
43692
+ static types(): { [key: string]: any } {
43693
+ return {
43694
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
43695
+ statusCode: 'number',
43696
+ body: DetachGroupPluginResponseBody,
43697
+ };
43698
+ }
43699
+
43700
+ validate() {
43701
+ if(this.headers) {
43702
+ $dara.Model.validateMap(this.headers);
43703
+ }
43704
+ if(this.body && typeof (this.body as any).validate === 'function') {
43705
+ (this.body as any).validate();
43706
+ }
43707
+ super.validate();
43708
+ }
43709
+
43710
+ constructor(map?: { [key: string]: any }) {
43711
+ super(map);
43712
+ }
43713
+ }
43714
+
42847
43715
  export class DetachPluginRequest extends $dara.Model {
42848
43716
  /**
42849
43717
  * @example
@@ -54626,6 +55494,65 @@ export default class Client extends OpenApi {
54626
55494
  return await this.attachApiProductWithOptions(request, runtime);
54627
55495
  }
54628
55496
 
55497
+ /**
55498
+ * Attach plugin to API group.
55499
+ *
55500
+ * @param request - AttachGroupPluginRequest
55501
+ * @param runtime - runtime options for this request RuntimeOptions
55502
+ * @returns AttachGroupPluginResponse
55503
+ */
55504
+ async attachGroupPluginWithOptions(request: AttachGroupPluginRequest, runtime: $dara.RuntimeOptions): Promise<AttachGroupPluginResponse> {
55505
+ request.validate();
55506
+ let query = { };
55507
+ if (!$dara.isNull(request.groupId)) {
55508
+ query["GroupId"] = request.groupId;
55509
+ }
55510
+
55511
+ if (!$dara.isNull(request.pluginId)) {
55512
+ query["PluginId"] = request.pluginId;
55513
+ }
55514
+
55515
+ if (!$dara.isNull(request.securityToken)) {
55516
+ query["SecurityToken"] = request.securityToken;
55517
+ }
55518
+
55519
+ if (!$dara.isNull(request.stageName)) {
55520
+ query["StageName"] = request.stageName;
55521
+ }
55522
+
55523
+ let req = new $OpenApiUtil.OpenApiRequest({
55524
+ query: OpenApiUtil.query(query),
55525
+ });
55526
+ let params = new $OpenApiUtil.Params({
55527
+ action: "AttachGroupPlugin",
55528
+ version: "2016-07-14",
55529
+ protocol: "HTTPS",
55530
+ pathname: "/",
55531
+ method: "POST",
55532
+ authType: "AK",
55533
+ style: "RPC",
55534
+ reqBodyType: "formData",
55535
+ bodyType: "json",
55536
+ });
55537
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
55538
+ return $dara.cast<AttachGroupPluginResponse>(await this.callApi(params, req, runtime), new AttachGroupPluginResponse({}));
55539
+ } else {
55540
+ return $dara.cast<AttachGroupPluginResponse>(await this.execute(params, req, runtime), new AttachGroupPluginResponse({}));
55541
+ }
55542
+
55543
+ }
55544
+
55545
+ /**
55546
+ * Attach plugin to API group.
55547
+ *
55548
+ * @param request - AttachGroupPluginRequest
55549
+ * @returns AttachGroupPluginResponse
55550
+ */
55551
+ async attachGroupPlugin(request: AttachGroupPluginRequest): Promise<AttachGroupPluginResponse> {
55552
+ let runtime = new $dara.RuntimeOptions({ });
55553
+ return await this.attachGroupPluginWithOptions(request, runtime);
55554
+ }
55555
+
54629
55556
  /**
54630
55557
  * Binds a plug-in to an API.
54631
55558
  *
@@ -62372,6 +63299,77 @@ export default class Client extends OpenApi {
62372
63299
  return await this.describePluginApisWithOptions(request, runtime);
62373
63300
  }
62374
63301
 
63302
+ /**
63303
+ * Query the list of groups bound to a plugin based on the plugin ID
63304
+ *
63305
+ * @param request - DescribePluginGroupsRequest
63306
+ * @param runtime - runtime options for this request RuntimeOptions
63307
+ * @returns DescribePluginGroupsResponse
63308
+ */
63309
+ async describePluginGroupsWithOptions(request: DescribePluginGroupsRequest, runtime: $dara.RuntimeOptions): Promise<DescribePluginGroupsResponse> {
63310
+ request.validate();
63311
+ let query = { };
63312
+ if (!$dara.isNull(request.description)) {
63313
+ query["Description"] = request.description;
63314
+ }
63315
+
63316
+ if (!$dara.isNull(request.groupId)) {
63317
+ query["GroupId"] = request.groupId;
63318
+ }
63319
+
63320
+ if (!$dara.isNull(request.groupName)) {
63321
+ query["GroupName"] = request.groupName;
63322
+ }
63323
+
63324
+ if (!$dara.isNull(request.pageNumber)) {
63325
+ query["PageNumber"] = request.pageNumber;
63326
+ }
63327
+
63328
+ if (!$dara.isNull(request.pageSize)) {
63329
+ query["PageSize"] = request.pageSize;
63330
+ }
63331
+
63332
+ if (!$dara.isNull(request.pluginId)) {
63333
+ query["PluginId"] = request.pluginId;
63334
+ }
63335
+
63336
+ if (!$dara.isNull(request.securityToken)) {
63337
+ query["SecurityToken"] = request.securityToken;
63338
+ }
63339
+
63340
+ let req = new $OpenApiUtil.OpenApiRequest({
63341
+ query: OpenApiUtil.query(query),
63342
+ });
63343
+ let params = new $OpenApiUtil.Params({
63344
+ action: "DescribePluginGroups",
63345
+ version: "2016-07-14",
63346
+ protocol: "HTTPS",
63347
+ pathname: "/",
63348
+ method: "POST",
63349
+ authType: "AK",
63350
+ style: "RPC",
63351
+ reqBodyType: "formData",
63352
+ bodyType: "json",
63353
+ });
63354
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
63355
+ return $dara.cast<DescribePluginGroupsResponse>(await this.callApi(params, req, runtime), new DescribePluginGroupsResponse({}));
63356
+ } else {
63357
+ return $dara.cast<DescribePluginGroupsResponse>(await this.execute(params, req, runtime), new DescribePluginGroupsResponse({}));
63358
+ }
63359
+
63360
+ }
63361
+
63362
+ /**
63363
+ * Query the list of groups bound to a plugin based on the plugin ID
63364
+ *
63365
+ * @param request - DescribePluginGroupsRequest
63366
+ * @returns DescribePluginGroupsResponse
63367
+ */
63368
+ async describePluginGroups(request: DescribePluginGroupsRequest): Promise<DescribePluginGroupsResponse> {
63369
+ let runtime = new $dara.RuntimeOptions({ });
63370
+ return await this.describePluginGroupsWithOptions(request, runtime);
63371
+ }
63372
+
62375
63373
  /**
62376
63374
  * 查询插件列表
62377
63375
  *
@@ -62636,6 +63634,69 @@ export default class Client extends OpenApi {
62636
63634
  return await this.describePluginsByApiWithOptions(request, runtime);
62637
63635
  }
62638
63636
 
63637
+ /**
63638
+ * Query Plugins Bound to API Group
63639
+ *
63640
+ * @param request - DescribePluginsByGroupRequest
63641
+ * @param runtime - runtime options for this request RuntimeOptions
63642
+ * @returns DescribePluginsByGroupResponse
63643
+ */
63644
+ async describePluginsByGroupWithOptions(request: DescribePluginsByGroupRequest, runtime: $dara.RuntimeOptions): Promise<DescribePluginsByGroupResponse> {
63645
+ request.validate();
63646
+ let query = { };
63647
+ if (!$dara.isNull(request.groupId)) {
63648
+ query["GroupId"] = request.groupId;
63649
+ }
63650
+
63651
+ if (!$dara.isNull(request.pageNumber)) {
63652
+ query["PageNumber"] = request.pageNumber;
63653
+ }
63654
+
63655
+ if (!$dara.isNull(request.pageSize)) {
63656
+ query["PageSize"] = request.pageSize;
63657
+ }
63658
+
63659
+ if (!$dara.isNull(request.securityToken)) {
63660
+ query["SecurityToken"] = request.securityToken;
63661
+ }
63662
+
63663
+ if (!$dara.isNull(request.stageName)) {
63664
+ query["StageName"] = request.stageName;
63665
+ }
63666
+
63667
+ let req = new $OpenApiUtil.OpenApiRequest({
63668
+ query: OpenApiUtil.query(query),
63669
+ });
63670
+ let params = new $OpenApiUtil.Params({
63671
+ action: "DescribePluginsByGroup",
63672
+ version: "2016-07-14",
63673
+ protocol: "HTTPS",
63674
+ pathname: "/",
63675
+ method: "POST",
63676
+ authType: "AK",
63677
+ style: "RPC",
63678
+ reqBodyType: "formData",
63679
+ bodyType: "json",
63680
+ });
63681
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
63682
+ return $dara.cast<DescribePluginsByGroupResponse>(await this.callApi(params, req, runtime), new DescribePluginsByGroupResponse({}));
63683
+ } else {
63684
+ return $dara.cast<DescribePluginsByGroupResponse>(await this.execute(params, req, runtime), new DescribePluginsByGroupResponse({}));
63685
+ }
63686
+
63687
+ }
63688
+
63689
+ /**
63690
+ * Query Plugins Bound to API Group
63691
+ *
63692
+ * @param request - DescribePluginsByGroupRequest
63693
+ * @returns DescribePluginsByGroupResponse
63694
+ */
63695
+ async describePluginsByGroup(request: DescribePluginsByGroupRequest): Promise<DescribePluginsByGroupResponse> {
63696
+ let runtime = new $dara.RuntimeOptions({ });
63697
+ return await this.describePluginsByGroupWithOptions(request, runtime);
63698
+ }
63699
+
62639
63700
  /**
62640
63701
  * Queries the details about an API group purchased from Alibaba Cloud Marketplace.
62641
63702
  *
@@ -63555,6 +64616,65 @@ export default class Client extends OpenApi {
63555
64616
  return await this.detachApiProductWithOptions(request, runtime);
63556
64617
  }
63557
64618
 
64619
+ /**
64620
+ * Unbind group plugin
64621
+ *
64622
+ * @param request - DetachGroupPluginRequest
64623
+ * @param runtime - runtime options for this request RuntimeOptions
64624
+ * @returns DetachGroupPluginResponse
64625
+ */
64626
+ async detachGroupPluginWithOptions(request: DetachGroupPluginRequest, runtime: $dara.RuntimeOptions): Promise<DetachGroupPluginResponse> {
64627
+ request.validate();
64628
+ let query = { };
64629
+ if (!$dara.isNull(request.groupId)) {
64630
+ query["GroupId"] = request.groupId;
64631
+ }
64632
+
64633
+ if (!$dara.isNull(request.pluginId)) {
64634
+ query["PluginId"] = request.pluginId;
64635
+ }
64636
+
64637
+ if (!$dara.isNull(request.securityToken)) {
64638
+ query["SecurityToken"] = request.securityToken;
64639
+ }
64640
+
64641
+ if (!$dara.isNull(request.stageName)) {
64642
+ query["StageName"] = request.stageName;
64643
+ }
64644
+
64645
+ let req = new $OpenApiUtil.OpenApiRequest({
64646
+ query: OpenApiUtil.query(query),
64647
+ });
64648
+ let params = new $OpenApiUtil.Params({
64649
+ action: "DetachGroupPlugin",
64650
+ version: "2016-07-14",
64651
+ protocol: "HTTPS",
64652
+ pathname: "/",
64653
+ method: "POST",
64654
+ authType: "AK",
64655
+ style: "RPC",
64656
+ reqBodyType: "formData",
64657
+ bodyType: "json",
64658
+ });
64659
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
64660
+ return $dara.cast<DetachGroupPluginResponse>(await this.callApi(params, req, runtime), new DetachGroupPluginResponse({}));
64661
+ } else {
64662
+ return $dara.cast<DetachGroupPluginResponse>(await this.execute(params, req, runtime), new DetachGroupPluginResponse({}));
64663
+ }
64664
+
64665
+ }
64666
+
64667
+ /**
64668
+ * Unbind group plugin
64669
+ *
64670
+ * @param request - DetachGroupPluginRequest
64671
+ * @returns DetachGroupPluginResponse
64672
+ */
64673
+ async detachGroupPlugin(request: DetachGroupPluginRequest): Promise<DetachGroupPluginResponse> {
64674
+ let runtime = new $dara.RuntimeOptions({ });
64675
+ return await this.detachGroupPluginWithOptions(request, runtime);
64676
+ }
64677
+
63558
64678
  /**
63559
64679
  * 解绑插件
63560
64680
  *