@alicloud/waf-openapi20211001 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 +144 -10
- package/dist/client.js +267 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +311 -10
package/dist/client.d.ts
CHANGED
|
@@ -429,6 +429,54 @@ export declare class CreatePostpaidInstanceResponse extends $tea.Model {
|
|
|
429
429
|
[key: string]: any;
|
|
430
430
|
});
|
|
431
431
|
}
|
|
432
|
+
export declare class CreateSM2CertRequest extends $tea.Model {
|
|
433
|
+
certName?: string;
|
|
434
|
+
encryptCertificate?: string;
|
|
435
|
+
encryptPrivateKey?: string;
|
|
436
|
+
instanceId?: string;
|
|
437
|
+
regionId?: string;
|
|
438
|
+
resourceManagerResourceGroupId?: string;
|
|
439
|
+
signCertificate?: string;
|
|
440
|
+
signPrivateKey?: string;
|
|
441
|
+
static names(): {
|
|
442
|
+
[key: string]: string;
|
|
443
|
+
};
|
|
444
|
+
static types(): {
|
|
445
|
+
[key: string]: any;
|
|
446
|
+
};
|
|
447
|
+
constructor(map?: {
|
|
448
|
+
[key: string]: any;
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
export declare class CreateSM2CertResponseBody extends $tea.Model {
|
|
452
|
+
certIdentifier?: string;
|
|
453
|
+
requestId?: string;
|
|
454
|
+
static names(): {
|
|
455
|
+
[key: string]: string;
|
|
456
|
+
};
|
|
457
|
+
static types(): {
|
|
458
|
+
[key: string]: any;
|
|
459
|
+
};
|
|
460
|
+
constructor(map?: {
|
|
461
|
+
[key: string]: any;
|
|
462
|
+
});
|
|
463
|
+
}
|
|
464
|
+
export declare class CreateSM2CertResponse extends $tea.Model {
|
|
465
|
+
headers?: {
|
|
466
|
+
[key: string]: string;
|
|
467
|
+
};
|
|
468
|
+
statusCode?: number;
|
|
469
|
+
body?: CreateSM2CertResponseBody;
|
|
470
|
+
static names(): {
|
|
471
|
+
[key: string]: string;
|
|
472
|
+
};
|
|
473
|
+
static types(): {
|
|
474
|
+
[key: string]: any;
|
|
475
|
+
};
|
|
476
|
+
constructor(map?: {
|
|
477
|
+
[key: string]: any;
|
|
478
|
+
});
|
|
479
|
+
}
|
|
432
480
|
export declare class DeleteApisecAbnormalRequest extends $tea.Model {
|
|
433
481
|
abnormalId?: string;
|
|
434
482
|
clusterId?: string;
|
|
@@ -1308,6 +1356,49 @@ export declare class DescribeCloudResourcesResponse extends $tea.Model {
|
|
|
1308
1356
|
[key: string]: any;
|
|
1309
1357
|
});
|
|
1310
1358
|
}
|
|
1359
|
+
export declare class DescribeDDoSStatusRequest extends $tea.Model {
|
|
1360
|
+
instanceId?: string;
|
|
1361
|
+
regionId?: string;
|
|
1362
|
+
resourceManagerResourceGroupId?: string;
|
|
1363
|
+
static names(): {
|
|
1364
|
+
[key: string]: string;
|
|
1365
|
+
};
|
|
1366
|
+
static types(): {
|
|
1367
|
+
[key: string]: any;
|
|
1368
|
+
};
|
|
1369
|
+
constructor(map?: {
|
|
1370
|
+
[key: string]: any;
|
|
1371
|
+
});
|
|
1372
|
+
}
|
|
1373
|
+
export declare class DescribeDDoSStatusResponseBody extends $tea.Model {
|
|
1374
|
+
DDoSStatus?: DescribeDDoSStatusResponseBodyDDoSStatus[];
|
|
1375
|
+
requestId?: string;
|
|
1376
|
+
static names(): {
|
|
1377
|
+
[key: string]: string;
|
|
1378
|
+
};
|
|
1379
|
+
static types(): {
|
|
1380
|
+
[key: string]: any;
|
|
1381
|
+
};
|
|
1382
|
+
constructor(map?: {
|
|
1383
|
+
[key: string]: any;
|
|
1384
|
+
});
|
|
1385
|
+
}
|
|
1386
|
+
export declare class DescribeDDoSStatusResponse extends $tea.Model {
|
|
1387
|
+
headers?: {
|
|
1388
|
+
[key: string]: string;
|
|
1389
|
+
};
|
|
1390
|
+
statusCode?: number;
|
|
1391
|
+
body?: DescribeDDoSStatusResponseBody;
|
|
1392
|
+
static names(): {
|
|
1393
|
+
[key: string]: string;
|
|
1394
|
+
};
|
|
1395
|
+
static types(): {
|
|
1396
|
+
[key: string]: any;
|
|
1397
|
+
};
|
|
1398
|
+
constructor(map?: {
|
|
1399
|
+
[key: string]: any;
|
|
1400
|
+
});
|
|
1401
|
+
}
|
|
1311
1402
|
export declare class DescribeDefenseResourceRequest extends $tea.Model {
|
|
1312
1403
|
instanceId?: string;
|
|
1313
1404
|
regionId?: string;
|
|
@@ -4928,6 +5019,19 @@ export declare class DescribeCloudResourcesResponseBodyCloudResources extends $t
|
|
|
4928
5019
|
[key: string]: any;
|
|
4929
5020
|
});
|
|
4930
5021
|
}
|
|
5022
|
+
export declare class DescribeDDoSStatusResponseBodyDDoSStatus extends $tea.Model {
|
|
5023
|
+
eventType?: string;
|
|
5024
|
+
status?: string;
|
|
5025
|
+
static names(): {
|
|
5026
|
+
[key: string]: string;
|
|
5027
|
+
};
|
|
5028
|
+
static types(): {
|
|
5029
|
+
[key: string]: any;
|
|
5030
|
+
};
|
|
5031
|
+
constructor(map?: {
|
|
5032
|
+
[key: string]: any;
|
|
5033
|
+
});
|
|
5034
|
+
}
|
|
4931
5035
|
export declare class DescribeDefenseResourceResponseBodyResource extends $tea.Model {
|
|
4932
5036
|
acwCookieStatus?: number;
|
|
4933
5037
|
acwSecureStatus?: number;
|
|
@@ -6136,6 +6240,21 @@ export default class Client extends OpenApi {
|
|
|
6136
6240
|
* @return CreatePostpaidInstanceResponse
|
|
6137
6241
|
*/
|
|
6138
6242
|
createPostpaidInstance(request: CreatePostpaidInstanceRequest): Promise<CreatePostpaidInstanceResponse>;
|
|
6243
|
+
/**
|
|
6244
|
+
* @summary 上传国密证书
|
|
6245
|
+
*
|
|
6246
|
+
* @param request CreateSM2CertRequest
|
|
6247
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6248
|
+
* @return CreateSM2CertResponse
|
|
6249
|
+
*/
|
|
6250
|
+
createSM2CertWithOptions(request: CreateSM2CertRequest, runtime: $Util.RuntimeOptions): Promise<CreateSM2CertResponse>;
|
|
6251
|
+
/**
|
|
6252
|
+
* @summary 上传国密证书
|
|
6253
|
+
*
|
|
6254
|
+
* @param request CreateSM2CertRequest
|
|
6255
|
+
* @return CreateSM2CertResponse
|
|
6256
|
+
*/
|
|
6257
|
+
createSM2Cert(request: CreateSM2CertRequest): Promise<CreateSM2CertResponse>;
|
|
6139
6258
|
/**
|
|
6140
6259
|
* @summary 删除API安全风险
|
|
6141
6260
|
*
|
|
@@ -6317,7 +6436,7 @@ export default class Client extends OpenApi {
|
|
|
6317
6436
|
*/
|
|
6318
6437
|
describeApisecEventDomainStatistic(request: DescribeApisecEventDomainStatisticRequest): Promise<DescribeApisecEventDomainStatisticResponse>;
|
|
6319
6438
|
/**
|
|
6320
|
-
* @summary
|
|
6439
|
+
* @summary Queries the configurations of API security log subscription.
|
|
6321
6440
|
*
|
|
6322
6441
|
* @param request DescribeApisecLogDeliveriesRequest
|
|
6323
6442
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6325,7 +6444,7 @@ export default class Client extends OpenApi {
|
|
|
6325
6444
|
*/
|
|
6326
6445
|
describeApisecLogDeliveriesWithOptions(request: DescribeApisecLogDeliveriesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecLogDeliveriesResponse>;
|
|
6327
6446
|
/**
|
|
6328
|
-
* @summary
|
|
6447
|
+
* @summary Queries the configurations of API security log subscription.
|
|
6329
6448
|
*
|
|
6330
6449
|
* @param request DescribeApisecLogDeliveriesRequest
|
|
6331
6450
|
* @return DescribeApisecLogDeliveriesResponse
|
|
@@ -6347,7 +6466,7 @@ export default class Client extends OpenApi {
|
|
|
6347
6466
|
*/
|
|
6348
6467
|
describeApisecSensitiveDomainStatistic(request: DescribeApisecSensitiveDomainStatisticRequest): Promise<DescribeApisecSensitiveDomainStatisticResponse>;
|
|
6349
6468
|
/**
|
|
6350
|
-
* @summary
|
|
6469
|
+
* @summary Queries the Logstores whose names start with apisec- in Simple Log Service.
|
|
6351
6470
|
*
|
|
6352
6471
|
* @param request DescribeApisecSlsLogStoresRequest
|
|
6353
6472
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6355,14 +6474,14 @@ export default class Client extends OpenApi {
|
|
|
6355
6474
|
*/
|
|
6356
6475
|
describeApisecSlsLogStoresWithOptions(request: DescribeApisecSlsLogStoresRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSlsLogStoresResponse>;
|
|
6357
6476
|
/**
|
|
6358
|
-
* @summary
|
|
6477
|
+
* @summary Queries the Logstores whose names start with apisec- in Simple Log Service.
|
|
6359
6478
|
*
|
|
6360
6479
|
* @param request DescribeApisecSlsLogStoresRequest
|
|
6361
6480
|
* @return DescribeApisecSlsLogStoresResponse
|
|
6362
6481
|
*/
|
|
6363
6482
|
describeApisecSlsLogStores(request: DescribeApisecSlsLogStoresRequest): Promise<DescribeApisecSlsLogStoresResponse>;
|
|
6364
6483
|
/**
|
|
6365
|
-
* @summary
|
|
6484
|
+
* @summary Queries the projects whose names start with apisec- in Simple Log Service.
|
|
6366
6485
|
*
|
|
6367
6486
|
* @param request DescribeApisecSlsProjectsRequest
|
|
6368
6487
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6370,7 +6489,7 @@ export default class Client extends OpenApi {
|
|
|
6370
6489
|
*/
|
|
6371
6490
|
describeApisecSlsProjectsWithOptions(request: DescribeApisecSlsProjectsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSlsProjectsResponse>;
|
|
6372
6491
|
/**
|
|
6373
|
-
* @summary
|
|
6492
|
+
* @summary Queries the projects whose names start with apisec- in Simple Log Service.
|
|
6374
6493
|
*
|
|
6375
6494
|
* @param request DescribeApisecSlsProjectsRequest
|
|
6376
6495
|
* @return DescribeApisecSlsProjectsResponse
|
|
@@ -6421,6 +6540,21 @@ export default class Client extends OpenApi {
|
|
|
6421
6540
|
* @return DescribeCloudResourcesResponse
|
|
6422
6541
|
*/
|
|
6423
6542
|
describeCloudResources(request: DescribeCloudResourcesRequest): Promise<DescribeCloudResourcesResponse>;
|
|
6543
|
+
/**
|
|
6544
|
+
* @summary Checks whether DDoS attacks occur on specific domain names protected by a Web Application Firewall (WAF) instance.
|
|
6545
|
+
*
|
|
6546
|
+
* @param request DescribeDDoSStatusRequest
|
|
6547
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6548
|
+
* @return DescribeDDoSStatusResponse
|
|
6549
|
+
*/
|
|
6550
|
+
describeDDoSStatusWithOptions(request: DescribeDDoSStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDoSStatusResponse>;
|
|
6551
|
+
/**
|
|
6552
|
+
* @summary Checks whether DDoS attacks occur on specific domain names protected by a Web Application Firewall (WAF) instance.
|
|
6553
|
+
*
|
|
6554
|
+
* @param request DescribeDDoSStatusRequest
|
|
6555
|
+
* @return DescribeDDoSStatusResponse
|
|
6556
|
+
*/
|
|
6557
|
+
describeDDoSStatus(request: DescribeDDoSStatusRequest): Promise<DescribeDDoSStatusResponse>;
|
|
6424
6558
|
/**
|
|
6425
6559
|
* @summary Queries the information about a protected object.
|
|
6426
6560
|
*
|
|
@@ -7232,7 +7366,7 @@ export default class Client extends OpenApi {
|
|
|
7232
7366
|
*/
|
|
7233
7367
|
listTagValues(request: ListTagValuesRequest): Promise<ListTagValuesResponse>;
|
|
7234
7368
|
/**
|
|
7235
|
-
* @summary
|
|
7369
|
+
* @summary Modifies the configurations of API security log subscription.
|
|
7236
7370
|
*
|
|
7237
7371
|
* @param request ModifyApisecLogDeliveryRequest
|
|
7238
7372
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7240,14 +7374,14 @@ export default class Client extends OpenApi {
|
|
|
7240
7374
|
*/
|
|
7241
7375
|
modifyApisecLogDeliveryWithOptions(request: ModifyApisecLogDeliveryRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApisecLogDeliveryResponse>;
|
|
7242
7376
|
/**
|
|
7243
|
-
* @summary
|
|
7377
|
+
* @summary Modifies the configurations of API security log subscription.
|
|
7244
7378
|
*
|
|
7245
7379
|
* @param request ModifyApisecLogDeliveryRequest
|
|
7246
7380
|
* @return ModifyApisecLogDeliveryResponse
|
|
7247
7381
|
*/
|
|
7248
7382
|
modifyApisecLogDelivery(request: ModifyApisecLogDeliveryRequest): Promise<ModifyApisecLogDeliveryResponse>;
|
|
7249
7383
|
/**
|
|
7250
|
-
* @summary
|
|
7384
|
+
* @summary Modifies the status of API security log subscription.
|
|
7251
7385
|
*
|
|
7252
7386
|
* @param request ModifyApisecLogDeliveryStatusRequest
|
|
7253
7387
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7255,7 +7389,7 @@ export default class Client extends OpenApi {
|
|
|
7255
7389
|
*/
|
|
7256
7390
|
modifyApisecLogDeliveryStatusWithOptions(request: ModifyApisecLogDeliveryStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApisecLogDeliveryStatusResponse>;
|
|
7257
7391
|
/**
|
|
7258
|
-
* @summary
|
|
7392
|
+
* @summary Modifies the status of API security log subscription.
|
|
7259
7393
|
*
|
|
7260
7394
|
* @param request ModifyApisecLogDeliveryStatusRequest
|
|
7261
7395
|
* @return ModifyApisecLogDeliveryStatusResponse
|