@alicloud/cloudapi20160714 3.0.0 → 3.0.2
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 +73 -0
- package/dist/client.js +136 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +167 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/cloudapi20160714",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
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
|
@@ -4141,6 +4141,7 @@ export class DescribeApiGroupResponseBody extends $tea.Model {
|
|
|
4141
4141
|
dedicatedInstanceType?: string;
|
|
4142
4142
|
defaultDomain?: string;
|
|
4143
4143
|
description?: string;
|
|
4144
|
+
disableInnerDomain?: boolean;
|
|
4144
4145
|
groupId?: string;
|
|
4145
4146
|
groupName?: string;
|
|
4146
4147
|
httpsPolicy?: string;
|
|
@@ -4175,6 +4176,7 @@ export class DescribeApiGroupResponseBody extends $tea.Model {
|
|
|
4175
4176
|
dedicatedInstanceType: 'DedicatedInstanceType',
|
|
4176
4177
|
defaultDomain: 'DefaultDomain',
|
|
4177
4178
|
description: 'Description',
|
|
4179
|
+
disableInnerDomain: 'DisableInnerDomain',
|
|
4178
4180
|
groupId: 'GroupId',
|
|
4179
4181
|
groupName: 'GroupName',
|
|
4180
4182
|
httpsPolicy: 'HttpsPolicy',
|
|
@@ -4212,6 +4214,7 @@ export class DescribeApiGroupResponseBody extends $tea.Model {
|
|
|
4212
4214
|
dedicatedInstanceType: 'string',
|
|
4213
4215
|
defaultDomain: 'string',
|
|
4214
4216
|
description: 'string',
|
|
4217
|
+
disableInnerDomain: 'boolean',
|
|
4215
4218
|
groupId: 'string',
|
|
4216
4219
|
groupName: 'string',
|
|
4217
4220
|
httpsPolicy: 'string',
|
|
@@ -7307,6 +7310,84 @@ export class DescribeDomainResponse extends $tea.Model {
|
|
|
7307
7310
|
}
|
|
7308
7311
|
}
|
|
7309
7312
|
|
|
7313
|
+
export class DescribeGroupQpsRequest extends $tea.Model {
|
|
7314
|
+
endTime?: string;
|
|
7315
|
+
groupId?: string;
|
|
7316
|
+
securityToken?: string;
|
|
7317
|
+
stageName?: string;
|
|
7318
|
+
startTime?: string;
|
|
7319
|
+
static names(): { [key: string]: string } {
|
|
7320
|
+
return {
|
|
7321
|
+
endTime: 'EndTime',
|
|
7322
|
+
groupId: 'GroupId',
|
|
7323
|
+
securityToken: 'SecurityToken',
|
|
7324
|
+
stageName: 'StageName',
|
|
7325
|
+
startTime: 'StartTime',
|
|
7326
|
+
};
|
|
7327
|
+
}
|
|
7328
|
+
|
|
7329
|
+
static types(): { [key: string]: any } {
|
|
7330
|
+
return {
|
|
7331
|
+
endTime: 'string',
|
|
7332
|
+
groupId: 'string',
|
|
7333
|
+
securityToken: 'string',
|
|
7334
|
+
stageName: 'string',
|
|
7335
|
+
startTime: 'string',
|
|
7336
|
+
};
|
|
7337
|
+
}
|
|
7338
|
+
|
|
7339
|
+
constructor(map?: { [key: string]: any }) {
|
|
7340
|
+
super(map);
|
|
7341
|
+
}
|
|
7342
|
+
}
|
|
7343
|
+
|
|
7344
|
+
export class DescribeGroupQpsResponseBody extends $tea.Model {
|
|
7345
|
+
groupQps?: DescribeGroupQpsResponseBodyGroupQps;
|
|
7346
|
+
requestId?: string;
|
|
7347
|
+
static names(): { [key: string]: string } {
|
|
7348
|
+
return {
|
|
7349
|
+
groupQps: 'GroupQps',
|
|
7350
|
+
requestId: 'RequestId',
|
|
7351
|
+
};
|
|
7352
|
+
}
|
|
7353
|
+
|
|
7354
|
+
static types(): { [key: string]: any } {
|
|
7355
|
+
return {
|
|
7356
|
+
groupQps: DescribeGroupQpsResponseBodyGroupQps,
|
|
7357
|
+
requestId: 'string',
|
|
7358
|
+
};
|
|
7359
|
+
}
|
|
7360
|
+
|
|
7361
|
+
constructor(map?: { [key: string]: any }) {
|
|
7362
|
+
super(map);
|
|
7363
|
+
}
|
|
7364
|
+
}
|
|
7365
|
+
|
|
7366
|
+
export class DescribeGroupQpsResponse extends $tea.Model {
|
|
7367
|
+
headers: { [key: string]: string };
|
|
7368
|
+
statusCode: number;
|
|
7369
|
+
body: DescribeGroupQpsResponseBody;
|
|
7370
|
+
static names(): { [key: string]: string } {
|
|
7371
|
+
return {
|
|
7372
|
+
headers: 'headers',
|
|
7373
|
+
statusCode: 'statusCode',
|
|
7374
|
+
body: 'body',
|
|
7375
|
+
};
|
|
7376
|
+
}
|
|
7377
|
+
|
|
7378
|
+
static types(): { [key: string]: any } {
|
|
7379
|
+
return {
|
|
7380
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7381
|
+
statusCode: 'number',
|
|
7382
|
+
body: DescribeGroupQpsResponseBody,
|
|
7383
|
+
};
|
|
7384
|
+
}
|
|
7385
|
+
|
|
7386
|
+
constructor(map?: { [key: string]: any }) {
|
|
7387
|
+
super(map);
|
|
7388
|
+
}
|
|
7389
|
+
}
|
|
7390
|
+
|
|
7310
7391
|
export class DescribeHistoryApisRequest extends $tea.Model {
|
|
7311
7392
|
apiId?: string;
|
|
7312
7393
|
apiName?: string;
|
|
@@ -19841,6 +19922,47 @@ export class DescribeDeployedApisResponseBodyDeployedApis extends $tea.Model {
|
|
|
19841
19922
|
}
|
|
19842
19923
|
}
|
|
19843
19924
|
|
|
19925
|
+
export class DescribeGroupQpsResponseBodyGroupQpsMonitorItem extends $tea.Model {
|
|
19926
|
+
itemTime?: string;
|
|
19927
|
+
itemValue?: string;
|
|
19928
|
+
static names(): { [key: string]: string } {
|
|
19929
|
+
return {
|
|
19930
|
+
itemTime: 'ItemTime',
|
|
19931
|
+
itemValue: 'ItemValue',
|
|
19932
|
+
};
|
|
19933
|
+
}
|
|
19934
|
+
|
|
19935
|
+
static types(): { [key: string]: any } {
|
|
19936
|
+
return {
|
|
19937
|
+
itemTime: 'string',
|
|
19938
|
+
itemValue: 'string',
|
|
19939
|
+
};
|
|
19940
|
+
}
|
|
19941
|
+
|
|
19942
|
+
constructor(map?: { [key: string]: any }) {
|
|
19943
|
+
super(map);
|
|
19944
|
+
}
|
|
19945
|
+
}
|
|
19946
|
+
|
|
19947
|
+
export class DescribeGroupQpsResponseBodyGroupQps extends $tea.Model {
|
|
19948
|
+
monitorItem?: DescribeGroupQpsResponseBodyGroupQpsMonitorItem[];
|
|
19949
|
+
static names(): { [key: string]: string } {
|
|
19950
|
+
return {
|
|
19951
|
+
monitorItem: 'MonitorItem',
|
|
19952
|
+
};
|
|
19953
|
+
}
|
|
19954
|
+
|
|
19955
|
+
static types(): { [key: string]: any } {
|
|
19956
|
+
return {
|
|
19957
|
+
monitorItem: { 'type': 'array', 'itemType': DescribeGroupQpsResponseBodyGroupQpsMonitorItem },
|
|
19958
|
+
};
|
|
19959
|
+
}
|
|
19960
|
+
|
|
19961
|
+
constructor(map?: { [key: string]: any }) {
|
|
19962
|
+
super(map);
|
|
19963
|
+
}
|
|
19964
|
+
}
|
|
19965
|
+
|
|
19844
19966
|
export class DescribeHistoryApisResponseBodyApiHisItemsApiHisItem extends $tea.Model {
|
|
19845
19967
|
apiId?: string;
|
|
19846
19968
|
apiName?: string;
|
|
@@ -27170,6 +27292,51 @@ export default class Client extends OpenApi {
|
|
|
27170
27292
|
return await this.describeDomainWithOptions(request, runtime);
|
|
27171
27293
|
}
|
|
27172
27294
|
|
|
27295
|
+
async describeGroupQpsWithOptions(request: DescribeGroupQpsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeGroupQpsResponse> {
|
|
27296
|
+
Util.validateModel(request);
|
|
27297
|
+
let query = { };
|
|
27298
|
+
if (!Util.isUnset(request.endTime)) {
|
|
27299
|
+
query["EndTime"] = request.endTime;
|
|
27300
|
+
}
|
|
27301
|
+
|
|
27302
|
+
if (!Util.isUnset(request.groupId)) {
|
|
27303
|
+
query["GroupId"] = request.groupId;
|
|
27304
|
+
}
|
|
27305
|
+
|
|
27306
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
27307
|
+
query["SecurityToken"] = request.securityToken;
|
|
27308
|
+
}
|
|
27309
|
+
|
|
27310
|
+
if (!Util.isUnset(request.stageName)) {
|
|
27311
|
+
query["StageName"] = request.stageName;
|
|
27312
|
+
}
|
|
27313
|
+
|
|
27314
|
+
if (!Util.isUnset(request.startTime)) {
|
|
27315
|
+
query["StartTime"] = request.startTime;
|
|
27316
|
+
}
|
|
27317
|
+
|
|
27318
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
27319
|
+
query: OpenApiUtil.query(query),
|
|
27320
|
+
});
|
|
27321
|
+
let params = new $OpenApi.Params({
|
|
27322
|
+
action: "DescribeGroupQps",
|
|
27323
|
+
version: "2016-07-14",
|
|
27324
|
+
protocol: "HTTPS",
|
|
27325
|
+
pathname: "/",
|
|
27326
|
+
method: "POST",
|
|
27327
|
+
authType: "AK",
|
|
27328
|
+
style: "RPC",
|
|
27329
|
+
reqBodyType: "formData",
|
|
27330
|
+
bodyType: "json",
|
|
27331
|
+
});
|
|
27332
|
+
return $tea.cast<DescribeGroupQpsResponse>(await this.callApi(params, req, runtime), new DescribeGroupQpsResponse({}));
|
|
27333
|
+
}
|
|
27334
|
+
|
|
27335
|
+
async describeGroupQps(request: DescribeGroupQpsRequest): Promise<DescribeGroupQpsResponse> {
|
|
27336
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
27337
|
+
return await this.describeGroupQpsWithOptions(request, runtime);
|
|
27338
|
+
}
|
|
27339
|
+
|
|
27173
27340
|
async describeHistoryApisWithOptions(request: DescribeHistoryApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHistoryApisResponse> {
|
|
27174
27341
|
Util.validateModel(request);
|
|
27175
27342
|
let query = { };
|