@alicloud/waf-openapi20211001 3.1.0 → 3.3.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 +201 -10
- package/dist/client.js +368 -18
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +430 -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;
|
|
@@ -4583,6 +4674,48 @@ export declare class ModifyTemplateResourcesResponse extends $tea.Model {
|
|
|
4583
4674
|
[key: string]: any;
|
|
4584
4675
|
});
|
|
4585
4676
|
}
|
|
4677
|
+
export declare class ReleaseInstanceRequest extends $tea.Model {
|
|
4678
|
+
instanceId?: string;
|
|
4679
|
+
regionId?: string;
|
|
4680
|
+
resourceManagerResourceGroupId?: string;
|
|
4681
|
+
static names(): {
|
|
4682
|
+
[key: string]: string;
|
|
4683
|
+
};
|
|
4684
|
+
static types(): {
|
|
4685
|
+
[key: string]: any;
|
|
4686
|
+
};
|
|
4687
|
+
constructor(map?: {
|
|
4688
|
+
[key: string]: any;
|
|
4689
|
+
});
|
|
4690
|
+
}
|
|
4691
|
+
export declare class ReleaseInstanceResponseBody extends $tea.Model {
|
|
4692
|
+
requestId?: string;
|
|
4693
|
+
static names(): {
|
|
4694
|
+
[key: string]: string;
|
|
4695
|
+
};
|
|
4696
|
+
static types(): {
|
|
4697
|
+
[key: string]: any;
|
|
4698
|
+
};
|
|
4699
|
+
constructor(map?: {
|
|
4700
|
+
[key: string]: any;
|
|
4701
|
+
});
|
|
4702
|
+
}
|
|
4703
|
+
export declare class ReleaseInstanceResponse extends $tea.Model {
|
|
4704
|
+
headers?: {
|
|
4705
|
+
[key: string]: string;
|
|
4706
|
+
};
|
|
4707
|
+
statusCode?: number;
|
|
4708
|
+
body?: ReleaseInstanceResponseBody;
|
|
4709
|
+
static names(): {
|
|
4710
|
+
[key: string]: string;
|
|
4711
|
+
};
|
|
4712
|
+
static types(): {
|
|
4713
|
+
[key: string]: any;
|
|
4714
|
+
};
|
|
4715
|
+
constructor(map?: {
|
|
4716
|
+
[key: string]: any;
|
|
4717
|
+
});
|
|
4718
|
+
}
|
|
4586
4719
|
export declare class SyncProductInstanceRequest extends $tea.Model {
|
|
4587
4720
|
instanceId?: string;
|
|
4588
4721
|
regionId?: string;
|
|
@@ -4928,6 +5061,19 @@ export declare class DescribeCloudResourcesResponseBodyCloudResources extends $t
|
|
|
4928
5061
|
[key: string]: any;
|
|
4929
5062
|
});
|
|
4930
5063
|
}
|
|
5064
|
+
export declare class DescribeDDoSStatusResponseBodyDDoSStatus extends $tea.Model {
|
|
5065
|
+
eventType?: string;
|
|
5066
|
+
status?: string;
|
|
5067
|
+
static names(): {
|
|
5068
|
+
[key: string]: string;
|
|
5069
|
+
};
|
|
5070
|
+
static types(): {
|
|
5071
|
+
[key: string]: any;
|
|
5072
|
+
};
|
|
5073
|
+
constructor(map?: {
|
|
5074
|
+
[key: string]: any;
|
|
5075
|
+
});
|
|
5076
|
+
}
|
|
4931
5077
|
export declare class DescribeDefenseResourceResponseBodyResource extends $tea.Model {
|
|
4932
5078
|
acwCookieStatus?: number;
|
|
4933
5079
|
acwSecureStatus?: number;
|
|
@@ -6136,6 +6282,21 @@ export default class Client extends OpenApi {
|
|
|
6136
6282
|
* @return CreatePostpaidInstanceResponse
|
|
6137
6283
|
*/
|
|
6138
6284
|
createPostpaidInstance(request: CreatePostpaidInstanceRequest): Promise<CreatePostpaidInstanceResponse>;
|
|
6285
|
+
/**
|
|
6286
|
+
* @summary Uploads a ShangMi (SM) certificate for a domain name that is added to Web Application Firewall (WAF) in CNAME record mode.
|
|
6287
|
+
*
|
|
6288
|
+
* @param request CreateSM2CertRequest
|
|
6289
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6290
|
+
* @return CreateSM2CertResponse
|
|
6291
|
+
*/
|
|
6292
|
+
createSM2CertWithOptions(request: CreateSM2CertRequest, runtime: $Util.RuntimeOptions): Promise<CreateSM2CertResponse>;
|
|
6293
|
+
/**
|
|
6294
|
+
* @summary Uploads a ShangMi (SM) certificate for a domain name that is added to Web Application Firewall (WAF) in CNAME record mode.
|
|
6295
|
+
*
|
|
6296
|
+
* @param request CreateSM2CertRequest
|
|
6297
|
+
* @return CreateSM2CertResponse
|
|
6298
|
+
*/
|
|
6299
|
+
createSM2Cert(request: CreateSM2CertRequest): Promise<CreateSM2CertResponse>;
|
|
6139
6300
|
/**
|
|
6140
6301
|
* @summary 删除API安全风险
|
|
6141
6302
|
*
|
|
@@ -6317,7 +6478,7 @@ export default class Client extends OpenApi {
|
|
|
6317
6478
|
*/
|
|
6318
6479
|
describeApisecEventDomainStatistic(request: DescribeApisecEventDomainStatisticRequest): Promise<DescribeApisecEventDomainStatisticResponse>;
|
|
6319
6480
|
/**
|
|
6320
|
-
* @summary
|
|
6481
|
+
* @summary Queries the configurations of API security log subscription.
|
|
6321
6482
|
*
|
|
6322
6483
|
* @param request DescribeApisecLogDeliveriesRequest
|
|
6323
6484
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6325,7 +6486,7 @@ export default class Client extends OpenApi {
|
|
|
6325
6486
|
*/
|
|
6326
6487
|
describeApisecLogDeliveriesWithOptions(request: DescribeApisecLogDeliveriesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecLogDeliveriesResponse>;
|
|
6327
6488
|
/**
|
|
6328
|
-
* @summary
|
|
6489
|
+
* @summary Queries the configurations of API security log subscription.
|
|
6329
6490
|
*
|
|
6330
6491
|
* @param request DescribeApisecLogDeliveriesRequest
|
|
6331
6492
|
* @return DescribeApisecLogDeliveriesResponse
|
|
@@ -6347,7 +6508,7 @@ export default class Client extends OpenApi {
|
|
|
6347
6508
|
*/
|
|
6348
6509
|
describeApisecSensitiveDomainStatistic(request: DescribeApisecSensitiveDomainStatisticRequest): Promise<DescribeApisecSensitiveDomainStatisticResponse>;
|
|
6349
6510
|
/**
|
|
6350
|
-
* @summary
|
|
6511
|
+
* @summary Queries the Logstores whose names start with apisec- in Simple Log Service.
|
|
6351
6512
|
*
|
|
6352
6513
|
* @param request DescribeApisecSlsLogStoresRequest
|
|
6353
6514
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6355,14 +6516,14 @@ export default class Client extends OpenApi {
|
|
|
6355
6516
|
*/
|
|
6356
6517
|
describeApisecSlsLogStoresWithOptions(request: DescribeApisecSlsLogStoresRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSlsLogStoresResponse>;
|
|
6357
6518
|
/**
|
|
6358
|
-
* @summary
|
|
6519
|
+
* @summary Queries the Logstores whose names start with apisec- in Simple Log Service.
|
|
6359
6520
|
*
|
|
6360
6521
|
* @param request DescribeApisecSlsLogStoresRequest
|
|
6361
6522
|
* @return DescribeApisecSlsLogStoresResponse
|
|
6362
6523
|
*/
|
|
6363
6524
|
describeApisecSlsLogStores(request: DescribeApisecSlsLogStoresRequest): Promise<DescribeApisecSlsLogStoresResponse>;
|
|
6364
6525
|
/**
|
|
6365
|
-
* @summary
|
|
6526
|
+
* @summary Queries the projects whose names start with apisec- in Simple Log Service.
|
|
6366
6527
|
*
|
|
6367
6528
|
* @param request DescribeApisecSlsProjectsRequest
|
|
6368
6529
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6370,7 +6531,7 @@ export default class Client extends OpenApi {
|
|
|
6370
6531
|
*/
|
|
6371
6532
|
describeApisecSlsProjectsWithOptions(request: DescribeApisecSlsProjectsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSlsProjectsResponse>;
|
|
6372
6533
|
/**
|
|
6373
|
-
* @summary
|
|
6534
|
+
* @summary Queries the projects whose names start with apisec- in Simple Log Service.
|
|
6374
6535
|
*
|
|
6375
6536
|
* @param request DescribeApisecSlsProjectsRequest
|
|
6376
6537
|
* @return DescribeApisecSlsProjectsResponse
|
|
@@ -6421,6 +6582,21 @@ export default class Client extends OpenApi {
|
|
|
6421
6582
|
* @return DescribeCloudResourcesResponse
|
|
6422
6583
|
*/
|
|
6423
6584
|
describeCloudResources(request: DescribeCloudResourcesRequest): Promise<DescribeCloudResourcesResponse>;
|
|
6585
|
+
/**
|
|
6586
|
+
* @summary Checks whether DDoS attacks occur on specific domain names protected by a Web Application Firewall (WAF) instance.
|
|
6587
|
+
*
|
|
6588
|
+
* @param request DescribeDDoSStatusRequest
|
|
6589
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6590
|
+
* @return DescribeDDoSStatusResponse
|
|
6591
|
+
*/
|
|
6592
|
+
describeDDoSStatusWithOptions(request: DescribeDDoSStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDDoSStatusResponse>;
|
|
6593
|
+
/**
|
|
6594
|
+
* @summary Checks whether DDoS attacks occur on specific domain names protected by a Web Application Firewall (WAF) instance.
|
|
6595
|
+
*
|
|
6596
|
+
* @param request DescribeDDoSStatusRequest
|
|
6597
|
+
* @return DescribeDDoSStatusResponse
|
|
6598
|
+
*/
|
|
6599
|
+
describeDDoSStatus(request: DescribeDDoSStatusRequest): Promise<DescribeDDoSStatusResponse>;
|
|
6424
6600
|
/**
|
|
6425
6601
|
* @summary Queries the information about a protected object.
|
|
6426
6602
|
*
|
|
@@ -7232,7 +7408,7 @@ export default class Client extends OpenApi {
|
|
|
7232
7408
|
*/
|
|
7233
7409
|
listTagValues(request: ListTagValuesRequest): Promise<ListTagValuesResponse>;
|
|
7234
7410
|
/**
|
|
7235
|
-
* @summary
|
|
7411
|
+
* @summary Modifies the configurations of API security log subscription.
|
|
7236
7412
|
*
|
|
7237
7413
|
* @param request ModifyApisecLogDeliveryRequest
|
|
7238
7414
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7240,14 +7416,14 @@ export default class Client extends OpenApi {
|
|
|
7240
7416
|
*/
|
|
7241
7417
|
modifyApisecLogDeliveryWithOptions(request: ModifyApisecLogDeliveryRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApisecLogDeliveryResponse>;
|
|
7242
7418
|
/**
|
|
7243
|
-
* @summary
|
|
7419
|
+
* @summary Modifies the configurations of API security log subscription.
|
|
7244
7420
|
*
|
|
7245
7421
|
* @param request ModifyApisecLogDeliveryRequest
|
|
7246
7422
|
* @return ModifyApisecLogDeliveryResponse
|
|
7247
7423
|
*/
|
|
7248
7424
|
modifyApisecLogDelivery(request: ModifyApisecLogDeliveryRequest): Promise<ModifyApisecLogDeliveryResponse>;
|
|
7249
7425
|
/**
|
|
7250
|
-
* @summary
|
|
7426
|
+
* @summary Modifies the status of API security log subscription.
|
|
7251
7427
|
*
|
|
7252
7428
|
* @param request ModifyApisecLogDeliveryStatusRequest
|
|
7253
7429
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7255,7 +7431,7 @@ export default class Client extends OpenApi {
|
|
|
7255
7431
|
*/
|
|
7256
7432
|
modifyApisecLogDeliveryStatusWithOptions(request: ModifyApisecLogDeliveryStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApisecLogDeliveryStatusResponse>;
|
|
7257
7433
|
/**
|
|
7258
|
-
* @summary
|
|
7434
|
+
* @summary Modifies the status of API security log subscription.
|
|
7259
7435
|
*
|
|
7260
7436
|
* @param request ModifyApisecLogDeliveryStatusRequest
|
|
7261
7437
|
* @return ModifyApisecLogDeliveryStatusResponse
|
|
@@ -7486,6 +7662,21 @@ export default class Client extends OpenApi {
|
|
|
7486
7662
|
* @return ModifyTemplateResourcesResponse
|
|
7487
7663
|
*/
|
|
7488
7664
|
modifyTemplateResources(request: ModifyTemplateResourcesRequest): Promise<ModifyTemplateResourcesResponse>;
|
|
7665
|
+
/**
|
|
7666
|
+
* @summary 释放实例
|
|
7667
|
+
*
|
|
7668
|
+
* @param request ReleaseInstanceRequest
|
|
7669
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7670
|
+
* @return ReleaseInstanceResponse
|
|
7671
|
+
*/
|
|
7672
|
+
releaseInstanceWithOptions(request: ReleaseInstanceRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseInstanceResponse>;
|
|
7673
|
+
/**
|
|
7674
|
+
* @summary 释放实例
|
|
7675
|
+
*
|
|
7676
|
+
* @param request ReleaseInstanceRequest
|
|
7677
|
+
* @return ReleaseInstanceResponse
|
|
7678
|
+
*/
|
|
7679
|
+
releaseInstance(request: ReleaseInstanceRequest): Promise<ReleaseInstanceResponse>;
|
|
7489
7680
|
/**
|
|
7490
7681
|
* @summary Synchronizes Elastic Compute Service (ECS) instances and Classic Load Balancer (CLB) instances to Web Application Firewall (WAF).
|
|
7491
7682
|
*
|