@alicloud/cloudapi20160714 3.0.0 → 3.0.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 +72 -0
- package/dist/client.js +134 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +164 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/cloudapi20160714",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/client.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@alicloud/tea-typescript": "^1.7.1",
|
|
23
23
|
"@alicloud/tea-util": "^1.4.7",
|
|
24
24
|
"@alicloud/openapi-client": "^0.4.4",
|
|
25
|
-
"@alicloud/openapi-util": "^0.3.
|
|
25
|
+
"@alicloud/openapi-util": "^0.3.2",
|
|
26
26
|
"@alicloud/endpoint-util": "^0.0.1"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
package/src/client.ts
CHANGED
|
@@ -7307,6 +7307,84 @@ export class DescribeDomainResponse extends $tea.Model {
|
|
|
7307
7307
|
}
|
|
7308
7308
|
}
|
|
7309
7309
|
|
|
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
|
+
|
|
7310
7388
|
export class DescribeHistoryApisRequest extends $tea.Model {
|
|
7311
7389
|
apiId?: string;
|
|
7312
7390
|
apiName?: string;
|
|
@@ -19841,6 +19919,47 @@ export class DescribeDeployedApisResponseBodyDeployedApis extends $tea.Model {
|
|
|
19841
19919
|
}
|
|
19842
19920
|
}
|
|
19843
19921
|
|
|
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
|
+
|
|
19844
19963
|
export class DescribeHistoryApisResponseBodyApiHisItemsApiHisItem extends $tea.Model {
|
|
19845
19964
|
apiId?: string;
|
|
19846
19965
|
apiName?: string;
|
|
@@ -27170,6 +27289,51 @@ export default class Client extends OpenApi {
|
|
|
27170
27289
|
return await this.describeDomainWithOptions(request, runtime);
|
|
27171
27290
|
}
|
|
27172
27291
|
|
|
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
|
+
|
|
27173
27337
|
async describeHistoryApisWithOptions(request: DescribeHistoryApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHistoryApisResponse> {
|
|
27174
27338
|
Util.validateModel(request);
|
|
27175
27339
|
let query = { };
|