@alicloud/cloudapi20160714 3.1.0 → 3.2.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/dist/client.d.ts +148 -0
- package/dist/client.js +279 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +344 -0
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;
|
|
@@ -8192,6 +8282,7 @@ export declare class SetAccessControlListAttributeResponse extends $tea.Model {
|
|
|
8192
8282
|
export declare class SetApiProductsAuthoritiesRequest extends $tea.Model {
|
|
8193
8283
|
apiProductIds?: string[];
|
|
8194
8284
|
appId?: number;
|
|
8285
|
+
authValidTime?: string;
|
|
8195
8286
|
description?: string;
|
|
8196
8287
|
securityToken?: string;
|
|
8197
8288
|
static names(): {
|
|
@@ -8207,6 +8298,7 @@ export declare class SetApiProductsAuthoritiesRequest extends $tea.Model {
|
|
|
8207
8298
|
export declare class SetApiProductsAuthoritiesShrinkRequest extends $tea.Model {
|
|
8208
8299
|
apiProductIdsShrink?: string;
|
|
8209
8300
|
appId?: number;
|
|
8301
|
+
authValidTime?: string;
|
|
8210
8302
|
description?: string;
|
|
8211
8303
|
securityToken?: string;
|
|
8212
8304
|
static names(): {
|
|
@@ -11699,6 +11791,32 @@ export declare class DescribeDeployedApisResponseBodyDeployedApis extends $tea.M
|
|
|
11699
11791
|
[key: string]: any;
|
|
11700
11792
|
});
|
|
11701
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
|
+
}
|
|
11702
11820
|
export declare class DescribeGroupQpsResponseBodyGroupQpsMonitorItem extends $tea.Model {
|
|
11703
11821
|
itemTime?: string;
|
|
11704
11822
|
itemValue?: string;
|
|
@@ -11724,6 +11842,32 @@ export declare class DescribeGroupQpsResponseBodyGroupQps extends $tea.Model {
|
|
|
11724
11842
|
[key: string]: any;
|
|
11725
11843
|
});
|
|
11726
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
|
+
}
|
|
11727
11871
|
export declare class DescribeHistoryApisResponseBodyApiHisItemsApiHisItem extends $tea.Model {
|
|
11728
11872
|
apiId?: string;
|
|
11729
11873
|
apiName?: string;
|
|
@@ -14374,8 +14518,12 @@ export default class Client extends OpenApi {
|
|
|
14374
14518
|
describeDeployedApis(request: DescribeDeployedApisRequest): Promise<DescribeDeployedApisResponse>;
|
|
14375
14519
|
describeDomainWithOptions(request: DescribeDomainRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainResponse>;
|
|
14376
14520
|
describeDomain(request: DescribeDomainRequest): Promise<DescribeDomainResponse>;
|
|
14521
|
+
describeGroupLatencyWithOptions(request: DescribeGroupLatencyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupLatencyResponse>;
|
|
14522
|
+
describeGroupLatency(request: DescribeGroupLatencyRequest): Promise<DescribeGroupLatencyResponse>;
|
|
14377
14523
|
describeGroupQpsWithOptions(request: DescribeGroupQpsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupQpsResponse>;
|
|
14378
14524
|
describeGroupQps(request: DescribeGroupQpsRequest): Promise<DescribeGroupQpsResponse>;
|
|
14525
|
+
describeGroupTrafficWithOptions(request: DescribeGroupTrafficRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupTrafficResponse>;
|
|
14526
|
+
describeGroupTraffic(request: DescribeGroupTrafficRequest): Promise<DescribeGroupTrafficResponse>;
|
|
14379
14527
|
describeHistoryApisWithOptions(request: DescribeHistoryApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHistoryApisResponse>;
|
|
14380
14528
|
describeHistoryApis(request: DescribeHistoryApisRequest): Promise<DescribeHistoryApisResponse>;
|
|
14381
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);
|
|
@@ -11473,6 +11597,7 @@ class SetApiProductsAuthoritiesRequest extends $tea.Model {
|
|
|
11473
11597
|
return {
|
|
11474
11598
|
apiProductIds: 'ApiProductIds',
|
|
11475
11599
|
appId: 'AppId',
|
|
11600
|
+
authValidTime: 'AuthValidTime',
|
|
11476
11601
|
description: 'Description',
|
|
11477
11602
|
securityToken: 'SecurityToken',
|
|
11478
11603
|
};
|
|
@@ -11481,6 +11606,7 @@ class SetApiProductsAuthoritiesRequest extends $tea.Model {
|
|
|
11481
11606
|
return {
|
|
11482
11607
|
apiProductIds: { 'type': 'array', 'itemType': 'string' },
|
|
11483
11608
|
appId: 'number',
|
|
11609
|
+
authValidTime: 'string',
|
|
11484
11610
|
description: 'string',
|
|
11485
11611
|
securityToken: 'string',
|
|
11486
11612
|
};
|
|
@@ -11495,6 +11621,7 @@ class SetApiProductsAuthoritiesShrinkRequest extends $tea.Model {
|
|
|
11495
11621
|
return {
|
|
11496
11622
|
apiProductIdsShrink: 'ApiProductIds',
|
|
11497
11623
|
appId: 'AppId',
|
|
11624
|
+
authValidTime: 'AuthValidTime',
|
|
11498
11625
|
description: 'Description',
|
|
11499
11626
|
securityToken: 'SecurityToken',
|
|
11500
11627
|
};
|
|
@@ -11503,6 +11630,7 @@ class SetApiProductsAuthoritiesShrinkRequest extends $tea.Model {
|
|
|
11503
11630
|
return {
|
|
11504
11631
|
apiProductIdsShrink: 'string',
|
|
11505
11632
|
appId: 'number',
|
|
11633
|
+
authValidTime: 'string',
|
|
11506
11634
|
description: 'string',
|
|
11507
11635
|
securityToken: 'string',
|
|
11508
11636
|
};
|
|
@@ -16545,6 +16673,42 @@ class DescribeDeployedApisResponseBodyDeployedApis extends $tea.Model {
|
|
|
16545
16673
|
}
|
|
16546
16674
|
}
|
|
16547
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;
|
|
16548
16712
|
class DescribeGroupQpsResponseBodyGroupQpsMonitorItem extends $tea.Model {
|
|
16549
16713
|
constructor(map) {
|
|
16550
16714
|
super(map);
|
|
@@ -16579,6 +16743,42 @@ class DescribeGroupQpsResponseBodyGroupQps extends $tea.Model {
|
|
|
16579
16743
|
}
|
|
16580
16744
|
}
|
|
16581
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;
|
|
16582
16782
|
class DescribeHistoryApisResponseBodyApiHisItemsApiHisItem extends $tea.Model {
|
|
16583
16783
|
constructor(map) {
|
|
16584
16784
|
super(map);
|
|
@@ -23268,6 +23468,44 @@ class Client extends openapi_client_1.default {
|
|
|
23268
23468
|
let runtime = new $Util.RuntimeOptions({});
|
|
23269
23469
|
return await this.describeDomainWithOptions(request, runtime);
|
|
23270
23470
|
}
|
|
23471
|
+
async describeGroupLatencyWithOptions(request, runtime) {
|
|
23472
|
+
tea_util_1.default.validateModel(request);
|
|
23473
|
+
let query = {};
|
|
23474
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
23475
|
+
query["EndTime"] = request.endTime;
|
|
23476
|
+
}
|
|
23477
|
+
if (!tea_util_1.default.isUnset(request.groupId)) {
|
|
23478
|
+
query["GroupId"] = request.groupId;
|
|
23479
|
+
}
|
|
23480
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
23481
|
+
query["SecurityToken"] = request.securityToken;
|
|
23482
|
+
}
|
|
23483
|
+
if (!tea_util_1.default.isUnset(request.stageName)) {
|
|
23484
|
+
query["StageName"] = request.stageName;
|
|
23485
|
+
}
|
|
23486
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
23487
|
+
query["StartTime"] = request.startTime;
|
|
23488
|
+
}
|
|
23489
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
23490
|
+
query: openapi_util_1.default.query(query),
|
|
23491
|
+
});
|
|
23492
|
+
let params = new $OpenApi.Params({
|
|
23493
|
+
action: "DescribeGroupLatency",
|
|
23494
|
+
version: "2016-07-14",
|
|
23495
|
+
protocol: "HTTPS",
|
|
23496
|
+
pathname: "/",
|
|
23497
|
+
method: "POST",
|
|
23498
|
+
authType: "AK",
|
|
23499
|
+
style: "RPC",
|
|
23500
|
+
reqBodyType: "formData",
|
|
23501
|
+
bodyType: "json",
|
|
23502
|
+
});
|
|
23503
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGroupLatencyResponse({}));
|
|
23504
|
+
}
|
|
23505
|
+
async describeGroupLatency(request) {
|
|
23506
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
23507
|
+
return await this.describeGroupLatencyWithOptions(request, runtime);
|
|
23508
|
+
}
|
|
23271
23509
|
async describeGroupQpsWithOptions(request, runtime) {
|
|
23272
23510
|
tea_util_1.default.validateModel(request);
|
|
23273
23511
|
let query = {};
|
|
@@ -23306,6 +23544,44 @@ class Client extends openapi_client_1.default {
|
|
|
23306
23544
|
let runtime = new $Util.RuntimeOptions({});
|
|
23307
23545
|
return await this.describeGroupQpsWithOptions(request, runtime);
|
|
23308
23546
|
}
|
|
23547
|
+
async describeGroupTrafficWithOptions(request, runtime) {
|
|
23548
|
+
tea_util_1.default.validateModel(request);
|
|
23549
|
+
let query = {};
|
|
23550
|
+
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
23551
|
+
query["EndTime"] = request.endTime;
|
|
23552
|
+
}
|
|
23553
|
+
if (!tea_util_1.default.isUnset(request.groupId)) {
|
|
23554
|
+
query["GroupId"] = request.groupId;
|
|
23555
|
+
}
|
|
23556
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
23557
|
+
query["SecurityToken"] = request.securityToken;
|
|
23558
|
+
}
|
|
23559
|
+
if (!tea_util_1.default.isUnset(request.stageName)) {
|
|
23560
|
+
query["StageName"] = request.stageName;
|
|
23561
|
+
}
|
|
23562
|
+
if (!tea_util_1.default.isUnset(request.startTime)) {
|
|
23563
|
+
query["StartTime"] = request.startTime;
|
|
23564
|
+
}
|
|
23565
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
23566
|
+
query: openapi_util_1.default.query(query),
|
|
23567
|
+
});
|
|
23568
|
+
let params = new $OpenApi.Params({
|
|
23569
|
+
action: "DescribeGroupTraffic",
|
|
23570
|
+
version: "2016-07-14",
|
|
23571
|
+
protocol: "HTTPS",
|
|
23572
|
+
pathname: "/",
|
|
23573
|
+
method: "POST",
|
|
23574
|
+
authType: "AK",
|
|
23575
|
+
style: "RPC",
|
|
23576
|
+
reqBodyType: "formData",
|
|
23577
|
+
bodyType: "json",
|
|
23578
|
+
});
|
|
23579
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeGroupTrafficResponse({}));
|
|
23580
|
+
}
|
|
23581
|
+
async describeGroupTraffic(request) {
|
|
23582
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
23583
|
+
return await this.describeGroupTrafficWithOptions(request, runtime);
|
|
23584
|
+
}
|
|
23309
23585
|
async describeHistoryApisWithOptions(request, runtime) {
|
|
23310
23586
|
tea_util_1.default.validateModel(request);
|
|
23311
23587
|
let query = {};
|
|
@@ -27015,6 +27291,9 @@ class Client extends openapi_client_1.default {
|
|
|
27015
27291
|
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
27016
27292
|
query["AppId"] = request.appId;
|
|
27017
27293
|
}
|
|
27294
|
+
if (!tea_util_1.default.isUnset(request.authValidTime)) {
|
|
27295
|
+
query["AuthValidTime"] = request.authValidTime;
|
|
27296
|
+
}
|
|
27018
27297
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
27019
27298
|
query["Description"] = request.description;
|
|
27020
27299
|
}
|