@alicloud/waf-openapi20211001 2.6.0 → 3.1.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 CHANGED
@@ -978,6 +978,49 @@ export declare class DescribeApisecEventDomainStatisticResponse extends $tea.Mod
978
978
  [key: string]: any;
979
979
  });
980
980
  }
981
+ export declare class DescribeApisecLogDeliveriesRequest extends $tea.Model {
982
+ instanceId?: string;
983
+ regionId?: string;
984
+ resourceManagerResourceGroupId?: string;
985
+ static names(): {
986
+ [key: string]: string;
987
+ };
988
+ static types(): {
989
+ [key: string]: any;
990
+ };
991
+ constructor(map?: {
992
+ [key: string]: any;
993
+ });
994
+ }
995
+ export declare class DescribeApisecLogDeliveriesResponseBody extends $tea.Model {
996
+ deliveryConfigs?: DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs[];
997
+ requestId?: string;
998
+ static names(): {
999
+ [key: string]: string;
1000
+ };
1001
+ static types(): {
1002
+ [key: string]: any;
1003
+ };
1004
+ constructor(map?: {
1005
+ [key: string]: any;
1006
+ });
1007
+ }
1008
+ export declare class DescribeApisecLogDeliveriesResponse extends $tea.Model {
1009
+ headers?: {
1010
+ [key: string]: string;
1011
+ };
1012
+ statusCode?: number;
1013
+ body?: DescribeApisecLogDeliveriesResponseBody;
1014
+ static names(): {
1015
+ [key: string]: string;
1016
+ };
1017
+ static types(): {
1018
+ [key: string]: any;
1019
+ };
1020
+ constructor(map?: {
1021
+ [key: string]: any;
1022
+ });
1023
+ }
981
1024
  export declare class DescribeApisecSensitiveDomainStatisticRequest extends $tea.Model {
982
1025
  clusterId?: string;
983
1026
  endTime?: number;
@@ -1030,6 +1073,95 @@ export declare class DescribeApisecSensitiveDomainStatisticResponse extends $tea
1030
1073
  [key: string]: any;
1031
1074
  });
1032
1075
  }
1076
+ export declare class DescribeApisecSlsLogStoresRequest extends $tea.Model {
1077
+ instanceId?: string;
1078
+ logRegionId?: string;
1079
+ projectName?: string;
1080
+ regionId?: string;
1081
+ resourceManagerResourceGroupId?: string;
1082
+ static names(): {
1083
+ [key: string]: string;
1084
+ };
1085
+ static types(): {
1086
+ [key: string]: any;
1087
+ };
1088
+ constructor(map?: {
1089
+ [key: string]: any;
1090
+ });
1091
+ }
1092
+ export declare class DescribeApisecSlsLogStoresResponseBody extends $tea.Model {
1093
+ logStores?: string[];
1094
+ requestId?: string;
1095
+ static names(): {
1096
+ [key: string]: string;
1097
+ };
1098
+ static types(): {
1099
+ [key: string]: any;
1100
+ };
1101
+ constructor(map?: {
1102
+ [key: string]: any;
1103
+ });
1104
+ }
1105
+ export declare class DescribeApisecSlsLogStoresResponse extends $tea.Model {
1106
+ headers?: {
1107
+ [key: string]: string;
1108
+ };
1109
+ statusCode?: number;
1110
+ body?: DescribeApisecSlsLogStoresResponseBody;
1111
+ static names(): {
1112
+ [key: string]: string;
1113
+ };
1114
+ static types(): {
1115
+ [key: string]: any;
1116
+ };
1117
+ constructor(map?: {
1118
+ [key: string]: any;
1119
+ });
1120
+ }
1121
+ export declare class DescribeApisecSlsProjectsRequest extends $tea.Model {
1122
+ instanceId?: string;
1123
+ logRegionId?: string;
1124
+ regionId?: string;
1125
+ resourceManagerResourceGroupId?: string;
1126
+ static names(): {
1127
+ [key: string]: string;
1128
+ };
1129
+ static types(): {
1130
+ [key: string]: any;
1131
+ };
1132
+ constructor(map?: {
1133
+ [key: string]: any;
1134
+ });
1135
+ }
1136
+ export declare class DescribeApisecSlsProjectsResponseBody extends $tea.Model {
1137
+ projects?: string[];
1138
+ requestId?: string;
1139
+ static names(): {
1140
+ [key: string]: string;
1141
+ };
1142
+ static types(): {
1143
+ [key: string]: any;
1144
+ };
1145
+ constructor(map?: {
1146
+ [key: string]: any;
1147
+ });
1148
+ }
1149
+ export declare class DescribeApisecSlsProjectsResponse extends $tea.Model {
1150
+ headers?: {
1151
+ [key: string]: string;
1152
+ };
1153
+ statusCode?: number;
1154
+ body?: DescribeApisecSlsProjectsResponseBody;
1155
+ static names(): {
1156
+ [key: string]: string;
1157
+ };
1158
+ static types(): {
1159
+ [key: string]: any;
1160
+ };
1161
+ constructor(map?: {
1162
+ [key: string]: any;
1163
+ });
1164
+ }
1033
1165
  export declare class DescribeCertDetailRequest extends $tea.Model {
1034
1166
  certIdentifier?: string;
1035
1167
  instanceId?: string;
@@ -2307,6 +2439,49 @@ export declare class DescribeMemberAccountsResponse extends $tea.Model {
2307
2439
  [key: string]: any;
2308
2440
  });
2309
2441
  }
2442
+ export declare class DescribePauseProtectionStatusRequest extends $tea.Model {
2443
+ instanceId?: string;
2444
+ regionId?: string;
2445
+ resourceManagerResourceGroupId?: string;
2446
+ static names(): {
2447
+ [key: string]: string;
2448
+ };
2449
+ static types(): {
2450
+ [key: string]: any;
2451
+ };
2452
+ constructor(map?: {
2453
+ [key: string]: any;
2454
+ });
2455
+ }
2456
+ export declare class DescribePauseProtectionStatusResponseBody extends $tea.Model {
2457
+ pauseStatus?: number;
2458
+ requestId?: string;
2459
+ static names(): {
2460
+ [key: string]: string;
2461
+ };
2462
+ static types(): {
2463
+ [key: string]: any;
2464
+ };
2465
+ constructor(map?: {
2466
+ [key: string]: any;
2467
+ });
2468
+ }
2469
+ export declare class DescribePauseProtectionStatusResponse extends $tea.Model {
2470
+ headers?: {
2471
+ [key: string]: string;
2472
+ };
2473
+ statusCode?: number;
2474
+ body?: DescribePauseProtectionStatusResponseBody;
2475
+ static names(): {
2476
+ [key: string]: string;
2477
+ };
2478
+ static types(): {
2479
+ [key: string]: any;
2480
+ };
2481
+ constructor(map?: {
2482
+ [key: string]: any;
2483
+ });
2484
+ }
2310
2485
  export declare class DescribePeakTrendRequest extends $tea.Model {
2311
2486
  endTimestamp?: string;
2312
2487
  instanceId?: string;
@@ -3626,6 +3801,96 @@ export declare class ListTagValuesResponse extends $tea.Model {
3626
3801
  [key: string]: any;
3627
3802
  });
3628
3803
  }
3804
+ export declare class ModifyApisecLogDeliveryRequest extends $tea.Model {
3805
+ assertKey?: string;
3806
+ instanceId?: string;
3807
+ logRegionId?: string;
3808
+ logStoreName?: string;
3809
+ projectName?: string;
3810
+ regionId?: string;
3811
+ resourceManagerResourceGroupId?: string;
3812
+ static names(): {
3813
+ [key: string]: string;
3814
+ };
3815
+ static types(): {
3816
+ [key: string]: any;
3817
+ };
3818
+ constructor(map?: {
3819
+ [key: string]: any;
3820
+ });
3821
+ }
3822
+ export declare class ModifyApisecLogDeliveryResponseBody extends $tea.Model {
3823
+ requestId?: string;
3824
+ static names(): {
3825
+ [key: string]: string;
3826
+ };
3827
+ static types(): {
3828
+ [key: string]: any;
3829
+ };
3830
+ constructor(map?: {
3831
+ [key: string]: any;
3832
+ });
3833
+ }
3834
+ export declare class ModifyApisecLogDeliveryResponse extends $tea.Model {
3835
+ headers?: {
3836
+ [key: string]: string;
3837
+ };
3838
+ statusCode?: number;
3839
+ body?: ModifyApisecLogDeliveryResponseBody;
3840
+ static names(): {
3841
+ [key: string]: string;
3842
+ };
3843
+ static types(): {
3844
+ [key: string]: any;
3845
+ };
3846
+ constructor(map?: {
3847
+ [key: string]: any;
3848
+ });
3849
+ }
3850
+ export declare class ModifyApisecLogDeliveryStatusRequest extends $tea.Model {
3851
+ assertKey?: string;
3852
+ instanceId?: string;
3853
+ regionId?: string;
3854
+ resourceManagerResourceGroupId?: string;
3855
+ status?: boolean;
3856
+ static names(): {
3857
+ [key: string]: string;
3858
+ };
3859
+ static types(): {
3860
+ [key: string]: any;
3861
+ };
3862
+ constructor(map?: {
3863
+ [key: string]: any;
3864
+ });
3865
+ }
3866
+ export declare class ModifyApisecLogDeliveryStatusResponseBody extends $tea.Model {
3867
+ requestId?: string;
3868
+ static names(): {
3869
+ [key: string]: string;
3870
+ };
3871
+ static types(): {
3872
+ [key: string]: any;
3873
+ };
3874
+ constructor(map?: {
3875
+ [key: string]: any;
3876
+ });
3877
+ }
3878
+ export declare class ModifyApisecLogDeliveryStatusResponse extends $tea.Model {
3879
+ headers?: {
3880
+ [key: string]: string;
3881
+ };
3882
+ statusCode?: number;
3883
+ body?: ModifyApisecLogDeliveryStatusResponseBody;
3884
+ static names(): {
3885
+ [key: string]: string;
3886
+ };
3887
+ static types(): {
3888
+ [key: string]: any;
3889
+ };
3890
+ constructor(map?: {
3891
+ [key: string]: any;
3892
+ });
3893
+ }
3629
3894
  export declare class ModifyDefenseResourceGroupRequest extends $tea.Model {
3630
3895
  addList?: string;
3631
3896
  deleteList?: string;
@@ -4183,6 +4448,49 @@ export declare class ModifyMemberAccountResponse extends $tea.Model {
4183
4448
  [key: string]: any;
4184
4449
  });
4185
4450
  }
4451
+ export declare class ModifyPauseProtectionStatusRequest extends $tea.Model {
4452
+ instanceId?: string;
4453
+ pauseStatus?: number;
4454
+ regionId?: string;
4455
+ resourceManagerResourceGroupId?: string;
4456
+ static names(): {
4457
+ [key: string]: string;
4458
+ };
4459
+ static types(): {
4460
+ [key: string]: any;
4461
+ };
4462
+ constructor(map?: {
4463
+ [key: string]: any;
4464
+ });
4465
+ }
4466
+ export declare class ModifyPauseProtectionStatusResponseBody extends $tea.Model {
4467
+ requestId?: string;
4468
+ static names(): {
4469
+ [key: string]: string;
4470
+ };
4471
+ static types(): {
4472
+ [key: string]: any;
4473
+ };
4474
+ constructor(map?: {
4475
+ [key: string]: any;
4476
+ });
4477
+ }
4478
+ export declare class ModifyPauseProtectionStatusResponse extends $tea.Model {
4479
+ headers?: {
4480
+ [key: string]: string;
4481
+ };
4482
+ statusCode?: number;
4483
+ body?: ModifyPauseProtectionStatusResponseBody;
4484
+ static names(): {
4485
+ [key: string]: string;
4486
+ };
4487
+ static types(): {
4488
+ [key: string]: any;
4489
+ };
4490
+ constructor(map?: {
4491
+ [key: string]: any;
4492
+ });
4493
+ }
4186
4494
  export declare class ModifyResourceLogStatusRequest extends $tea.Model {
4187
4495
  instanceId?: string;
4188
4496
  regionId?: string;
@@ -4532,6 +4840,22 @@ export declare class DescribeApisecEventDomainStatisticResponseBodyData extends
4532
4840
  [key: string]: any;
4533
4841
  });
4534
4842
  }
4843
+ export declare class DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs extends $tea.Model {
4844
+ assertKey?: string;
4845
+ logRegionId?: string;
4846
+ logStoreName?: string;
4847
+ projectName?: string;
4848
+ status?: boolean;
4849
+ static names(): {
4850
+ [key: string]: string;
4851
+ };
4852
+ static types(): {
4853
+ [key: string]: any;
4854
+ };
4855
+ constructor(map?: {
4856
+ [key: string]: any;
4857
+ });
4858
+ }
4535
4859
  export declare class DescribeApisecSensitiveDomainStatisticResponseBodyData extends $tea.Model {
4536
4860
  apiCount?: number;
4537
4861
  domainCount?: number;
@@ -4835,7 +5159,7 @@ export declare class DescribeDomainDetailResponseBodyListen extends $tea.Model {
4835
5159
  IPv6Enabled?: boolean;
4836
5160
  protectionResource?: string;
4837
5161
  SM2AccessOnly?: boolean;
4838
- SM2CertId?: boolean;
5162
+ SM2CertId?: string;
4839
5163
  SM2Enabled?: boolean;
4840
5164
  TLSVersion?: string;
4841
5165
  xffHeaderMode?: number;
@@ -5992,6 +6316,21 @@ export default class Client extends OpenApi {
5992
6316
  * @return DescribeApisecEventDomainStatisticResponse
5993
6317
  */
5994
6318
  describeApisecEventDomainStatistic(request: DescribeApisecEventDomainStatisticRequest): Promise<DescribeApisecEventDomainStatisticResponse>;
6319
+ /**
6320
+ * @summary 获取API安全日志订阅列表
6321
+ *
6322
+ * @param request DescribeApisecLogDeliveriesRequest
6323
+ * @param runtime runtime options for this request RuntimeOptions
6324
+ * @return DescribeApisecLogDeliveriesResponse
6325
+ */
6326
+ describeApisecLogDeliveriesWithOptions(request: DescribeApisecLogDeliveriesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecLogDeliveriesResponse>;
6327
+ /**
6328
+ * @summary 获取API安全日志订阅列表
6329
+ *
6330
+ * @param request DescribeApisecLogDeliveriesRequest
6331
+ * @return DescribeApisecLogDeliveriesResponse
6332
+ */
6333
+ describeApisecLogDeliveries(request: DescribeApisecLogDeliveriesRequest): Promise<DescribeApisecLogDeliveriesResponse>;
5995
6334
  /**
5996
6335
  * @summary 查询API安全敏感数据类型统计
5997
6336
  *
@@ -6007,6 +6346,36 @@ export default class Client extends OpenApi {
6007
6346
  * @return DescribeApisecSensitiveDomainStatisticResponse
6008
6347
  */
6009
6348
  describeApisecSensitiveDomainStatistic(request: DescribeApisecSensitiveDomainStatisticRequest): Promise<DescribeApisecSensitiveDomainStatisticResponse>;
6349
+ /**
6350
+ * @summary 查询日志服务SLS的LogStore列表
6351
+ *
6352
+ * @param request DescribeApisecSlsLogStoresRequest
6353
+ * @param runtime runtime options for this request RuntimeOptions
6354
+ * @return DescribeApisecSlsLogStoresResponse
6355
+ */
6356
+ describeApisecSlsLogStoresWithOptions(request: DescribeApisecSlsLogStoresRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSlsLogStoresResponse>;
6357
+ /**
6358
+ * @summary 查询日志服务SLS的LogStore列表
6359
+ *
6360
+ * @param request DescribeApisecSlsLogStoresRequest
6361
+ * @return DescribeApisecSlsLogStoresResponse
6362
+ */
6363
+ describeApisecSlsLogStores(request: DescribeApisecSlsLogStoresRequest): Promise<DescribeApisecSlsLogStoresResponse>;
6364
+ /**
6365
+ * @summary 查询日志服务SLS的Project列表
6366
+ *
6367
+ * @param request DescribeApisecSlsProjectsRequest
6368
+ * @param runtime runtime options for this request RuntimeOptions
6369
+ * @return DescribeApisecSlsProjectsResponse
6370
+ */
6371
+ describeApisecSlsProjectsWithOptions(request: DescribeApisecSlsProjectsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSlsProjectsResponse>;
6372
+ /**
6373
+ * @summary 查询日志服务SLS的Project列表
6374
+ *
6375
+ * @param request DescribeApisecSlsProjectsRequest
6376
+ * @return DescribeApisecSlsProjectsResponse
6377
+ */
6378
+ describeApisecSlsProjects(request: DescribeApisecSlsProjectsRequest): Promise<DescribeApisecSlsProjectsResponse>;
6010
6379
  /**
6011
6380
  * @summary Queries the details of a certificate, such as the certificate name, expiration time, issuance time, and associated domain name.
6012
6381
  *
@@ -6412,6 +6781,21 @@ export default class Client extends OpenApi {
6412
6781
  * @return DescribeMemberAccountsResponse
6413
6782
  */
6414
6783
  describeMemberAccounts(request: DescribeMemberAccountsRequest): Promise<DescribeMemberAccountsResponse>;
6784
+ /**
6785
+ * @summary 获取用户暂停防护状态
6786
+ *
6787
+ * @param request DescribePauseProtectionStatusRequest
6788
+ * @param runtime runtime options for this request RuntimeOptions
6789
+ * @return DescribePauseProtectionStatusResponse
6790
+ */
6791
+ describePauseProtectionStatusWithOptions(request: DescribePauseProtectionStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePauseProtectionStatusResponse>;
6792
+ /**
6793
+ * @summary 获取用户暂停防护状态
6794
+ *
6795
+ * @param request DescribePauseProtectionStatusRequest
6796
+ * @return DescribePauseProtectionStatusResponse
6797
+ */
6798
+ describePauseProtectionStatus(request: DescribePauseProtectionStatusRequest): Promise<DescribePauseProtectionStatusResponse>;
6415
6799
  /**
6416
6800
  * @summary Queries the queries per second (QPS) statistics of a WAF instance.
6417
6801
  *
@@ -6847,6 +7231,36 @@ export default class Client extends OpenApi {
6847
7231
  * @return ListTagValuesResponse
6848
7232
  */
6849
7233
  listTagValues(request: ListTagValuesRequest): Promise<ListTagValuesResponse>;
7234
+ /**
7235
+ * @summary 修改API安全日志订阅
7236
+ *
7237
+ * @param request ModifyApisecLogDeliveryRequest
7238
+ * @param runtime runtime options for this request RuntimeOptions
7239
+ * @return ModifyApisecLogDeliveryResponse
7240
+ */
7241
+ modifyApisecLogDeliveryWithOptions(request: ModifyApisecLogDeliveryRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApisecLogDeliveryResponse>;
7242
+ /**
7243
+ * @summary 修改API安全日志订阅
7244
+ *
7245
+ * @param request ModifyApisecLogDeliveryRequest
7246
+ * @return ModifyApisecLogDeliveryResponse
7247
+ */
7248
+ modifyApisecLogDelivery(request: ModifyApisecLogDeliveryRequest): Promise<ModifyApisecLogDeliveryResponse>;
7249
+ /**
7250
+ * @summary 修改API安全日志订阅状态
7251
+ *
7252
+ * @param request ModifyApisecLogDeliveryStatusRequest
7253
+ * @param runtime runtime options for this request RuntimeOptions
7254
+ * @return ModifyApisecLogDeliveryStatusResponse
7255
+ */
7256
+ modifyApisecLogDeliveryStatusWithOptions(request: ModifyApisecLogDeliveryStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApisecLogDeliveryStatusResponse>;
7257
+ /**
7258
+ * @summary 修改API安全日志订阅状态
7259
+ *
7260
+ * @param request ModifyApisecLogDeliveryStatusRequest
7261
+ * @return ModifyApisecLogDeliveryStatusResponse
7262
+ */
7263
+ modifyApisecLogDeliveryStatus(request: ModifyApisecLogDeliveryStatusRequest): Promise<ModifyApisecLogDeliveryStatusResponse>;
6850
7264
  /**
6851
7265
  * @summary Modifies the configurations of a protected object group.
6852
7266
  *
@@ -7027,6 +7441,21 @@ export default class Client extends OpenApi {
7027
7441
  * @return ModifyMemberAccountResponse
7028
7442
  */
7029
7443
  modifyMemberAccount(request: ModifyMemberAccountRequest): Promise<ModifyMemberAccountResponse>;
7444
+ /**
7445
+ * @summary 修改用户暂停防护状态
7446
+ *
7447
+ * @param request ModifyPauseProtectionStatusRequest
7448
+ * @param runtime runtime options for this request RuntimeOptions
7449
+ * @return ModifyPauseProtectionStatusResponse
7450
+ */
7451
+ modifyPauseProtectionStatusWithOptions(request: ModifyPauseProtectionStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPauseProtectionStatusResponse>;
7452
+ /**
7453
+ * @summary 修改用户暂停防护状态
7454
+ *
7455
+ * @param request ModifyPauseProtectionStatusRequest
7456
+ * @return ModifyPauseProtectionStatusResponse
7457
+ */
7458
+ modifyPauseProtectionStatus(request: ModifyPauseProtectionStatusRequest): Promise<ModifyPauseProtectionStatusResponse>;
7030
7459
  /**
7031
7460
  * @summary Enables or disables the log collection feature for a protected object.
7032
7461
  *