Skip to content

Commit 2d4f64c

Browse files
committed
Add DescribeGroupQps.
1 parent 3b60b63 commit 2d4f64c

File tree

2 files changed

+166
-2
lines changed

2 files changed

+166
-2
lines changed

cloudapi-20160714/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/cloudapi20160714",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {
@@ -22,7 +22,7 @@
2222
"@alicloud/tea-typescript": "^1.7.1",
2323
"@alicloud/tea-util": "^1.4.7",
2424
"@alicloud/openapi-client": "^0.4.4",
25-
"@alicloud/openapi-util": "^0.3.1",
25+
"@alicloud/openapi-util": "^0.3.2",
2626
"@alicloud/endpoint-util": "^0.0.1"
2727
},
2828
"files": [

cloudapi-20160714/src/client.ts

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7307,6 +7307,84 @@ export class DescribeDomainResponse extends $tea.Model {
73077307
}
73087308
}
73097309

7310+
export class DescribeGroupQpsRequest extends $tea.Model {
7311+
endTime?: string;
7312+
groupId?: string;
7313+
securityToken?: string;
7314+
stageName?: string;
7315+
startTime?: string;
7316+
static names(): { [key: string]: string } {
7317+
return {
7318+
endTime: 'EndTime',
7319+
groupId: 'GroupId',
7320+
securityToken: 'SecurityToken',
7321+
stageName: 'StageName',
7322+
startTime: 'StartTime',
7323+
};
7324+
}
7325+
7326+
static types(): { [key: string]: any } {
7327+
return {
7328+
endTime: 'string',
7329+
groupId: 'string',
7330+
securityToken: 'string',
7331+
stageName: 'string',
7332+
startTime: 'string',
7333+
};
7334+
}
7335+
7336+
constructor(map?: { [key: string]: any }) {
7337+
super(map);
7338+
}
7339+
}
7340+
7341+
export class DescribeGroupQpsResponseBody extends $tea.Model {
7342+
groupQps?: DescribeGroupQpsResponseBodyGroupQps;
7343+
requestId?: string;
7344+
static names(): { [key: string]: string } {
7345+
return {
7346+
groupQps: 'GroupQps',
7347+
requestId: 'RequestId',
7348+
};
7349+
}
7350+
7351+
static types(): { [key: string]: any } {
7352+
return {
7353+
groupQps: DescribeGroupQpsResponseBodyGroupQps,
7354+
requestId: 'string',
7355+
};
7356+
}
7357+
7358+
constructor(map?: { [key: string]: any }) {
7359+
super(map);
7360+
}
7361+
}
7362+
7363+
export class DescribeGroupQpsResponse extends $tea.Model {
7364+
headers: { [key: string]: string };
7365+
statusCode: number;
7366+
body: DescribeGroupQpsResponseBody;
7367+
static names(): { [key: string]: string } {
7368+
return {
7369+
headers: 'headers',
7370+
statusCode: 'statusCode',
7371+
body: 'body',
7372+
};
7373+
}
7374+
7375+
static types(): { [key: string]: any } {
7376+
return {
7377+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7378+
statusCode: 'number',
7379+
body: DescribeGroupQpsResponseBody,
7380+
};
7381+
}
7382+
7383+
constructor(map?: { [key: string]: any }) {
7384+
super(map);
7385+
}
7386+
}
7387+
73107388
export class DescribeHistoryApisRequest extends $tea.Model {
73117389
apiId?: string;
73127390
apiName?: string;
@@ -19841,6 +19919,47 @@ export class DescribeDeployedApisResponseBodyDeployedApis extends $tea.Model {
1984119919
}
1984219920
}
1984319921

19922+
export class DescribeGroupQpsResponseBodyGroupQpsMonitorItem extends $tea.Model {
19923+
itemTime?: string;
19924+
itemValue?: string;
19925+
static names(): { [key: string]: string } {
19926+
return {
19927+
itemTime: 'ItemTime',
19928+
itemValue: 'ItemValue',
19929+
};
19930+
}
19931+
19932+
static types(): { [key: string]: any } {
19933+
return {
19934+
itemTime: 'string',
19935+
itemValue: 'string',
19936+
};
19937+
}
19938+
19939+
constructor(map?: { [key: string]: any }) {
19940+
super(map);
19941+
}
19942+
}
19943+
19944+
export class DescribeGroupQpsResponseBodyGroupQps extends $tea.Model {
19945+
monitorItem?: DescribeGroupQpsResponseBodyGroupQpsMonitorItem[];
19946+
static names(): { [key: string]: string } {
19947+
return {
19948+
monitorItem: 'MonitorItem',
19949+
};
19950+
}
19951+
19952+
static types(): { [key: string]: any } {
19953+
return {
19954+
monitorItem: { 'type': 'array', 'itemType': DescribeGroupQpsResponseBodyGroupQpsMonitorItem },
19955+
};
19956+
}
19957+
19958+
constructor(map?: { [key: string]: any }) {
19959+
super(map);
19960+
}
19961+
}
19962+
1984419963
export class DescribeHistoryApisResponseBodyApiHisItemsApiHisItem extends $tea.Model {
1984519964
apiId?: string;
1984619965
apiName?: string;
@@ -27170,6 +27289,51 @@ export default class Client extends OpenApi {
2717027289
return await this.describeDomainWithOptions(request, runtime);
2717127290
}
2717227291

27292+
async describeGroupQpsWithOptions(request: DescribeGroupQpsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupQpsResponse> {
27293+
Util.validateModel(request);
27294+
let query = { };
27295+
if (!Util.isUnset(request.endTime)) {
27296+
query["EndTime"] = request.endTime;
27297+
}
27298+
27299+
if (!Util.isUnset(request.groupId)) {
27300+
query["GroupId"] = request.groupId;
27301+
}
27302+
27303+
if (!Util.isUnset(request.securityToken)) {
27304+
query["SecurityToken"] = request.securityToken;
27305+
}
27306+
27307+
if (!Util.isUnset(request.stageName)) {
27308+
query["StageName"] = request.stageName;
27309+
}
27310+
27311+
if (!Util.isUnset(request.startTime)) {
27312+
query["StartTime"] = request.startTime;
27313+
}
27314+
27315+
let req = new $OpenApi.OpenApiRequest({
27316+
query: OpenApiUtil.query(query),
27317+
});
27318+
let params = new $OpenApi.Params({
27319+
action: "DescribeGroupQps",
27320+
version: "2016-07-14",
27321+
protocol: "HTTPS",
27322+
pathname: "/",
27323+
method: "POST",
27324+
authType: "AK",
27325+
style: "RPC",
27326+
reqBodyType: "formData",
27327+
bodyType: "json",
27328+
});
27329+
return $tea.cast<DescribeGroupQpsResponse>(await this.callApi(params, req, runtime), new DescribeGroupQpsResponse({}));
27330+
}
27331+
27332+
async describeGroupQps(request: DescribeGroupQpsRequest): Promise<DescribeGroupQpsResponse> {
27333+
let runtime = new $Util.RuntimeOptions({ });
27334+
return await this.describeGroupQpsWithOptions(request, runtime);
27335+
}
27336+
2717327337
async describeHistoryApisWithOptions(request: DescribeHistoryApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHistoryApisResponse> {
2717427338
Util.validateModel(request);
2717527339
let query = { };

0 commit comments

Comments
 (0)