@alicloud/waf-openapi20211001 2.6.0 → 3.0.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;
@@ -3626,6 +3758,96 @@ export declare class ListTagValuesResponse extends $tea.Model {
3626
3758
  [key: string]: any;
3627
3759
  });
3628
3760
  }
3761
+ export declare class ModifyApisecLogDeliveryRequest extends $tea.Model {
3762
+ assertKey?: string;
3763
+ instanceId?: string;
3764
+ logRegionId?: string;
3765
+ logStoreName?: string;
3766
+ projectName?: string;
3767
+ regionId?: string;
3768
+ resourceManagerResourceGroupId?: string;
3769
+ static names(): {
3770
+ [key: string]: string;
3771
+ };
3772
+ static types(): {
3773
+ [key: string]: any;
3774
+ };
3775
+ constructor(map?: {
3776
+ [key: string]: any;
3777
+ });
3778
+ }
3779
+ export declare class ModifyApisecLogDeliveryResponseBody extends $tea.Model {
3780
+ requestId?: string;
3781
+ static names(): {
3782
+ [key: string]: string;
3783
+ };
3784
+ static types(): {
3785
+ [key: string]: any;
3786
+ };
3787
+ constructor(map?: {
3788
+ [key: string]: any;
3789
+ });
3790
+ }
3791
+ export declare class ModifyApisecLogDeliveryResponse extends $tea.Model {
3792
+ headers?: {
3793
+ [key: string]: string;
3794
+ };
3795
+ statusCode?: number;
3796
+ body?: ModifyApisecLogDeliveryResponseBody;
3797
+ static names(): {
3798
+ [key: string]: string;
3799
+ };
3800
+ static types(): {
3801
+ [key: string]: any;
3802
+ };
3803
+ constructor(map?: {
3804
+ [key: string]: any;
3805
+ });
3806
+ }
3807
+ export declare class ModifyApisecLogDeliveryStatusRequest extends $tea.Model {
3808
+ assertKey?: string;
3809
+ instanceId?: string;
3810
+ regionId?: string;
3811
+ resourceManagerResourceGroupId?: string;
3812
+ status?: boolean;
3813
+ static names(): {
3814
+ [key: string]: string;
3815
+ };
3816
+ static types(): {
3817
+ [key: string]: any;
3818
+ };
3819
+ constructor(map?: {
3820
+ [key: string]: any;
3821
+ });
3822
+ }
3823
+ export declare class ModifyApisecLogDeliveryStatusResponseBody extends $tea.Model {
3824
+ requestId?: string;
3825
+ static names(): {
3826
+ [key: string]: string;
3827
+ };
3828
+ static types(): {
3829
+ [key: string]: any;
3830
+ };
3831
+ constructor(map?: {
3832
+ [key: string]: any;
3833
+ });
3834
+ }
3835
+ export declare class ModifyApisecLogDeliveryStatusResponse extends $tea.Model {
3836
+ headers?: {
3837
+ [key: string]: string;
3838
+ };
3839
+ statusCode?: number;
3840
+ body?: ModifyApisecLogDeliveryStatusResponseBody;
3841
+ static names(): {
3842
+ [key: string]: string;
3843
+ };
3844
+ static types(): {
3845
+ [key: string]: any;
3846
+ };
3847
+ constructor(map?: {
3848
+ [key: string]: any;
3849
+ });
3850
+ }
3629
3851
  export declare class ModifyDefenseResourceGroupRequest extends $tea.Model {
3630
3852
  addList?: string;
3631
3853
  deleteList?: string;
@@ -4532,6 +4754,22 @@ export declare class DescribeApisecEventDomainStatisticResponseBodyData extends
4532
4754
  [key: string]: any;
4533
4755
  });
4534
4756
  }
4757
+ export declare class DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs extends $tea.Model {
4758
+ assertKey?: string;
4759
+ logRegionId?: string;
4760
+ logStoreName?: string;
4761
+ projectName?: string;
4762
+ status?: boolean;
4763
+ static names(): {
4764
+ [key: string]: string;
4765
+ };
4766
+ static types(): {
4767
+ [key: string]: any;
4768
+ };
4769
+ constructor(map?: {
4770
+ [key: string]: any;
4771
+ });
4772
+ }
4535
4773
  export declare class DescribeApisecSensitiveDomainStatisticResponseBodyData extends $tea.Model {
4536
4774
  apiCount?: number;
4537
4775
  domainCount?: number;
@@ -4835,7 +5073,7 @@ export declare class DescribeDomainDetailResponseBodyListen extends $tea.Model {
4835
5073
  IPv6Enabled?: boolean;
4836
5074
  protectionResource?: string;
4837
5075
  SM2AccessOnly?: boolean;
4838
- SM2CertId?: boolean;
5076
+ SM2CertId?: string;
4839
5077
  SM2Enabled?: boolean;
4840
5078
  TLSVersion?: string;
4841
5079
  xffHeaderMode?: number;
@@ -5992,6 +6230,21 @@ export default class Client extends OpenApi {
5992
6230
  * @return DescribeApisecEventDomainStatisticResponse
5993
6231
  */
5994
6232
  describeApisecEventDomainStatistic(request: DescribeApisecEventDomainStatisticRequest): Promise<DescribeApisecEventDomainStatisticResponse>;
6233
+ /**
6234
+ * @summary 获取API安全日志订阅列表
6235
+ *
6236
+ * @param request DescribeApisecLogDeliveriesRequest
6237
+ * @param runtime runtime options for this request RuntimeOptions
6238
+ * @return DescribeApisecLogDeliveriesResponse
6239
+ */
6240
+ describeApisecLogDeliveriesWithOptions(request: DescribeApisecLogDeliveriesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecLogDeliveriesResponse>;
6241
+ /**
6242
+ * @summary 获取API安全日志订阅列表
6243
+ *
6244
+ * @param request DescribeApisecLogDeliveriesRequest
6245
+ * @return DescribeApisecLogDeliveriesResponse
6246
+ */
6247
+ describeApisecLogDeliveries(request: DescribeApisecLogDeliveriesRequest): Promise<DescribeApisecLogDeliveriesResponse>;
5995
6248
  /**
5996
6249
  * @summary 查询API安全敏感数据类型统计
5997
6250
  *
@@ -6007,6 +6260,36 @@ export default class Client extends OpenApi {
6007
6260
  * @return DescribeApisecSensitiveDomainStatisticResponse
6008
6261
  */
6009
6262
  describeApisecSensitiveDomainStatistic(request: DescribeApisecSensitiveDomainStatisticRequest): Promise<DescribeApisecSensitiveDomainStatisticResponse>;
6263
+ /**
6264
+ * @summary 查询日志服务SLS的LogStore列表
6265
+ *
6266
+ * @param request DescribeApisecSlsLogStoresRequest
6267
+ * @param runtime runtime options for this request RuntimeOptions
6268
+ * @return DescribeApisecSlsLogStoresResponse
6269
+ */
6270
+ describeApisecSlsLogStoresWithOptions(request: DescribeApisecSlsLogStoresRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSlsLogStoresResponse>;
6271
+ /**
6272
+ * @summary 查询日志服务SLS的LogStore列表
6273
+ *
6274
+ * @param request DescribeApisecSlsLogStoresRequest
6275
+ * @return DescribeApisecSlsLogStoresResponse
6276
+ */
6277
+ describeApisecSlsLogStores(request: DescribeApisecSlsLogStoresRequest): Promise<DescribeApisecSlsLogStoresResponse>;
6278
+ /**
6279
+ * @summary 查询日志服务SLS的Project列表
6280
+ *
6281
+ * @param request DescribeApisecSlsProjectsRequest
6282
+ * @param runtime runtime options for this request RuntimeOptions
6283
+ * @return DescribeApisecSlsProjectsResponse
6284
+ */
6285
+ describeApisecSlsProjectsWithOptions(request: DescribeApisecSlsProjectsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSlsProjectsResponse>;
6286
+ /**
6287
+ * @summary 查询日志服务SLS的Project列表
6288
+ *
6289
+ * @param request DescribeApisecSlsProjectsRequest
6290
+ * @return DescribeApisecSlsProjectsResponse
6291
+ */
6292
+ describeApisecSlsProjects(request: DescribeApisecSlsProjectsRequest): Promise<DescribeApisecSlsProjectsResponse>;
6010
6293
  /**
6011
6294
  * @summary Queries the details of a certificate, such as the certificate name, expiration time, issuance time, and associated domain name.
6012
6295
  *
@@ -6847,6 +7130,36 @@ export default class Client extends OpenApi {
6847
7130
  * @return ListTagValuesResponse
6848
7131
  */
6849
7132
  listTagValues(request: ListTagValuesRequest): Promise<ListTagValuesResponse>;
7133
+ /**
7134
+ * @summary 修改API安全日志订阅
7135
+ *
7136
+ * @param request ModifyApisecLogDeliveryRequest
7137
+ * @param runtime runtime options for this request RuntimeOptions
7138
+ * @return ModifyApisecLogDeliveryResponse
7139
+ */
7140
+ modifyApisecLogDeliveryWithOptions(request: ModifyApisecLogDeliveryRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApisecLogDeliveryResponse>;
7141
+ /**
7142
+ * @summary 修改API安全日志订阅
7143
+ *
7144
+ * @param request ModifyApisecLogDeliveryRequest
7145
+ * @return ModifyApisecLogDeliveryResponse
7146
+ */
7147
+ modifyApisecLogDelivery(request: ModifyApisecLogDeliveryRequest): Promise<ModifyApisecLogDeliveryResponse>;
7148
+ /**
7149
+ * @summary 修改API安全日志订阅状态
7150
+ *
7151
+ * @param request ModifyApisecLogDeliveryStatusRequest
7152
+ * @param runtime runtime options for this request RuntimeOptions
7153
+ * @return ModifyApisecLogDeliveryStatusResponse
7154
+ */
7155
+ modifyApisecLogDeliveryStatusWithOptions(request: ModifyApisecLogDeliveryStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApisecLogDeliveryStatusResponse>;
7156
+ /**
7157
+ * @summary 修改API安全日志订阅状态
7158
+ *
7159
+ * @param request ModifyApisecLogDeliveryStatusRequest
7160
+ * @return ModifyApisecLogDeliveryStatusResponse
7161
+ */
7162
+ modifyApisecLogDeliveryStatus(request: ModifyApisecLogDeliveryStatusRequest): Promise<ModifyApisecLogDeliveryStatusResponse>;
6850
7163
  /**
6851
7164
  * @summary Modifies the configurations of a protected object group.
6852
7165
  *