@alicloud/cloudapi20160714 3.1.1 → 3.2.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 CHANGED
@@ -4349,6 +4349,51 @@ export declare class DescribeDomainResponse extends $tea.Model {
4349
4349
  [key: string]: any;
4350
4350
  });
4351
4351
  }
4352
+ export declare class DescribeGroupLatencyRequest extends $tea.Model {
4353
+ endTime?: string;
4354
+ groupId?: string;
4355
+ securityToken?: string;
4356
+ stageName?: string;
4357
+ startTime?: string;
4358
+ static names(): {
4359
+ [key: string]: string;
4360
+ };
4361
+ static types(): {
4362
+ [key: string]: any;
4363
+ };
4364
+ constructor(map?: {
4365
+ [key: string]: any;
4366
+ });
4367
+ }
4368
+ export declare class DescribeGroupLatencyResponseBody extends $tea.Model {
4369
+ latencyPacket?: DescribeGroupLatencyResponseBodyLatencyPacket;
4370
+ requestId?: string;
4371
+ static names(): {
4372
+ [key: string]: string;
4373
+ };
4374
+ static types(): {
4375
+ [key: string]: any;
4376
+ };
4377
+ constructor(map?: {
4378
+ [key: string]: any;
4379
+ });
4380
+ }
4381
+ export declare class DescribeGroupLatencyResponse extends $tea.Model {
4382
+ headers: {
4383
+ [key: string]: string;
4384
+ };
4385
+ statusCode: number;
4386
+ body: DescribeGroupLatencyResponseBody;
4387
+ static names(): {
4388
+ [key: string]: string;
4389
+ };
4390
+ static types(): {
4391
+ [key: string]: any;
4392
+ };
4393
+ constructor(map?: {
4394
+ [key: string]: any;
4395
+ });
4396
+ }
4352
4397
  export declare class DescribeGroupQpsRequest extends $tea.Model {
4353
4398
  endTime?: string;
4354
4399
  groupId?: string;
@@ -4394,6 +4439,51 @@ export declare class DescribeGroupQpsResponse extends $tea.Model {
4394
4439
  [key: string]: any;
4395
4440
  });
4396
4441
  }
4442
+ export declare class DescribeGroupTrafficRequest extends $tea.Model {
4443
+ endTime?: string;
4444
+ groupId?: string;
4445
+ securityToken?: string;
4446
+ stageName?: string;
4447
+ startTime?: string;
4448
+ static names(): {
4449
+ [key: string]: string;
4450
+ };
4451
+ static types(): {
4452
+ [key: string]: any;
4453
+ };
4454
+ constructor(map?: {
4455
+ [key: string]: any;
4456
+ });
4457
+ }
4458
+ export declare class DescribeGroupTrafficResponseBody extends $tea.Model {
4459
+ requestId?: string;
4460
+ trafficPerSecond?: DescribeGroupTrafficResponseBodyTrafficPerSecond;
4461
+ static names(): {
4462
+ [key: string]: string;
4463
+ };
4464
+ static types(): {
4465
+ [key: string]: any;
4466
+ };
4467
+ constructor(map?: {
4468
+ [key: string]: any;
4469
+ });
4470
+ }
4471
+ export declare class DescribeGroupTrafficResponse extends $tea.Model {
4472
+ headers: {
4473
+ [key: string]: string;
4474
+ };
4475
+ statusCode: number;
4476
+ body: DescribeGroupTrafficResponseBody;
4477
+ static names(): {
4478
+ [key: string]: string;
4479
+ };
4480
+ static types(): {
4481
+ [key: string]: any;
4482
+ };
4483
+ constructor(map?: {
4484
+ [key: string]: any;
4485
+ });
4486
+ }
4397
4487
  export declare class DescribeHistoryApisRequest extends $tea.Model {
4398
4488
  apiId?: string;
4399
4489
  apiName?: string;
@@ -11701,6 +11791,32 @@ export declare class DescribeDeployedApisResponseBodyDeployedApis extends $tea.M
11701
11791
  [key: string]: any;
11702
11792
  });
11703
11793
  }
11794
+ export declare class DescribeGroupLatencyResponseBodyLatencyPacketMonitorItem extends $tea.Model {
11795
+ item?: string;
11796
+ itemTime?: string;
11797
+ itemValue?: string;
11798
+ static names(): {
11799
+ [key: string]: string;
11800
+ };
11801
+ static types(): {
11802
+ [key: string]: any;
11803
+ };
11804
+ constructor(map?: {
11805
+ [key: string]: any;
11806
+ });
11807
+ }
11808
+ export declare class DescribeGroupLatencyResponseBodyLatencyPacket extends $tea.Model {
11809
+ monitorItem?: DescribeGroupLatencyResponseBodyLatencyPacketMonitorItem[];
11810
+ static names(): {
11811
+ [key: string]: string;
11812
+ };
11813
+ static types(): {
11814
+ [key: string]: any;
11815
+ };
11816
+ constructor(map?: {
11817
+ [key: string]: any;
11818
+ });
11819
+ }
11704
11820
  export declare class DescribeGroupQpsResponseBodyGroupQpsMonitorItem extends $tea.Model {
11705
11821
  itemTime?: string;
11706
11822
  itemValue?: string;
@@ -11726,6 +11842,32 @@ export declare class DescribeGroupQpsResponseBodyGroupQps extends $tea.Model {
11726
11842
  [key: string]: any;
11727
11843
  });
11728
11844
  }
11845
+ export declare class DescribeGroupTrafficResponseBodyTrafficPerSecondMonitorItem extends $tea.Model {
11846
+ item?: string;
11847
+ itemTime?: string;
11848
+ itemValue?: string;
11849
+ static names(): {
11850
+ [key: string]: string;
11851
+ };
11852
+ static types(): {
11853
+ [key: string]: any;
11854
+ };
11855
+ constructor(map?: {
11856
+ [key: string]: any;
11857
+ });
11858
+ }
11859
+ export declare class DescribeGroupTrafficResponseBodyTrafficPerSecond extends $tea.Model {
11860
+ monitorItem?: DescribeGroupTrafficResponseBodyTrafficPerSecondMonitorItem[];
11861
+ static names(): {
11862
+ [key: string]: string;
11863
+ };
11864
+ static types(): {
11865
+ [key: string]: any;
11866
+ };
11867
+ constructor(map?: {
11868
+ [key: string]: any;
11869
+ });
11870
+ }
11729
11871
  export declare class DescribeHistoryApisResponseBodyApiHisItemsApiHisItem extends $tea.Model {
11730
11872
  apiId?: string;
11731
11873
  apiName?: string;
@@ -14376,8 +14518,12 @@ export default class Client extends OpenApi {
14376
14518
  describeDeployedApis(request: DescribeDeployedApisRequest): Promise<DescribeDeployedApisResponse>;
14377
14519
  describeDomainWithOptions(request: DescribeDomainRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainResponse>;
14378
14520
  describeDomain(request: DescribeDomainRequest): Promise<DescribeDomainResponse>;
14521
+ describeGroupLatencyWithOptions(request: DescribeGroupLatencyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupLatencyResponse>;
14522
+ describeGroupLatency(request: DescribeGroupLatencyRequest): Promise<DescribeGroupLatencyResponse>;
14379
14523
  describeGroupQpsWithOptions(request: DescribeGroupQpsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupQpsResponse>;
14380
14524
  describeGroupQps(request: DescribeGroupQpsRequest): Promise<DescribeGroupQpsResponse>;
14525
+ describeGroupTrafficWithOptions(request: DescribeGroupTrafficRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupTrafficResponse>;
14526
+ describeGroupTraffic(request: DescribeGroupTrafficRequest): Promise<DescribeGroupTrafficResponse>;
14381
14527
  describeHistoryApisWithOptions(request: DescribeHistoryApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHistoryApisResponse>;
14382
14528
  describeHistoryApis(request: DescribeHistoryApisRequest): Promise<DescribeHistoryApisResponse>;
14383
14529
  describeImportOASTaskWithOptions(request: DescribeImportOASTaskRequest, runtime: $Util.RuntimeOptions): Promise<DescribeImportOASTaskResponse>;
package/dist/client.js CHANGED
@@ -6133,6 +6133,68 @@ class DescribeDomainResponse extends $tea.Model {
6133
6133
  }
6134
6134
  }
6135
6135
  exports.DescribeDomainResponse = DescribeDomainResponse;
6136
+ class DescribeGroupLatencyRequest extends $tea.Model {
6137
+ constructor(map) {
6138
+ super(map);
6139
+ }
6140
+ static names() {
6141
+ return {
6142
+ endTime: 'EndTime',
6143
+ groupId: 'GroupId',
6144
+ securityToken: 'SecurityToken',
6145
+ stageName: 'StageName',
6146
+ startTime: 'StartTime',
6147
+ };
6148
+ }
6149
+ static types() {
6150
+ return {
6151
+ endTime: 'string',
6152
+ groupId: 'string',
6153
+ securityToken: 'string',
6154
+ stageName: 'string',
6155
+ startTime: 'string',
6156
+ };
6157
+ }
6158
+ }
6159
+ exports.DescribeGroupLatencyRequest = DescribeGroupLatencyRequest;
6160
+ class DescribeGroupLatencyResponseBody extends $tea.Model {
6161
+ constructor(map) {
6162
+ super(map);
6163
+ }
6164
+ static names() {
6165
+ return {
6166
+ latencyPacket: 'LatencyPacket',
6167
+ requestId: 'RequestId',
6168
+ };
6169
+ }
6170
+ static types() {
6171
+ return {
6172
+ latencyPacket: DescribeGroupLatencyResponseBodyLatencyPacket,
6173
+ requestId: 'string',
6174
+ };
6175
+ }
6176
+ }
6177
+ exports.DescribeGroupLatencyResponseBody = DescribeGroupLatencyResponseBody;
6178
+ class DescribeGroupLatencyResponse extends $tea.Model {
6179
+ constructor(map) {
6180
+ super(map);
6181
+ }
6182
+ static names() {
6183
+ return {
6184
+ headers: 'headers',
6185
+ statusCode: 'statusCode',
6186
+ body: 'body',
6187
+ };
6188
+ }
6189
+ static types() {
6190
+ return {
6191
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6192
+ statusCode: 'number',
6193
+ body: DescribeGroupLatencyResponseBody,
6194
+ };
6195
+ }
6196
+ }
6197
+ exports.DescribeGroupLatencyResponse = DescribeGroupLatencyResponse;
6136
6198
  class DescribeGroupQpsRequest extends $tea.Model {
6137
6199
  constructor(map) {
6138
6200
  super(map);
@@ -6195,6 +6257,68 @@ class DescribeGroupQpsResponse extends $tea.Model {
6195
6257
  }
6196
6258
  }
6197
6259
  exports.DescribeGroupQpsResponse = DescribeGroupQpsResponse;
6260
+ class DescribeGroupTrafficRequest extends $tea.Model {
6261
+ constructor(map) {
6262
+ super(map);
6263
+ }
6264
+ static names() {
6265
+ return {
6266
+ endTime: 'EndTime',
6267
+ groupId: 'GroupId',
6268
+ securityToken: 'SecurityToken',
6269
+ stageName: 'StageName',
6270
+ startTime: 'StartTime',
6271
+ };
6272
+ }
6273
+ static types() {
6274
+ return {
6275
+ endTime: 'string',
6276
+ groupId: 'string',
6277
+ securityToken: 'string',
6278
+ stageName: 'string',
6279
+ startTime: 'string',
6280
+ };
6281
+ }
6282
+ }
6283
+ exports.DescribeGroupTrafficRequest = DescribeGroupTrafficRequest;
6284
+ class DescribeGroupTrafficResponseBody extends $tea.Model {
6285
+ constructor(map) {
6286
+ super(map);
6287
+ }
6288
+ static names() {
6289
+ return {
6290
+ requestId: 'RequestId',
6291
+ trafficPerSecond: 'TrafficPerSecond',
6292
+ };
6293
+ }
6294
+ static types() {
6295
+ return {
6296
+ requestId: 'string',
6297
+ trafficPerSecond: DescribeGroupTrafficResponseBodyTrafficPerSecond,
6298
+ };
6299
+ }
6300
+ }
6301
+ exports.DescribeGroupTrafficResponseBody = DescribeGroupTrafficResponseBody;
6302
+ class DescribeGroupTrafficResponse extends $tea.Model {
6303
+ constructor(map) {
6304
+ super(map);
6305
+ }
6306
+ static names() {
6307
+ return {
6308
+ headers: 'headers',
6309
+ statusCode: 'statusCode',
6310
+ body: 'body',
6311
+ };
6312
+ }
6313
+ static types() {
6314
+ return {
6315
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6316
+ statusCode: 'number',
6317
+ body: DescribeGroupTrafficResponseBody,
6318
+ };
6319
+ }
6320
+ }
6321
+ exports.DescribeGroupTrafficResponse = DescribeGroupTrafficResponse;
6198
6322
  class DescribeHistoryApisRequest extends $tea.Model {
6199
6323
  constructor(map) {
6200
6324
  super(map);
@@ -16549,6 +16673,42 @@ class DescribeDeployedApisResponseBodyDeployedApis extends $tea.Model {
16549
16673
  }
16550
16674
  }
16551
16675
  exports.DescribeDeployedApisResponseBodyDeployedApis = DescribeDeployedApisResponseBodyDeployedApis;
16676
+ class DescribeGroupLatencyResponseBodyLatencyPacketMonitorItem extends $tea.Model {
16677
+ constructor(map) {
16678
+ super(map);
16679
+ }
16680
+ static names() {
16681
+ return {
16682
+ item: 'Item',
16683
+ itemTime: 'ItemTime',
16684
+ itemValue: 'ItemValue',
16685
+ };
16686
+ }
16687
+ static types() {
16688
+ return {
16689
+ item: 'string',
16690
+ itemTime: 'string',
16691
+ itemValue: 'string',
16692
+ };
16693
+ }
16694
+ }
16695
+ exports.DescribeGroupLatencyResponseBodyLatencyPacketMonitorItem = DescribeGroupLatencyResponseBodyLatencyPacketMonitorItem;
16696
+ class DescribeGroupLatencyResponseBodyLatencyPacket extends $tea.Model {
16697
+ constructor(map) {
16698
+ super(map);
16699
+ }
16700
+ static names() {
16701
+ return {
16702
+ monitorItem: 'MonitorItem',
16703
+ };
16704
+ }
16705
+ static types() {
16706
+ return {
16707
+ monitorItem: { 'type': 'array', 'itemType': DescribeGroupLatencyResponseBodyLatencyPacketMonitorItem },
16708
+ };
16709
+ }
16710
+ }
16711
+ exports.DescribeGroupLatencyResponseBodyLatencyPacket = DescribeGroupLatencyResponseBodyLatencyPacket;
16552
16712
  class DescribeGroupQpsResponseBodyGroupQpsMonitorItem extends $tea.Model {
16553
16713
  constructor(map) {
16554
16714
  super(map);
@@ -16583,6 +16743,42 @@ class DescribeGroupQpsResponseBodyGroupQps extends $tea.Model {
16583
16743
  }
16584
16744
  }
16585
16745
  exports.DescribeGroupQpsResponseBodyGroupQps = DescribeGroupQpsResponseBodyGroupQps;
16746
+ class DescribeGroupTrafficResponseBodyTrafficPerSecondMonitorItem extends $tea.Model {
16747
+ constructor(map) {
16748
+ super(map);
16749
+ }
16750
+ static names() {
16751
+ return {
16752
+ item: 'Item',
16753
+ itemTime: 'ItemTime',
16754
+ itemValue: 'ItemValue',
16755
+ };
16756
+ }
16757
+ static types() {
16758
+ return {
16759
+ item: 'string',
16760
+ itemTime: 'string',
16761
+ itemValue: 'string',
16762
+ };
16763
+ }
16764
+ }
16765
+ exports.DescribeGroupTrafficResponseBodyTrafficPerSecondMonitorItem = DescribeGroupTrafficResponseBodyTrafficPerSecondMonitorItem;
16766
+ class DescribeGroupTrafficResponseBodyTrafficPerSecond extends $tea.Model {
16767
+ constructor(map) {
16768
+ super(map);
16769
+ }
16770
+ static names() {
16771
+ return {
16772
+ monitorItem: 'MonitorItem',
16773
+ };
16774
+ }
16775
+ static types() {
16776
+ return {
16777
+ monitorItem: { 'type': 'array', 'itemType': DescribeGroupTrafficResponseBodyTrafficPerSecondMonitorItem },
16778
+ };
16779
+ }
16780
+ }
16781
+ exports.DescribeGroupTrafficResponseBodyTrafficPerSecond = DescribeGroupTrafficResponseBodyTrafficPerSecond;
16586
16782
  class DescribeHistoryApisResponseBodyApiHisItemsApiHisItem extends $tea.Model {
16587
16783
  constructor(map) {
16588
16784
  super(map);
@@ -19082,28 +19278,66 @@ class Client extends openapi_client_1.default {
19082
19278
  this._endpointMap = {
19083
19279
  'cn-qingdao': "apigateway.cn-qingdao.aliyuncs.com",
19084
19280
  'cn-beijing': "apigateway.cn-beijing.aliyuncs.com",
19085
- 'cn-chengdu': "apigateway.cn-chengdu.aliyuncs.com",
19086
19281
  'cn-zhangjiakou': "apigateway.cn-zhangjiakou.aliyuncs.com",
19087
19282
  'cn-huhehaote': "apigateway.cn-huhehaote.aliyuncs.com",
19283
+ 'cn-wulanchabu': "apigateway.cn-wulanchabu.aliyuncs.com",
19088
19284
  'cn-hangzhou': "apigateway.cn-hangzhou.aliyuncs.com",
19089
19285
  'cn-shanghai': "apigateway.cn-shanghai.aliyuncs.com",
19090
19286
  'cn-shenzhen': "apigateway.cn-shenzhen.aliyuncs.com",
19287
+ 'cn-heyuan': "apigateway.cn-heyuan.aliyuncs.com",
19288
+ 'cn-guangzhou': "apigateway.cn-guangzhou.aliyuncs.com",
19289
+ 'cn-chengdu': "apigateway.cn-chengdu.aliyuncs.com",
19091
19290
  'cn-hongkong': "apigateway.cn-hongkong.aliyuncs.com",
19291
+ 'ap-northeast-1': "apigateway.ap-northeast-1.aliyuncs.com",
19092
19292
  'ap-southeast-1': "apigateway.ap-southeast-1.aliyuncs.com",
19093
19293
  'ap-southeast-2': "apigateway.ap-southeast-2.aliyuncs.com",
19094
19294
  'ap-southeast-3': "apigateway.ap-southeast-3.aliyuncs.com",
19095
19295
  'ap-southeast-5': "apigateway.ap-southeast-5.aliyuncs.com",
19096
- 'ap-northeast-1': "apigateway.ap-northeast-1.aliyuncs.com",
19097
- 'eu-west-1': "apigateway.eu-west-1.aliyuncs.com",
19098
- 'us-west-1': "apigateway.us-west-1.aliyuncs.com",
19296
+ 'ap-southeast-6': "apigateway.ap-southeast-6.aliyuncs.com",
19297
+ 'ap-southeast-7': "apigateway.ap-southeast-7.aliyuncs.com",
19099
19298
  'us-east-1': "apigateway.us-east-1.aliyuncs.com",
19299
+ 'us-west-1': "apigateway.us-west-1.aliyuncs.com",
19300
+ 'eu-west-1': "apigateway.eu-west-1.aliyuncs.com",
19100
19301
  'eu-central-1': "apigateway.eu-central-1.aliyuncs.com",
19101
- 'me-east-1': "apigateway.me-east-1.aliyuncs.com",
19102
19302
  'ap-south-1': "apigateway.ap-south-1.aliyuncs.com",
19303
+ 'me-east-1': "apigateway.me-east-1.aliyuncs.com",
19304
+ 'me-central-1': "apigateway.me-central-1.aliyuncs.com",
19305
+ 'cn-hangzhou-finance': "apigateway.cn-hangzhou-finance.aliyuncs.com",
19306
+ 'cn-shanghai-finance-1': "apigateway.cn-shanghai-finance-1.aliyuncs.com",
19307
+ 'cn-shenzhen-finance-1': "apigateway.cn-shenzhen-finance-1.aliyuncs.com",
19103
19308
  'cn-north-2-gov-1': "apigateway.cn-north-2-gov-1.aliyuncs.com",
19104
- 'cn-hangzhou-finance': "apigateway.aliyuncs.com",
19105
- 'cn-shenzhen-finance-1': "apigateway.aliyuncs.com",
19106
- 'cn-shanghai-finance-1': "apigateway.aliyuncs.com",
19309
+ 'ap-northeast-2-pop': "apigateway.aliyuncs.com",
19310
+ 'cn-beijing-finance-1': "apigateway.cn-beijing-finance-1.aliyuncs.com",
19311
+ 'cn-beijing-finance-pop': "apigateway.aliyuncs.com",
19312
+ 'cn-beijing-gov-1': "apigateway.aliyuncs.com",
19313
+ 'cn-beijing-nu16-b01': "apigateway.aliyuncs.com",
19314
+ 'cn-edge-1': "apigateway.aliyuncs.com",
19315
+ 'cn-fujian': "apigateway.aliyuncs.com",
19316
+ 'cn-haidian-cm12-c01': "apigateway.aliyuncs.com",
19317
+ 'cn-hangzhou-bj-b01': "apigateway.aliyuncs.com",
19318
+ 'cn-hangzhou-internal-prod-1': "apigateway.aliyuncs.com",
19319
+ 'cn-hangzhou-internal-test-1': "apigateway.aliyuncs.com",
19320
+ 'cn-hangzhou-internal-test-2': "apigateway.aliyuncs.com",
19321
+ 'cn-hangzhou-internal-test-3': "apigateway.aliyuncs.com",
19322
+ 'cn-hangzhou-test-306': "apigateway.aliyuncs.com",
19323
+ 'cn-hongkong-finance-pop': "apigateway.aliyuncs.com",
19324
+ 'cn-huhehaote-nebula-1': "apigateway.aliyuncs.com",
19325
+ 'cn-qingdao-nebula': "apigateway.aliyuncs.com",
19326
+ 'cn-shanghai-et15-b01': "apigateway.aliyuncs.com",
19327
+ 'cn-shanghai-et2-b01': "apigateway.aliyuncs.com",
19328
+ 'cn-shanghai-inner': "apigateway.cn-shanghai-inner.aliyuncs.com",
19329
+ 'cn-shanghai-internal-test-1': "apigateway.aliyuncs.com",
19330
+ 'cn-shenzhen-inner': "apigateway.aliyuncs.com",
19331
+ 'cn-shenzhen-st4-d01': "apigateway.aliyuncs.com",
19332
+ 'cn-shenzhen-su18-b01': "apigateway.aliyuncs.com",
19333
+ 'cn-wuhan': "apigateway.aliyuncs.com",
19334
+ 'cn-yushanfang': "apigateway.aliyuncs.com",
19335
+ 'cn-zhangbei': "apigateway.aliyuncs.com",
19336
+ 'cn-zhangbei-na61-b01': "apigateway.aliyuncs.com",
19337
+ 'cn-zhangjiakou-na62-a01': "apigateway.aliyuncs.com",
19338
+ 'cn-zhengzhou-nebula-1': "apigateway.aliyuncs.com",
19339
+ 'eu-west-1-oxs': "apigateway.aliyuncs.com",
19340
+ 'rus-west-1-pop': "apigateway.aliyuncs.com",
19107
19341
  };
19108
19342
  this.checkConfig(config);
19109
19343
  this._endpoint = this.getEndpoint("cloudapi", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -23272,6 +23506,44 @@ class Client extends openapi_client_1.default {
23272
23506
  let runtime = new $Util.RuntimeOptions({});
23273
23507
  return await this.describeDomainWithOptions(request, runtime);
23274
23508
  }
23509
+ async describeGroupLatencyWithOptions(request, runtime) {
23510
+ tea_util_1.default.validateModel(request);
23511
+ let query = {};
23512
+ if (!tea_util_1.default.isUnset(request.endTime)) {
23513
+ query["EndTime"] = request.endTime;
23514
+ }
23515
+ if (!tea_util_1.default.isUnset(request.groupId)) {
23516
+ query["GroupId"] = request.groupId;
23517
+ }
23518
+ if (!tea_util_1.default.isUnset(request.securityToken)) {
23519
+ query["SecurityToken"] = request.securityToken;
23520
+ }
23521
+ if (!tea_util_1.default.isUnset(request.stageName)) {
23522
+ query["StageName"] = request.stageName;
23523
+ }
23524
+ if (!tea_util_1.default.isUnset(request.startTime)) {
23525
+ query["StartTime"] = request.startTime;
23526
+ }
23527
+ let req = new $OpenApi.OpenApiRequest({
23528
+ query: openapi_util_1.default.query(query),
23529
+ });
23530
+ let params = new $OpenApi.Params({
23531
+ action: "DescribeGroupLatency",
23532
+ version: "2016-07-14",
23533
+ protocol: "HTTPS",
23534
+ pathname: "/",
23535
+ method: "POST",
23536
+ authType: "AK",
23537
+ style: "RPC",
23538
+ reqBodyType: "formData",
23539
+ bodyType: "json",
23540
+ });
23541
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeGroupLatencyResponse({}));
23542
+ }
23543
+ async describeGroupLatency(request) {
23544
+ let runtime = new $Util.RuntimeOptions({});
23545
+ return await this.describeGroupLatencyWithOptions(request, runtime);
23546
+ }
23275
23547
  async describeGroupQpsWithOptions(request, runtime) {
23276
23548
  tea_util_1.default.validateModel(request);
23277
23549
  let query = {};
@@ -23310,6 +23582,44 @@ class Client extends openapi_client_1.default {
23310
23582
  let runtime = new $Util.RuntimeOptions({});
23311
23583
  return await this.describeGroupQpsWithOptions(request, runtime);
23312
23584
  }
23585
+ async describeGroupTrafficWithOptions(request, runtime) {
23586
+ tea_util_1.default.validateModel(request);
23587
+ let query = {};
23588
+ if (!tea_util_1.default.isUnset(request.endTime)) {
23589
+ query["EndTime"] = request.endTime;
23590
+ }
23591
+ if (!tea_util_1.default.isUnset(request.groupId)) {
23592
+ query["GroupId"] = request.groupId;
23593
+ }
23594
+ if (!tea_util_1.default.isUnset(request.securityToken)) {
23595
+ query["SecurityToken"] = request.securityToken;
23596
+ }
23597
+ if (!tea_util_1.default.isUnset(request.stageName)) {
23598
+ query["StageName"] = request.stageName;
23599
+ }
23600
+ if (!tea_util_1.default.isUnset(request.startTime)) {
23601
+ query["StartTime"] = request.startTime;
23602
+ }
23603
+ let req = new $OpenApi.OpenApiRequest({
23604
+ query: openapi_util_1.default.query(query),
23605
+ });
23606
+ let params = new $OpenApi.Params({
23607
+ action: "DescribeGroupTraffic",
23608
+ version: "2016-07-14",
23609
+ protocol: "HTTPS",
23610
+ pathname: "/",
23611
+ method: "POST",
23612
+ authType: "AK",
23613
+ style: "RPC",
23614
+ reqBodyType: "formData",
23615
+ bodyType: "json",
23616
+ });
23617
+ return $tea.cast(await this.callApi(params, req, runtime), new DescribeGroupTrafficResponse({}));
23618
+ }
23619
+ async describeGroupTraffic(request) {
23620
+ let runtime = new $Util.RuntimeOptions({});
23621
+ return await this.describeGroupTrafficWithOptions(request, runtime);
23622
+ }
23313
23623
  async describeHistoryApisWithOptions(request, runtime) {
23314
23624
  tea_util_1.default.validateModel(request);
23315
23625
  let query = {};