@alicloud/cloudapi20160714 4.6.1 → 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
@@ -2025,6 +2025,15 @@ export class DescribeApiResponseBodyServiceConfigFunctionComputeConfig extends $
2025
2025
  * fcservicename
2026
2026
  */
2027
2027
  serviceName?: string;
2028
+ /**
2029
+ * @remarks
2030
+ * The name of the trigger.
2031
+ *
2032
+ * You can specify the TriggerName or TriggerUrl parameter. The TriggerName parameter is optional.
2033
+ *
2034
+ * @example
2035
+ * test1
2036
+ */
2028
2037
  triggerName?: string;
2029
2038
  static names(): { [key: string]: string } {
2030
2039
  return {
@@ -9256,6 +9265,15 @@ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfi
9256
9265
  * myservice
9257
9266
  */
9258
9267
  serviceName?: string;
9268
+ /**
9269
+ * @remarks
9270
+ * The name of the trigger.
9271
+ *
9272
+ * You can specify the TriggerName or TriggerUrl parameter. The TriggerName parameter is optional.
9273
+ *
9274
+ * @example
9275
+ * test1
9276
+ */
9259
9277
  triggerName?: string;
9260
9278
  static names(): { [key: string]: string } {
9261
9279
  return {
@@ -15355,6 +15373,126 @@ export class DescribePluginApisResponseBodyApiSummarys extends $dara.Model {
15355
15373
  }
15356
15374
  }
15357
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
+
15358
15496
  export class DescribePluginSchemasResponseBodyPluginSchemasPluginSchema extends $dara.Model {
15359
15497
  /**
15360
15498
  * @example
@@ -15904,6 +16042,132 @@ export class DescribePluginsByApiResponseBodyPlugins extends $dara.Model {
15904
16042
  }
15905
16043
  }
15906
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
+
15907
16171
  export class DescribePurchasedApiGroupResponseBodyDomainsDomainItem extends $dara.Model {
15908
16172
  /**
15909
16173
  * @remarks
@@ -20568,29 +20832,15 @@ export class AttachApiProductResponse extends $dara.Model {
20568
20832
  }
20569
20833
  }
20570
20834
 
20571
- export class AttachPluginRequest extends $dara.Model {
20572
- /**
20573
- * @remarks
20574
- * The number of the API to be bound.
20575
- *
20576
- * @example
20577
- * 8afff6c8c4c6447abb035812e4d66b65
20578
- */
20579
- apiId?: string;
20835
+ export class AttachGroupPluginRequest extends $dara.Model {
20580
20836
  /**
20581
20837
  * @remarks
20582
- * The number of the API to be operated. Separate multiple numbers with commas (,). A maximum of 100 numbers can be entered.
20838
+ * The ID of the API group.
20583
20839
  *
20584
- * @example
20585
- * xxx
20586
- */
20587
- apiIds?: string;
20588
- /**
20589
- * @remarks
20590
- * The ID of the API group that contains the API to which the plug-in is to be bound.
20840
+ * This parameter is required.
20591
20841
  *
20592
20842
  * @example
20593
- * 285bb759342649a1b70c2093a772e087
20843
+ * 08ae4aa0f95e4321849ee57f4e0b3077
20594
20844
  */
20595
20845
  groupId?: string;
20596
20846
  /**
@@ -20600,28 +20850,26 @@ export class AttachPluginRequest extends $dara.Model {
20600
20850
  * This parameter is required.
20601
20851
  *
20602
20852
  * @example
20603
- * 9a3f1a5279434f2ba74ccd91c295af9f
20853
+ * 05df2b52a3644a3a8b1935ab8ab59e9d
20604
20854
  */
20605
20855
  pluginId?: string;
20606
20856
  securityToken?: string;
20607
20857
  /**
20608
20858
  * @remarks
20609
- * The name of the runtime environment. Valid values:
20859
+ * The environment in which the API is requested. Valid values:
20610
20860
  *
20611
- * * **RELEASE**
20612
- * * **PRE: the pre-release environment**
20613
- * * **TEST**
20861
+ * * **RELEASE**: the production environment
20862
+ * * **PRE**: the pre-release environment
20863
+ * * **TEST**: the test environment
20614
20864
  *
20615
20865
  * This parameter is required.
20616
20866
  *
20617
20867
  * @example
20618
- * TEST
20868
+ * RELEASE
20619
20869
  */
20620
20870
  stageName?: string;
20621
20871
  static names(): { [key: string]: string } {
20622
20872
  return {
20623
- apiId: 'ApiId',
20624
- apiIds: 'ApiIds',
20625
20873
  groupId: 'GroupId',
20626
20874
  pluginId: 'PluginId',
20627
20875
  securityToken: 'SecurityToken',
@@ -20631,8 +20879,6 @@ export class AttachPluginRequest extends $dara.Model {
20631
20879
 
20632
20880
  static types(): { [key: string]: any } {
20633
20881
  return {
20634
- apiId: 'string',
20635
- apiIds: 'string',
20636
20882
  groupId: 'string',
20637
20883
  pluginId: 'string',
20638
20884
  securityToken: 'string',
@@ -20649,13 +20895,159 @@ export class AttachPluginRequest extends $dara.Model {
20649
20895
  }
20650
20896
  }
20651
20897
 
20652
- export class AttachPluginResponseBody extends $dara.Model {
20898
+ export class AttachGroupPluginResponseBody extends $dara.Model {
20653
20899
  /**
20654
20900
  * @remarks
20655
- * The ID of the request.
20901
+ * The request ID.
20656
20902
  *
20657
20903
  * @example
20658
- * EF924FE4-2EDD-4CD3-89EC-34E4708574E7
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
+
20963
+ export class AttachPluginRequest extends $dara.Model {
20964
+ /**
20965
+ * @remarks
20966
+ * The number of the API to be bound.
20967
+ *
20968
+ * @example
20969
+ * 8afff6c8c4c6447abb035812e4d66b65
20970
+ */
20971
+ apiId?: string;
20972
+ /**
20973
+ * @remarks
20974
+ * The number of the API to be operated. Separate multiple numbers with commas (,). A maximum of 100 numbers can be entered.
20975
+ *
20976
+ * @example
20977
+ * xxx
20978
+ */
20979
+ apiIds?: string;
20980
+ /**
20981
+ * @remarks
20982
+ * The ID of the API group that contains the API to which the plug-in is to be bound.
20983
+ *
20984
+ * @example
20985
+ * 285bb759342649a1b70c2093a772e087
20986
+ */
20987
+ groupId?: string;
20988
+ /**
20989
+ * @remarks
20990
+ * The ID of the plug-in to be bound.
20991
+ *
20992
+ * This parameter is required.
20993
+ *
20994
+ * @example
20995
+ * 9a3f1a5279434f2ba74ccd91c295af9f
20996
+ */
20997
+ pluginId?: string;
20998
+ securityToken?: string;
20999
+ /**
21000
+ * @remarks
21001
+ * The name of the runtime environment. Valid values:
21002
+ *
21003
+ * * **RELEASE**
21004
+ * * **PRE: the pre-release environment**
21005
+ * * **TEST**
21006
+ *
21007
+ * This parameter is required.
21008
+ *
21009
+ * @example
21010
+ * TEST
21011
+ */
21012
+ stageName?: string;
21013
+ static names(): { [key: string]: string } {
21014
+ return {
21015
+ apiId: 'ApiId',
21016
+ apiIds: 'ApiIds',
21017
+ groupId: 'GroupId',
21018
+ pluginId: 'PluginId',
21019
+ securityToken: 'SecurityToken',
21020
+ stageName: 'StageName',
21021
+ };
21022
+ }
21023
+
21024
+ static types(): { [key: string]: any } {
21025
+ return {
21026
+ apiId: 'string',
21027
+ apiIds: 'string',
21028
+ groupId: 'string',
21029
+ pluginId: 'string',
21030
+ securityToken: 'string',
21031
+ stageName: 'string',
21032
+ };
21033
+ }
21034
+
21035
+ validate() {
21036
+ super.validate();
21037
+ }
21038
+
21039
+ constructor(map?: { [key: string]: any }) {
21040
+ super(map);
21041
+ }
21042
+ }
21043
+
21044
+ export class AttachPluginResponseBody extends $dara.Model {
21045
+ /**
21046
+ * @remarks
21047
+ * The ID of the request.
21048
+ *
21049
+ * @example
21050
+ * EF924FE4-2EDD-4CD3-89EC-34E4708574E7
20659
21051
  */
20660
21052
  requestId?: string;
20661
21053
  static names(): { [key: string]: string } {
@@ -29151,6 +29543,13 @@ export class DescribeApiGroupVpcWhitelistResponse extends $dara.Model {
29151
29543
  }
29152
29544
 
29153
29545
  export class DescribeApiGroupsRequest extends $dara.Model {
29546
+ /**
29547
+ * @remarks
29548
+ * The root path of the API.
29549
+ *
29550
+ * @example
29551
+ * /edmdgp/service20250116management01/v1
29552
+ */
29154
29553
  basePath?: string;
29155
29554
  /**
29156
29555
  * @remarks
@@ -40039,6 +40438,196 @@ export class DescribePluginApisResponse extends $dara.Model {
40039
40438
  }
40040
40439
  }
40041
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
+
40042
40631
  export class DescribePluginSchemasRequest extends $dara.Model {
40043
40632
  /**
40044
40633
  * @example
@@ -40638,6 +41227,182 @@ export class DescribePluginsByApiResponse extends $dara.Model {
40638
41227
  }
40639
41228
  }
40640
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
+
40641
41406
  export class DescribePurchasedApiGroupRequest extends $dara.Model {
40642
41407
  /**
40643
41408
  * @remarks
@@ -42819,6 +43584,134 @@ export class DetachApiProductResponse extends $dara.Model {
42819
43584
  }
42820
43585
  }
42821
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
+
42822
43715
  export class DetachPluginRequest extends $dara.Model {
42823
43716
  /**
42824
43717
  * @example
@@ -44577,6 +45470,8 @@ export class ListPrivateDNSRequest extends $dara.Model {
44577
45470
  * api.demo.com
44578
45471
  */
44579
45472
  intranetDomain?: string;
45473
+ pageNumber?: number;
45474
+ pageSize?: number;
44580
45475
  securityToken?: string;
44581
45476
  /**
44582
45477
  * @remarks
@@ -44592,6 +45487,8 @@ export class ListPrivateDNSRequest extends $dara.Model {
44592
45487
  static names(): { [key: string]: string } {
44593
45488
  return {
44594
45489
  intranetDomain: 'IntranetDomain',
45490
+ pageNumber: 'PageNumber',
45491
+ pageSize: 'PageSize',
44595
45492
  securityToken: 'SecurityToken',
44596
45493
  type: 'Type',
44597
45494
  };
@@ -44600,6 +45497,8 @@ export class ListPrivateDNSRequest extends $dara.Model {
44600
45497
  static types(): { [key: string]: any } {
44601
45498
  return {
44602
45499
  intranetDomain: 'string',
45500
+ pageNumber: 'number',
45501
+ pageSize: 'number',
44603
45502
  securityToken: 'string',
44604
45503
  type: 'string',
44605
45504
  };
@@ -54595,6 +55494,65 @@ export default class Client extends OpenApi {
54595
55494
  return await this.attachApiProductWithOptions(request, runtime);
54596
55495
  }
54597
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
+
54598
55556
  /**
54599
55557
  * Binds a plug-in to an API.
54600
55558
  *
@@ -62341,6 +63299,77 @@ export default class Client extends OpenApi {
62341
63299
  return await this.describePluginApisWithOptions(request, runtime);
62342
63300
  }
62343
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
+
62344
63373
  /**
62345
63374
  * 查询插件列表
62346
63375
  *
@@ -62605,6 +63634,69 @@ export default class Client extends OpenApi {
62605
63634
  return await this.describePluginsByApiWithOptions(request, runtime);
62606
63635
  }
62607
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
+
62608
63700
  /**
62609
63701
  * Queries the details about an API group purchased from Alibaba Cloud Marketplace.
62610
63702
  *
@@ -63524,6 +64616,65 @@ export default class Client extends OpenApi {
63524
64616
  return await this.detachApiProductWithOptions(request, runtime);
63525
64617
  }
63526
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
+
63527
64678
  /**
63528
64679
  * 解绑插件
63529
64680
  *
@@ -64114,6 +65265,14 @@ export default class Client extends OpenApi {
64114
65265
  query["IntranetDomain"] = request.intranetDomain;
64115
65266
  }
64116
65267
 
65268
+ if (!$dara.isNull(request.pageNumber)) {
65269
+ query["PageNumber"] = request.pageNumber;
65270
+ }
65271
+
65272
+ if (!$dara.isNull(request.pageSize)) {
65273
+ query["PageSize"] = request.pageSize;
65274
+ }
65275
+
64117
65276
  if (!$dara.isNull(request.securityToken)) {
64118
65277
  query["SecurityToken"] = request.securityToken;
64119
65278
  }