Package cn.ucloud.uewaf.client
Class UEWAFClient
- java.lang.Object
-
- cn.ucloud.common.client.DefaultClient
-
- cn.ucloud.uewaf.client.UEWAFClient
-
- All Implemented Interfaces:
Client,UEWAFClientInterface,Closeable,AutoCloseable
public class UEWAFClient extends DefaultClient implements UEWAFClientInterface
This client is used to call actions of **UEWAF** service
-
-
Constructor Summary
Constructors Constructor Description UEWAFClient(Config config, Credential credential)
-
Method Summary
-
Methods inherited from class cn.ucloud.common.client.DefaultClient
close, getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
-
-
-
Constructor Detail
-
UEWAFClient
public UEWAFClient(Config config, Credential credential)
-
-
Method Detail
-
addAntiCCRule
public AddAntiCCRuleResponse addAntiCCRule(AddAntiCCRuleRequest request) throws UCloudException
AddAntiCCRule - 添加CC防御规则- Specified by:
addAntiCCRulein interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
addAssurancePage
public AddAssurancePageResponse addAssurancePage(AddAssurancePageRequest request) throws UCloudException
AddAssurancePage - 添加防篡改页面- Specified by:
addAssurancePagein interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
addAutoWafDomainBlackList
public AddAutoWafDomainBlackListResponse addAutoWafDomainBlackList(AddAutoWafDomainBlackListRequest request) throws UCloudException
AddAutoWafDomainBlackList - 创建自动拦截策略接口- Specified by:
addAutoWafDomainBlackListin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
addWafDomainBlackList
public AddWafDomainBlackListResponse addWafDomainBlackList(AddWafDomainBlackListRequest request) throws UCloudException
AddWafDomainBlackList - 添加域名黑名单- Specified by:
addWafDomainBlackListin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
addWafDomainCertificateInfo
public AddWafDomainCertificateInfoResponse addWafDomainCertificateInfo(AddWafDomainCertificateInfoRequest request) throws UCloudException
AddWafDomainCertificateInfo - 添加SSL证书- Specified by:
addWafDomainCertificateInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
addWafDomainHostInfo
public AddWafDomainHostInfoResponse addWafDomainHostInfo(AddWafDomainHostInfoRequest request) throws UCloudException
AddWafDomainHostInfo - 新增防护域名配置- Specified by:
addWafDomainHostInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
addWafDomainWhiteList
public AddWafDomainWhiteListResponse addWafDomainWhiteList(AddWafDomainWhiteListRequest request) throws UCloudException
AddWafDomainWhiteList - 添加域名白名单- Specified by:
addWafDomainWhiteListin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
addWafProtectionRuleInfo
public AddWafProtectionRuleInfoResponse addWafProtectionRuleInfo(AddWafProtectionRuleInfoRequest request) throws UCloudException
AddWafProtectionRuleInfo - 添加WAF防护规则- Specified by:
addWafProtectionRuleInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
addWafRegionBlockRule
public AddWafRegionBlockRuleResponse addWafRegionBlockRule(AddWafRegionBlockRuleRequest request) throws UCloudException
AddWafRegionBlockRule - 添加WAF区域IP封堵规则- Specified by:
addWafRegionBlockRulein interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
checkWafMenuSettingOverflow
public CheckWafMenuSettingOverflowResponse checkWafMenuSettingOverflow(CheckWafMenuSettingOverflowRequest request) throws UCloudException
CheckWafMenuSettingOverflow - 校验域名和规则数是否超出指定套餐的限制- Specified by:
checkWafMenuSettingOverflowin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
copyWafDomainRules
public CopyWafDomainRulesResponse copyWafDomainRules(CopyWafDomainRulesRequest request) throws UCloudException
CopyWafDomainRules - 批量复制WAF规则- Specified by:
copyWafDomainRulesin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteAntiCCRule
public DeleteAntiCCRuleResponse deleteAntiCCRule(DeleteAntiCCRuleRequest request) throws UCloudException
DeleteAntiCCRule - 删除CC防御规则- Specified by:
deleteAntiCCRulein interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteAssurancePage
public DeleteAssurancePageResponse deleteAssurancePage(DeleteAssurancePageRequest request) throws UCloudException
DeleteAssurancePage - 删除防篡改页面- Specified by:
deleteAssurancePagein interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteAutoWafDomainBlackList
public DeleteAutoWafDomainBlackListResponse deleteAutoWafDomainBlackList(DeleteAutoWafDomainBlackListRequest request) throws UCloudException
DeleteAutoWafDomainBlackList - 删除自动添加黑名单- Specified by:
deleteAutoWafDomainBlackListin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteWafDomainBlackList
public DeleteWafDomainBlackListResponse deleteWafDomainBlackList(DeleteWafDomainBlackListRequest request) throws UCloudException
DeleteWafDomainBlackList - 删除域名黑名单记录- Specified by:
deleteWafDomainBlackListin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteWafDomainCertificateInfo
public DeleteWafDomainCertificateInfoResponse deleteWafDomainCertificateInfo(DeleteWafDomainCertificateInfoRequest request) throws UCloudException
DeleteWafDomainCertificateInfo - 删除指定域名的ssl证书- Specified by:
deleteWafDomainCertificateInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteWafDomainHostInfo
public DeleteWafDomainHostInfoResponse deleteWafDomainHostInfo(DeleteWafDomainHostInfoRequest request) throws UCloudException
DeleteWafDomainHostInfo - 删除WAF防御域名- Specified by:
deleteWafDomainHostInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteWafDomainWhiteList
public DeleteWafDomainWhiteListResponse deleteWafDomainWhiteList(DeleteWafDomainWhiteListRequest request) throws UCloudException
DeleteWafDomainWhiteList - 删除域名白名单记录- Specified by:
deleteWafDomainWhiteListin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteWafProtectionRuleInfo
public DeleteWafProtectionRuleInfoResponse deleteWafProtectionRuleInfo(DeleteWafProtectionRuleInfoRequest request) throws UCloudException
DeleteWafProtectionRuleInfo - 删除WAF防护规则- Specified by:
deleteWafProtectionRuleInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteWafRegionBlockRule
public DeleteWafRegionBlockRuleResponse deleteWafRegionBlockRule(DeleteWafRegionBlockRuleRequest request) throws UCloudException
DeleteWafRegionBlockRule - 删除地域IP封堵规则- Specified by:
deleteWafRegionBlockRulein interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteWafResponseFilter
public DeleteWafResponseFilterResponse deleteWafResponseFilter(DeleteWafResponseFilterRequest request) throws UCloudException
DeleteWafResponseFilter - 删除信息安全过滤规则- Specified by:
deleteWafResponseFilterin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeAntiCCRules
public DescribeAntiCCRulesResponse describeAntiCCRules(DescribeAntiCCRulesRequest request) throws UCloudException
DescribeAntiCCRules - CC防御规则列表- Specified by:
describeAntiCCRulesin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeAssurancePages
public DescribeAssurancePagesResponse describeAssurancePages(DescribeAssurancePagesRequest request) throws UCloudException
DescribeAssurancePages - 获取防篡改页面列表- Specified by:
describeAssurancePagesin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeAutoWafDomainBlackList
public DescribeAutoWafDomainBlackListResponse describeAutoWafDomainBlackList(DescribeAutoWafDomainBlackListRequest request) throws UCloudException
DescribeAutoWafDomainBlackList - 查询自动添加黑名单策略- Specified by:
describeAutoWafDomainBlackListin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeWafAttackDetailListInfo
public DescribeWafAttackDetailListInfoResponse describeWafAttackDetailListInfo(DescribeWafAttackDetailListInfoRequest request) throws UCloudException
DescribeWafAttackDetailListInfo - 查询WAF攻击详情- Specified by:
describeWafAttackDetailListInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeWafAttackFalseAlarmListInfo
public DescribeWafAttackFalseAlarmListInfoResponse describeWafAttackFalseAlarmListInfo(DescribeWafAttackFalseAlarmListInfoRequest request) throws UCloudException
DescribeWafAttackFalseAlarmListInfo - 获取误报记录列表- Specified by:
describeWafAttackFalseAlarmListInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeWafDomainBlackList
public DescribeWafDomainBlackListResponse describeWafDomainBlackList(DescribeWafDomainBlackListRequest request) throws UCloudException
DescribeWafDomainBlackList - 获取域名黑名单列表- Specified by:
describeWafDomainBlackListin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeWafDomainCertificateInfo
public DescribeWafDomainCertificateInfoResponse describeWafDomainCertificateInfo(DescribeWafDomainCertificateInfoRequest request) throws UCloudException
DescribeWafDomainCertificateInfo - 显示域名对应的证书- Specified by:
describeWafDomainCertificateInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeWafDomainHostInfo
public DescribeWafDomainHostInfoResponse describeWafDomainHostInfo(DescribeWafDomainHostInfoRequest request) throws UCloudException
DescribeWafDomainHostInfo - 获取WAF防护域名列表- Specified by:
describeWafDomainHostInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeWafDomainWhiteList
public DescribeWafDomainWhiteListResponse describeWafDomainWhiteList(DescribeWafDomainWhiteListRequest request) throws UCloudException
DescribeWafDomainWhiteList - 获取域名白名单列表- Specified by:
describeWafDomainWhiteListin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeWafProtectionSummaryInfo
public DescribeWafProtectionSummaryInfoResponse describeWafProtectionSummaryInfo(DescribeWafProtectionSummaryInfoRequest request) throws UCloudException
DescribeWafProtectionSummaryInfo - 获取防护规则列表- Specified by:
describeWafProtectionSummaryInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeWafResponseFilter
public DescribeWafResponseFilterResponse describeWafResponseFilter(DescribeWafResponseFilterRequest request) throws UCloudException
DescribeWafResponseFilter - 查询信息安全过滤规则- Specified by:
describeWafResponseFilterin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeWafSystemRules
public DescribeWafSystemRulesResponse describeWafSystemRules(DescribeWafSystemRulesRequest request) throws UCloudException
DescribeWafSystemRules - 查询指定域名的系统默认规则- Specified by:
describeWafSystemRulesin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeWafUserTransactionInfo
public DescribeWafUserTransactionInfoResponse describeWafUserTransactionInfo(DescribeWafUserTransactionInfoRequest request) throws UCloudException
DescribeWafUserTransactionInfo - 获取用户购买详细信息- Specified by:
describeWafUserTransactionInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
downloadWAFAccessLog
public DownloadWAFAccessLogResponse downloadWAFAccessLog(DownloadWAFAccessLogRequest request) throws UCloudException
DownloadWAFAccessLog - 下载访问日志- Specified by:
downloadWAFAccessLogin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getWafRegionBlockRule
public GetWafRegionBlockRuleResponse getWafRegionBlockRule(GetWafRegionBlockRuleRequest request) throws UCloudException
GetWafRegionBlockRule - 查询区域IP封堵规则- Specified by:
getWafRegionBlockRulein interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyAntiCCRule
public ModifyAntiCCRuleResponse modifyAntiCCRule(ModifyAntiCCRuleRequest request) throws UCloudException
ModifyAntiCCRule - 修改CC防御规则- Specified by:
modifyAntiCCRulein interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyAntiCCState
public ModifyAntiCCStateResponse modifyAntiCCState(ModifyAntiCCStateRequest request) throws UCloudException
ModifyAntiCCState - 更改域名CC防御状态- Specified by:
modifyAntiCCStatein interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyAssurancePage
public ModifyAssurancePageResponse modifyAssurancePage(ModifyAssurancePageRequest request) throws UCloudException
ModifyAssurancePage - 编辑防篡改页面- Specified by:
modifyAssurancePagein interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyAutoWafDomainBlackList
public ModifyAutoWafDomainBlackListResponse modifyAutoWafDomainBlackList(ModifyAutoWafDomainBlackListRequest request) throws UCloudException
ModifyAutoWafDomainBlackList - 修改自动拦截规则- Specified by:
modifyAutoWafDomainBlackListin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyGlobalAssuranceState
public ModifyGlobalAssuranceStateResponse modifyGlobalAssuranceState(ModifyGlobalAssuranceStateRequest request) throws UCloudException
ModifyGlobalAssuranceState - 网页防篡改全局开关- Specified by:
modifyGlobalAssuranceStatein interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyWafAttackFalseAlarmStatus
public ModifyWafAttackFalseAlarmStatusResponse modifyWafAttackFalseAlarmStatus(ModifyWafAttackFalseAlarmStatusRequest request) throws UCloudException
ModifyWafAttackFalseAlarmStatus - 新的误报接口- Specified by:
modifyWafAttackFalseAlarmStatusin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyWafDomainBlackList
public ModifyWafDomainBlackListResponse modifyWafDomainBlackList(ModifyWafDomainBlackListRequest request) throws UCloudException
ModifyWafDomainBlackList - 编辑域名黑名单- Specified by:
modifyWafDomainBlackListin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyWafDomainHostInfo
public ModifyWafDomainHostInfoResponse modifyWafDomainHostInfo(ModifyWafDomainHostInfoRequest request) throws UCloudException
ModifyWafDomainHostInfo - 编辑防护域名信息- Specified by:
modifyWafDomainHostInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyWafDomainWhiteList
public ModifyWafDomainWhiteListResponse modifyWafDomainWhiteList(ModifyWafDomainWhiteListRequest request) throws UCloudException
ModifyWafDomainWhiteList - 编辑域名白名单- Specified by:
modifyWafDomainWhiteListin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyWafProtectionCustomerInfo
public ModifyWafProtectionCustomerInfoResponse modifyWafProtectionCustomerInfo(ModifyWafProtectionCustomerInfoRequest request) throws UCloudException
ModifyWafProtectionCustomerInfo - 编辑自定义防护规则- Specified by:
modifyWafProtectionCustomerInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyWafProtectionModeInfo
public ModifyWafProtectionModeInfoResponse modifyWafProtectionModeInfo(ModifyWafProtectionModeInfoRequest request) throws UCloudException
ModifyWafProtectionModeInfo - 更改WAF工作模式- Specified by:
modifyWafProtectionModeInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyWafProtectionPriorityInfo
public ModifyWafProtectionPriorityInfoResponse modifyWafProtectionPriorityInfo(ModifyWafProtectionPriorityInfoRequest request) throws UCloudException
ModifyWafProtectionPriorityInfo - 修改防护规则优先级- Specified by:
modifyWafProtectionPriorityInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyWafProtectionPriorityPoleInfo
public ModifyWafProtectionPriorityPoleInfoResponse modifyWafProtectionPriorityPoleInfo(ModifyWafProtectionPriorityPoleInfoRequest request) throws UCloudException
ModifyWafProtectionPriorityPoleInfo - 调整防护规则优先级至最高或者最低- Specified by:
modifyWafProtectionPriorityPoleInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyWafProtectionSystemInfo
public ModifyWafProtectionSystemInfoResponse modifyWafProtectionSystemInfo(ModifyWafProtectionSystemInfoRequest request) throws UCloudException
ModifyWafProtectionSystemInfo - 修改用户系统规则- Specified by:
modifyWafProtectionSystemInfoin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyWafRegionBlockRule
public ModifyWafRegionBlockRuleResponse modifyWafRegionBlockRule(ModifyWafRegionBlockRuleRequest request) throws UCloudException
ModifyWafRegionBlockRule - 修改地域IP封堵规则- Specified by:
modifyWafRegionBlockRulein interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyWafResponseFilter
public ModifyWafResponseFilterResponse modifyWafResponseFilter(ModifyWafResponseFilterRequest request) throws UCloudException
ModifyWafResponseFilter - 修改信息安全过滤规则- Specified by:
modifyWafResponseFilterin interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateAssurePageCache
public UpdateAssurePageCacheResponse updateAssurePageCache(UpdateAssurePageCacheRequest request) throws UCloudException
UpdateAssurePageCache - 网页防篡改更新指定url的缓存- Specified by:
updateAssurePageCachein interfaceUEWAFClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-