Class: TencentCloud::Waf::V20180125::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Waf::V20180125::Client
- Defined in:
- lib/v20180125/client.rb
Instance Method Summary collapse
-
#AddAntiFakeUrl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddAntiFakeUrlResponse`.
-
#AddAntiInfoLeakRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddAntiInfoLeakRulesResponse`.
-
#AddAreaBanAreas(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddAreaBanAreasResponse`.
-
#AddAttackWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddAttackWhiteRuleResponse`.
-
#AddBypassAllRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddBypassAllRuleResponse`.
-
#AddCustomRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddCustomRuleResponse`.
-
#AddCustomWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddCustomWhiteRuleResponse`.
-
#AddDomainWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddDomainWhiteRuleResponse`.
-
#AddSpartaProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddSpartaProtectionResponse`.
-
#BatchOperateUserSignatureRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::BatchOperateUserSignatureRulesResponse`.
-
#CreateAccessExport(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateAccessExportResponse`.
-
#CreateAreaBanRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateAreaBanRuleResponse`.
-
#CreateBatchIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateBatchIpAccessControlResponse`.
-
#CreateDeals(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateDealsResponse`.
-
#CreateExport(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateExportResponse`.
-
#CreateHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateHostResponse`.
-
#CreateIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateIpAccessControlResponse`.
-
#CreateOwaspWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateOwaspWhiteRuleResponse`.
-
#CreatePostCKafkaFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreatePostCKafkaFlowResponse`.
-
#CreatePostCLSFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreatePostCLSFlowResponse`.
-
#CreateRateLimitV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateRateLimitV2Response`.
-
#DeleteAccessExport(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteAccessExportResponse`.
-
#DeleteAntiFakeUrl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteAntiFakeUrlResponse`.
-
#DeleteAntiInfoLeakRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteAntiInfoLeakRuleResponse`.
-
#DeleteAttackDownloadRecord(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteAttackDownloadRecordResponse`.
-
#DeleteAttackWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteAttackWhiteRuleResponse`.
-
#DeleteBatchIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteBatchIpAccessControlResponse`.
-
#DeleteBotSceneUCBRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteBotSceneUCBRuleResponse`.
-
#DeleteCCRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteCCRuleResponse`.
-
#DeleteCustomRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteCustomRuleResponse`.
-
#DeleteCustomWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteCustomWhiteRuleResponse`.
-
#DeleteDomainWhiteRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteDomainWhiteRulesResponse`.
-
#DeleteExport(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteExportResponse`.
-
#DeleteHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteHostResponse`.
-
#DeleteIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteIpAccessControlResponse`.
-
#DeleteIpAccessControlV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteIpAccessControlV2Response`.
-
#DeleteOwaspRuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteOwaspRuleStatusResponse`.
-
#DeleteOwaspWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteOwaspWhiteRuleResponse`.
-
#DeleteRateLimitsV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteRateLimitsV2Response`.
-
#DeleteSession(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteSessionResponse`.
-
#DeleteSpartaProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteSpartaProtectionResponse`.
-
#DescribeAccessExports(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAccessExportsResponse`.
-
#DescribeAccessFastAnalysis(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAccessFastAnalysisResponse`.
-
#DescribeAccessHistogram(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAccessHistogramResponse`.
-
#DescribeAccessIndex(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAccessIndexResponse`.
-
#DescribeAntiFakeRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAntiFakeRulesResponse`.
-
#DescribeAntiInfoLeakageRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAntiInfoLeakageRulesResponse`.
-
#DescribeApiDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeApiDetailResponse`.
-
#DescribeApiListVersionTwo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeApiListVersionTwoResponse`.
-
#DescribeAreaBanAreas(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAreaBanAreasResponse`.
-
#DescribeAreaBanRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAreaBanRuleResponse`.
-
#DescribeAreaBanSupportAreas(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAreaBanSupportAreasResponse`.
-
#DescribeAttackOverview(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAttackOverviewResponse`.
-
#DescribeAttackType(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAttackTypeResponse`.
-
#DescribeAttackWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAttackWhiteRuleResponse`.
-
#DescribeAutoDenyIP(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAutoDenyIPResponse`.
-
#DescribeBatchIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeBatchIpAccessControlResponse`.
-
#DescribeBotSceneList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeBotSceneListResponse`.
-
#DescribeBotSceneOverview(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeBotSceneOverviewResponse`.
-
#DescribeBotSceneUCBRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeBotSceneUCBRuleResponse`.
-
#DescribeCCAutoStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCCAutoStatusResponse`.
-
#DescribeCCRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCCRuleResponse`.
-
#DescribeCCRuleList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCCRuleListResponse`.
-
#DescribeCertificateVerifyResult(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCertificateVerifyResultResponse`.
-
#DescribeCiphersDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCiphersDetailResponse`.
-
#DescribeCustomRuleList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCustomRuleListResponse`.
-
#DescribeCustomWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCustomWhiteRuleResponse`.
-
#DescribeDomainCountInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainCountInfoResponse`.
-
#DescribeDomainDetailsClb(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainDetailsClbResponse`.
-
#DescribeDomainDetailsSaas(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainDetailsSaasResponse`.
-
#DescribeDomainRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainRulesResponse`.
-
#DescribeDomains(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainsResponse`.
-
#DescribeDomainVerifyResult(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainVerifyResultResponse`.
-
#DescribeDomainWhiteRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainWhiteRulesResponse`.
-
#DescribeExports(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeExportsResponse`.
-
#DescribeFindDomainList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeFindDomainListResponse`.
-
#DescribeFlowTrend(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeFlowTrendResponse`.
-
#DescribeHistogram(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeHistogramResponse`.
-
#DescribeHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeHostResponse`.
-
#DescribeHostLimit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeHostLimitResponse`.
-
#DescribeHosts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeHostsResponse`.
-
#DescribeInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeInstancesResponse`.
-
#DescribeIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeIpAccessControlResponse`.
-
#DescribeIpHitItems(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeIpHitItemsResponse`.
-
#DescribeLogHistogram(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeLogHistogramResponse`.
-
#DescribeModuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeModuleStatusResponse`.
-
#DescribeObjects(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeObjectsResponse`.
-
#DescribeOwaspRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeOwaspRulesResponse`.
-
#DescribeOwaspRuleTypes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeOwaspRuleTypesResponse`.
-
#DescribeOwaspWhiteRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeOwaspWhiteRulesResponse`.
-
#DescribePeakPoints(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribePeakPointsResponse`.
-
#DescribePeakValue(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribePeakValueResponse`.
-
#DescribePolicyStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribePolicyStatusResponse`.
-
#DescribePorts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribePortsResponse`.
-
#DescribePostCKafkaFlows(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribePostCKafkaFlowsResponse`.
-
#DescribePostCLSFlows(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribePostCLSFlowsResponse`.
-
#DescribeProtectionModes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeProtectionModesResponse`.
-
#DescribeRateLimitsV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeRateLimitsV2Response`.
-
#DescribeRuleLimit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeRuleLimitResponse`.
-
#DescribeScanIp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeScanIpResponse`.
-
#DescribeSession(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeSessionResponse`.
-
#DescribeSpartaProtectionInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeSpartaProtectionInfoResponse`.
-
#DescribeTlsVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeTlsVersionResponse`.
-
#DescribeTopAttackDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeTopAttackDomainResponse`.
-
#DescribeTopics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeTopicsResponse`.
-
#DescribeUserCdcClbWafRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserCdcClbWafRegionsResponse`.
-
#DescribeUserClbWafRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserClbWafRegionsResponse`.
-
#DescribeUserDomainInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserDomainInfoResponse`.
-
#DescribeUserLevel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserLevelResponse`.
-
#DescribeUserSignatureClass(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserSignatureClassResponse`.
-
#DescribeUserSignatureRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserSignatureRuleResponse`.
-
#DescribeUserSignatureRuleV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserSignatureRuleV2Response`.
-
#DescribeVipInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeVipInfoResponse`.
-
#DescribeWafAutoDenyRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeWafAutoDenyRulesResponse`.
-
#DescribeWafAutoDenyStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeWafAutoDenyStatusResponse`.
-
#DescribeWafThreatenIntelligence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeWafThreatenIntelligenceResponse`.
-
#DescribeWebshellStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeWebshellStatusResponse`.
-
#DestroyPostCKafkaFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DestroyPostCKafkaFlowResponse`.
-
#DestroyPostCLSFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DestroyPostCLSFlowResponse`.
-
#EnableRateLimitsV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::EnableRateLimitsV2Response`.
-
#FreshAntiFakeUrl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::FreshAntiFakeUrlResponse`.
-
#GenerateDealsAndPayNew(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::GenerateDealsAndPayNewResponse`.
-
#GetAttackDownloadRecords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::GetAttackDownloadRecordsResponse`.
-
#GetAttackHistogram(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::GetAttackHistogramResponse`.
-
#GetAttackTotalCount(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::GetAttackTotalCountResponse`.
-
#GetInstanceQpsLimit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::GetInstanceQpsLimitResponse`.
-
#ImportIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ImportIpAccessControlResponse`.
-
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#ModifyAntiFakeUrl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAntiFakeUrlResponse`.
-
#ModifyAntiFakeUrlStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAntiFakeUrlStatusResponse`.
-
#ModifyAntiInfoLeakRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAntiInfoLeakRulesResponse`.
-
#ModifyAntiInfoLeakRuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAntiInfoLeakRuleStatusResponse`.
-
#ModifyApiAnalyzeStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyApiAnalyzeStatusResponse`.
-
#ModifyApiSecEventChange(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyApiSecEventChangeResponse`.
-
#ModifyApiSecSensitiveRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyApiSecSensitiveRuleResponse`.
-
#ModifyAreaBanAreas(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAreaBanAreasResponse`.
-
#ModifyAreaBanRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAreaBanRuleResponse`.
-
#ModifyAreaBanStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAreaBanStatusResponse`.
-
#ModifyAttackWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAttackWhiteRuleResponse`.
-
#ModifyBatchIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyBatchIpAccessControlResponse`.
-
#ModifyBotIdRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyBotIdRuleResponse`.
-
#ModifyBotSceneStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyBotSceneStatusResponse`.
-
#ModifyBotSceneUCBRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyBotSceneUCBRuleResponse`.
-
#ModifyBotStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyBotStatusResponse`.
-
#ModifyCustomRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyCustomRuleResponse`.
-
#ModifyCustomRuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyCustomRuleStatusResponse`.
-
#ModifyCustomWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyCustomWhiteRuleResponse`.
-
#ModifyCustomWhiteRuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyCustomWhiteRuleStatusResponse`.
-
#ModifyDomainIpv6Status(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyDomainIpv6StatusResponse`.
-
#ModifyDomainPostAction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyDomainPostActionResponse`.
-
#ModifyDomainsCLSStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyDomainsCLSStatusResponse`.
-
#ModifyDomainWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyDomainWhiteRuleResponse`.
-
#ModifyGenerateDeals(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyGenerateDealsResponse`.
-
#ModifyHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyHostResponse`.
-
#ModifyHostFlowMode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyHostFlowModeResponse`.
-
#ModifyHostMode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyHostModeResponse`.
-
#ModifyHostStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyHostStatusResponse`.
-
#ModifyInstanceAttackLogPost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyInstanceAttackLogPostResponse`.
-
#ModifyInstanceElasticMode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyInstanceElasticModeResponse`.
-
#ModifyInstanceName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyInstanceNameResponse`.
-
#ModifyInstanceQpsLimit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyInstanceQpsLimitResponse`.
-
#ModifyInstanceRenewFlag(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyInstanceRenewFlagResponse`.
-
#ModifyIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyIpAccessControlResponse`.
-
#ModifyModuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyModuleStatusResponse`.
-
#ModifyObject(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyObjectResponse`.
-
#ModifyOwaspRuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyOwaspRuleStatusResponse`.
-
#ModifyOwaspRuleTypeAction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyOwaspRuleTypeActionResponse`.
-
#ModifyOwaspRuleTypeLevel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyOwaspRuleTypeLevelResponse`.
-
#ModifyOwaspRuleTypeStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyOwaspRuleTypeStatusResponse`.
-
#ModifyOwaspWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyOwaspWhiteRuleResponse`.
-
#ModifyProtectionLevel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyProtectionLevelResponse`.
-
#ModifyProtectionStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyProtectionStatusResponse`.
-
#ModifySpartaProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifySpartaProtectionResponse`.
-
#ModifySpartaProtectionMode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifySpartaProtectionModeResponse`.
-
#ModifyUserLevel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyUserLevelResponse`.
-
#ModifyUserSignatureClass(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyUserSignatureClassResponse`.
-
#ModifyUserSignatureRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyUserSignatureRuleResponse`.
-
#ModifyUserSignatureRuleV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyUserSignatureRuleV2Response`.
-
#ModifyWafAutoDenyRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyWafAutoDenyRulesResponse`.
-
#ModifyWafThreatenIntelligence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyWafThreatenIntelligenceResponse`.
-
#ModifyWebshellStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyWebshellStatusResponse`.
-
#PostAttackDownloadTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::PostAttackDownloadTaskResponse`.
-
#QueryBypassAllStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::QueryBypassAllStatusResponse`.
-
#RefreshAccessCheckResult(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::RefreshAccessCheckResultResponse`.
-
#RemoveBypassAllRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::RemoveBypassAllRuleResponse`.
-
#SearchAccessLog(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::SearchAccessLogResponse`.
-
#SearchAttackLog(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::SearchAttackLogResponse`.
-
#SearchLog(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::SearchLogResponse`.
-
#SwitchDomainRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::SwitchDomainRulesResponse`.
-
#SwitchElasticMode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::SwitchElasticModeResponse`.
-
#UpdateProtectionModes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::UpdateProtectionModesResponse`.
-
#UpdateRateLimitV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::UpdateRateLimitV2Response`.
-
#UpsertCCAutoStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::UpsertCCAutoStatusResponse`.
-
#UpsertCCRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::UpsertCCRuleResponse`.
-
#UpsertIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::UpsertIpAccessControlResponse`.
-
#UpsertSession(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::UpsertSessionResponse`.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20180125/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2018-01-25' api_endpoint = 'waf.tencentcloudapi.com' sdk_version = 'WAF_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#AddAntiFakeUrl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddAntiFakeUrlResponse`
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
# File 'lib/v20180125/client.rb', line 37 def AddAntiFakeUrl(request) body = send_request('AddAntiFakeUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddAntiFakeUrlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#AddAntiInfoLeakRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddAntiInfoLeakRulesResponse`
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
# File 'lib/v20180125/client.rb', line 61 def AddAntiInfoLeakRules(request) body = send_request('AddAntiInfoLeakRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddAntiInfoLeakRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#AddAreaBanAreas(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddAreaBanAreasResponse`
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
# File 'lib/v20180125/client.rb', line 85 def AddAreaBanAreas(request) body = send_request('AddAreaBanAreas', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddAreaBanAreasResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#AddAttackWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddAttackWhiteRuleResponse`
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/v20180125/client.rb', line 109 def AddAttackWhiteRule(request) body = send_request('AddAttackWhiteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddAttackWhiteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#AddBypassAllRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddBypassAllRuleResponse`
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/v20180125/client.rb', line 133 def AddBypassAllRule(request) body = send_request('AddBypassAllRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddBypassAllRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#AddCustomRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddCustomRuleResponse`
157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/v20180125/client.rb', line 157 def AddCustomRule(request) body = send_request('AddCustomRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddCustomRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#AddCustomWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddCustomWhiteRuleResponse`
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 |
# File 'lib/v20180125/client.rb', line 181 def AddCustomWhiteRule(request) body = send_request('AddCustomWhiteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddCustomWhiteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#AddDomainWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddDomainWhiteRuleResponse`
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
# File 'lib/v20180125/client.rb', line 205 def AddDomainWhiteRule(request) body = send_request('AddDomainWhiteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddDomainWhiteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#AddSpartaProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::AddSpartaProtectionResponse`
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 |
# File 'lib/v20180125/client.rb', line 229 def AddSpartaProtection(request) body = send_request('AddSpartaProtection', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = AddSpartaProtectionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#BatchOperateUserSignatureRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::BatchOperateUserSignatureRulesResponse`
253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 |
# File 'lib/v20180125/client.rb', line 253 def BatchOperateUserSignatureRules(request) body = send_request('BatchOperateUserSignatureRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = BatchOperateUserSignatureRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAccessExport(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateAccessExportResponse`
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 |
# File 'lib/v20180125/client.rb', line 277 def CreateAccessExport(request) body = send_request('CreateAccessExport', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAccessExportResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateAreaBanRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateAreaBanRuleResponse`
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 |
# File 'lib/v20180125/client.rb', line 301 def CreateAreaBanRule(request) body = send_request('CreateAreaBanRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateAreaBanRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateBatchIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateBatchIpAccessControlResponse`
325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 |
# File 'lib/v20180125/client.rb', line 325 def CreateBatchIpAccessControl(request) body = send_request('CreateBatchIpAccessControl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateBatchIpAccessControlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateDeals(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateDealsResponse`
349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 |
# File 'lib/v20180125/client.rb', line 349 def CreateDeals(request) body = send_request('CreateDeals', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateDealsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateExport(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateExportResponse`
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 |
# File 'lib/v20180125/client.rb', line 373 def CreateExport(request) body = send_request('CreateExport', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateExportResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateHostResponse`
397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 |
# File 'lib/v20180125/client.rb', line 397 def CreateHost(request) body = send_request('CreateHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateHostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateIpAccessControlResponse`
421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 |
# File 'lib/v20180125/client.rb', line 421 def CreateIpAccessControl(request) body = send_request('CreateIpAccessControl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateIpAccessControlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateOwaspWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateOwaspWhiteRuleResponse`
445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 |
# File 'lib/v20180125/client.rb', line 445 def CreateOwaspWhiteRule(request) body = send_request('CreateOwaspWhiteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateOwaspWhiteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePostCKafkaFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreatePostCKafkaFlowResponse`
469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 |
# File 'lib/v20180125/client.rb', line 469 def CreatePostCKafkaFlow(request) body = send_request('CreatePostCKafkaFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePostCKafkaFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePostCLSFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreatePostCLSFlowResponse`
493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 |
# File 'lib/v20180125/client.rb', line 493 def CreatePostCLSFlow(request) body = send_request('CreatePostCLSFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePostCLSFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateRateLimitV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::CreateRateLimitV2Response`
517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 |
# File 'lib/v20180125/client.rb', line 517 def CreateRateLimitV2(request) body = send_request('CreateRateLimitV2', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateRateLimitV2Response.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAccessExport(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteAccessExportResponse`
541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 |
# File 'lib/v20180125/client.rb', line 541 def DeleteAccessExport(request) body = send_request('DeleteAccessExport', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAccessExportResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAntiFakeUrl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteAntiFakeUrlResponse`
565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 |
# File 'lib/v20180125/client.rb', line 565 def DeleteAntiFakeUrl(request) body = send_request('DeleteAntiFakeUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAntiFakeUrlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAntiInfoLeakRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteAntiInfoLeakRuleResponse`
589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 |
# File 'lib/v20180125/client.rb', line 589 def DeleteAntiInfoLeakRule(request) body = send_request('DeleteAntiInfoLeakRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAntiInfoLeakRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAttackDownloadRecord(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteAttackDownloadRecordResponse`
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 |
# File 'lib/v20180125/client.rb', line 613 def DeleteAttackDownloadRecord(request) body = send_request('DeleteAttackDownloadRecord', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAttackDownloadRecordResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteAttackWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteAttackWhiteRuleResponse`
637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 |
# File 'lib/v20180125/client.rb', line 637 def DeleteAttackWhiteRule(request) body = send_request('DeleteAttackWhiteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteAttackWhiteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteBatchIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteBatchIpAccessControlResponse`
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 |
# File 'lib/v20180125/client.rb', line 661 def DeleteBatchIpAccessControl(request) body = send_request('DeleteBatchIpAccessControl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteBatchIpAccessControlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteBotSceneUCBRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteBotSceneUCBRuleResponse`
685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 |
# File 'lib/v20180125/client.rb', line 685 def DeleteBotSceneUCBRule(request) body = send_request('DeleteBotSceneUCBRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteBotSceneUCBRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCCRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteCCRuleResponse`
709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 |
# File 'lib/v20180125/client.rb', line 709 def DeleteCCRule(request) body = send_request('DeleteCCRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteCCRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCustomRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteCustomRuleResponse`
733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 |
# File 'lib/v20180125/client.rb', line 733 def DeleteCustomRule(request) body = send_request('DeleteCustomRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteCustomRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteCustomWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteCustomWhiteRuleResponse`
757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 |
# File 'lib/v20180125/client.rb', line 757 def DeleteCustomWhiteRule(request) body = send_request('DeleteCustomWhiteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteCustomWhiteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteDomainWhiteRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteDomainWhiteRulesResponse`
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 |
# File 'lib/v20180125/client.rb', line 781 def DeleteDomainWhiteRules(request) body = send_request('DeleteDomainWhiteRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteDomainWhiteRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteExport(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteExportResponse`
805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 |
# File 'lib/v20180125/client.rb', line 805 def DeleteExport(request) body = send_request('DeleteExport', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteExportResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteHostResponse`
829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 |
# File 'lib/v20180125/client.rb', line 829 def DeleteHost(request) body = send_request('DeleteHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteHostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteIpAccessControlResponse`
853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 |
# File 'lib/v20180125/client.rb', line 853 def DeleteIpAccessControl(request) body = send_request('DeleteIpAccessControl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteIpAccessControlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteIpAccessControlV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteIpAccessControlV2Response`
877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 |
# File 'lib/v20180125/client.rb', line 877 def DeleteIpAccessControlV2(request) body = send_request('DeleteIpAccessControlV2', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteIpAccessControlV2Response.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteOwaspRuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteOwaspRuleStatusResponse`
901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 |
# File 'lib/v20180125/client.rb', line 901 def DeleteOwaspRuleStatus(request) body = send_request('DeleteOwaspRuleStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteOwaspRuleStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteOwaspWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteOwaspWhiteRuleResponse`
925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 |
# File 'lib/v20180125/client.rb', line 925 def DeleteOwaspWhiteRule(request) body = send_request('DeleteOwaspWhiteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteOwaspWhiteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteRateLimitsV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteRateLimitsV2Response`
949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 |
# File 'lib/v20180125/client.rb', line 949 def DeleteRateLimitsV2(request) body = send_request('DeleteRateLimitsV2', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteRateLimitsV2Response.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteSession(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteSessionResponse`
973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 |
# File 'lib/v20180125/client.rb', line 973 def DeleteSession(request) body = send_request('DeleteSession', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteSessionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteSpartaProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DeleteSpartaProtectionResponse`
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 |
# File 'lib/v20180125/client.rb', line 997 def DeleteSpartaProtection(request) body = send_request('DeleteSpartaProtection', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteSpartaProtectionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAccessExports(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAccessExportsResponse`
1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 |
# File 'lib/v20180125/client.rb', line 1021 def DescribeAccessExports(request) body = send_request('DescribeAccessExports', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAccessExportsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAccessFastAnalysis(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAccessFastAnalysisResponse`
1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 |
# File 'lib/v20180125/client.rb', line 1045 def DescribeAccessFastAnalysis(request) body = send_request('DescribeAccessFastAnalysis', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAccessFastAnalysisResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAccessHistogram(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAccessHistogramResponse`
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 |
# File 'lib/v20180125/client.rb', line 1069 def DescribeAccessHistogram(request) body = send_request('DescribeAccessHistogram', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAccessHistogramResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAccessIndex(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAccessIndexResponse`
1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 |
# File 'lib/v20180125/client.rb', line 1093 def DescribeAccessIndex(request) body = send_request('DescribeAccessIndex', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAccessIndexResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAntiFakeRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAntiFakeRulesResponse`
1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 |
# File 'lib/v20180125/client.rb', line 1117 def DescribeAntiFakeRules(request) body = send_request('DescribeAntiFakeRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAntiFakeRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAntiInfoLeakageRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAntiInfoLeakageRulesResponse`
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 |
# File 'lib/v20180125/client.rb', line 1141 def DescribeAntiInfoLeakageRules(request) body = send_request('DescribeAntiInfoLeakageRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAntiInfoLeakageRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApiDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeApiDetailResponse`
1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 |
# File 'lib/v20180125/client.rb', line 1165 def DescribeApiDetail(request) body = send_request('DescribeApiDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApiDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeApiListVersionTwo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeApiListVersionTwoResponse`
1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 |
# File 'lib/v20180125/client.rb', line 1189 def DescribeApiListVersionTwo(request) body = send_request('DescribeApiListVersionTwo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeApiListVersionTwoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAreaBanAreas(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAreaBanAreasResponse`
1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 |
# File 'lib/v20180125/client.rb', line 1213 def DescribeAreaBanAreas(request) body = send_request('DescribeAreaBanAreas', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAreaBanAreasResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAreaBanRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAreaBanRuleResponse`
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 |
# File 'lib/v20180125/client.rb', line 1237 def DescribeAreaBanRule(request) body = send_request('DescribeAreaBanRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAreaBanRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAreaBanSupportAreas(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAreaBanSupportAreasResponse`
1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 |
# File 'lib/v20180125/client.rb', line 1261 def DescribeAreaBanSupportAreas(request) body = send_request('DescribeAreaBanSupportAreas', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAreaBanSupportAreasResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAttackOverview(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAttackOverviewResponse`
1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 |
# File 'lib/v20180125/client.rb', line 1285 def DescribeAttackOverview(request) body = send_request('DescribeAttackOverview', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAttackOverviewResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAttackType(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAttackTypeResponse`
1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 |
# File 'lib/v20180125/client.rb', line 1309 def DescribeAttackType(request) body = send_request('DescribeAttackType', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAttackTypeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAttackWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAttackWhiteRuleResponse`
1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 |
# File 'lib/v20180125/client.rb', line 1333 def DescribeAttackWhiteRule(request) body = send_request('DescribeAttackWhiteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAttackWhiteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeAutoDenyIP(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeAutoDenyIPResponse`
1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 |
# File 'lib/v20180125/client.rb', line 1357 def DescribeAutoDenyIP(request) body = send_request('DescribeAutoDenyIP', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeAutoDenyIPResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBatchIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeBatchIpAccessControlResponse`
1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 |
# File 'lib/v20180125/client.rb', line 1381 def DescribeBatchIpAccessControl(request) body = send_request('DescribeBatchIpAccessControl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBatchIpAccessControlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBotSceneList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeBotSceneListResponse`
1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 |
# File 'lib/v20180125/client.rb', line 1405 def DescribeBotSceneList(request) body = send_request('DescribeBotSceneList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBotSceneListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBotSceneOverview(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeBotSceneOverviewResponse`
1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 |
# File 'lib/v20180125/client.rb', line 1429 def DescribeBotSceneOverview(request) body = send_request('DescribeBotSceneOverview', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBotSceneOverviewResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeBotSceneUCBRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeBotSceneUCBRuleResponse`
1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 |
# File 'lib/v20180125/client.rb', line 1453 def DescribeBotSceneUCBRule(request) body = send_request('DescribeBotSceneUCBRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBotSceneUCBRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCCAutoStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCCAutoStatusResponse`
1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 |
# File 'lib/v20180125/client.rb', line 1477 def DescribeCCAutoStatus(request) body = send_request('DescribeCCAutoStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCCAutoStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCCRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCCRuleResponse`
1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 |
# File 'lib/v20180125/client.rb', line 1501 def DescribeCCRule(request) body = send_request('DescribeCCRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCCRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCCRuleList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCCRuleListResponse`
1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 |
# File 'lib/v20180125/client.rb', line 1525 def DescribeCCRuleList(request) body = send_request('DescribeCCRuleList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCCRuleListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCertificateVerifyResult(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCertificateVerifyResultResponse`
1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 |
# File 'lib/v20180125/client.rb', line 1549 def DescribeCertificateVerifyResult(request) body = send_request('DescribeCertificateVerifyResult', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCertificateVerifyResultResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCiphersDetail(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCiphersDetailResponse`
1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 |
# File 'lib/v20180125/client.rb', line 1573 def DescribeCiphersDetail(request) body = send_request('DescribeCiphersDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCiphersDetailResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCustomRuleList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCustomRuleListResponse`
1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 |
# File 'lib/v20180125/client.rb', line 1597 def DescribeCustomRuleList(request) body = send_request('DescribeCustomRuleList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCustomRuleListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCustomWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeCustomWhiteRuleResponse`
1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 |
# File 'lib/v20180125/client.rb', line 1621 def DescribeCustomWhiteRule(request) body = send_request('DescribeCustomWhiteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCustomWhiteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDomainCountInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainCountInfoResponse`
1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 |
# File 'lib/v20180125/client.rb', line 1645 def DescribeDomainCountInfo(request) body = send_request('DescribeDomainCountInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainCountInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDomainDetailsClb(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainDetailsClbResponse`
1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 |
# File 'lib/v20180125/client.rb', line 1669 def DescribeDomainDetailsClb(request) body = send_request('DescribeDomainDetailsClb', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainDetailsClbResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDomainDetailsSaas(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainDetailsSaasResponse`
1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 |
# File 'lib/v20180125/client.rb', line 1693 def DescribeDomainDetailsSaas(request) body = send_request('DescribeDomainDetailsSaas', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainDetailsSaasResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDomainRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainRulesResponse`
1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 |
# File 'lib/v20180125/client.rb', line 1717 def DescribeDomainRules(request) body = send_request('DescribeDomainRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDomains(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainsResponse`
1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 |
# File 'lib/v20180125/client.rb', line 1789 def DescribeDomains(request) body = send_request('DescribeDomains', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDomainVerifyResult(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainVerifyResultResponse`
1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 |
# File 'lib/v20180125/client.rb', line 1741 def DescribeDomainVerifyResult(request) body = send_request('DescribeDomainVerifyResult', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainVerifyResultResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeDomainWhiteRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeDomainWhiteRulesResponse`
1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 |
# File 'lib/v20180125/client.rb', line 1765 def DescribeDomainWhiteRules(request) body = send_request('DescribeDomainWhiteRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeDomainWhiteRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeExports(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeExportsResponse`
1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 |
# File 'lib/v20180125/client.rb', line 1813 def DescribeExports(request) body = send_request('DescribeExports', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeExportsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeFindDomainList(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeFindDomainListResponse`
1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 |
# File 'lib/v20180125/client.rb', line 1837 def DescribeFindDomainList(request) body = send_request('DescribeFindDomainList', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFindDomainListResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeFlowTrend(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeFlowTrendResponse`
1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 |
# File 'lib/v20180125/client.rb', line 1861 def DescribeFlowTrend(request) body = send_request('DescribeFlowTrend', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFlowTrendResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeHistogram(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeHistogramResponse`
1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 |
# File 'lib/v20180125/client.rb', line 1885 def DescribeHistogram(request) body = send_request('DescribeHistogram', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeHistogramResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeHostResponse`
1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 |
# File 'lib/v20180125/client.rb', line 1909 def DescribeHost(request) body = send_request('DescribeHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeHostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeHostLimit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeHostLimitResponse`
1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 |
# File 'lib/v20180125/client.rb', line 1933 def DescribeHostLimit(request) body = send_request('DescribeHostLimit', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeHostLimitResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeHosts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeHostsResponse`
1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 |
# File 'lib/v20180125/client.rb', line 1957 def DescribeHosts(request) body = send_request('DescribeHosts', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeHostsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeInstances(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeInstancesResponse`
1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 |
# File 'lib/v20180125/client.rb', line 1981 def DescribeInstances(request) body = send_request('DescribeInstances', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeInstancesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeIpAccessControlResponse`
2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 |
# File 'lib/v20180125/client.rb', line 2005 def DescribeIpAccessControl(request) body = send_request('DescribeIpAccessControl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeIpAccessControlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeIpHitItems(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeIpHitItemsResponse`
2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 |
# File 'lib/v20180125/client.rb', line 2029 def DescribeIpHitItems(request) body = send_request('DescribeIpHitItems', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeIpHitItemsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeLogHistogram(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeLogHistogramResponse`
2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 |
# File 'lib/v20180125/client.rb', line 2053 def DescribeLogHistogram(request) body = send_request('DescribeLogHistogram', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeLogHistogramResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeModuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeModuleStatusResponse`
2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 |
# File 'lib/v20180125/client.rb', line 2077 def DescribeModuleStatus(request) body = send_request('DescribeModuleStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeModuleStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeObjects(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeObjectsResponse`
2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 |
# File 'lib/v20180125/client.rb', line 2101 def DescribeObjects(request) body = send_request('DescribeObjects', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeObjectsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeOwaspRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeOwaspRulesResponse`
2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 |
# File 'lib/v20180125/client.rb', line 2149 def DescribeOwaspRules(request) body = send_request('DescribeOwaspRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeOwaspRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeOwaspRuleTypes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeOwaspRuleTypesResponse`
2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 |
# File 'lib/v20180125/client.rb', line 2125 def DescribeOwaspRuleTypes(request) body = send_request('DescribeOwaspRuleTypes', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeOwaspRuleTypesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeOwaspWhiteRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeOwaspWhiteRulesResponse`
2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 |
# File 'lib/v20180125/client.rb', line 2173 def DescribeOwaspWhiteRules(request) body = send_request('DescribeOwaspWhiteRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeOwaspWhiteRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePeakPoints(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribePeakPointsResponse`
2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'lib/v20180125/client.rb', line 2197 def DescribePeakPoints(request) body = send_request('DescribePeakPoints', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePeakPointsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePeakValue(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribePeakValueResponse`
2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 |
# File 'lib/v20180125/client.rb', line 2221 def DescribePeakValue(request) body = send_request('DescribePeakValue', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePeakValueResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePolicyStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribePolicyStatusResponse`
2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 |
# File 'lib/v20180125/client.rb', line 2245 def DescribePolicyStatus(request) body = send_request('DescribePolicyStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePolicyStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePorts(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribePortsResponse`
2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 |
# File 'lib/v20180125/client.rb', line 2269 def DescribePorts(request) body = send_request('DescribePorts', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePortsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePostCKafkaFlows(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribePostCKafkaFlowsResponse`
2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 |
# File 'lib/v20180125/client.rb', line 2293 def DescribePostCKafkaFlows(request) body = send_request('DescribePostCKafkaFlows', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePostCKafkaFlowsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribePostCLSFlows(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribePostCLSFlowsResponse`
2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 |
# File 'lib/v20180125/client.rb', line 2317 def DescribePostCLSFlows(request) body = send_request('DescribePostCLSFlows', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribePostCLSFlowsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeProtectionModes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeProtectionModesResponse`
2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 |
# File 'lib/v20180125/client.rb', line 2341 def DescribeProtectionModes(request) body = send_request('DescribeProtectionModes', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeProtectionModesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRateLimitsV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeRateLimitsV2Response`
2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 |
# File 'lib/v20180125/client.rb', line 2365 def DescribeRateLimitsV2(request) body = send_request('DescribeRateLimitsV2', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRateLimitsV2Response.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeRuleLimit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeRuleLimitResponse`
2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 |
# File 'lib/v20180125/client.rb', line 2389 def DescribeRuleLimit(request) body = send_request('DescribeRuleLimit', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeRuleLimitResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeScanIp(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeScanIpResponse`
2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 |
# File 'lib/v20180125/client.rb', line 2413 def DescribeScanIp(request) body = send_request('DescribeScanIp', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeScanIpResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSession(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeSessionResponse`
2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 |
# File 'lib/v20180125/client.rb', line 2437 def DescribeSession(request) body = send_request('DescribeSession', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSessionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSpartaProtectionInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeSpartaProtectionInfoResponse`
2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 |
# File 'lib/v20180125/client.rb', line 2461 def DescribeSpartaProtectionInfo(request) body = send_request('DescribeSpartaProtectionInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSpartaProtectionInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTlsVersion(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeTlsVersionResponse`
2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 |
# File 'lib/v20180125/client.rb', line 2485 def DescribeTlsVersion(request) body = send_request('DescribeTlsVersion', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTlsVersionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTopAttackDomain(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeTopAttackDomainResponse`
2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 |
# File 'lib/v20180125/client.rb', line 2509 def DescribeTopAttackDomain(request) body = send_request('DescribeTopAttackDomain', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTopAttackDomainResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeTopics(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeTopicsResponse`
2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 |
# File 'lib/v20180125/client.rb', line 2533 def DescribeTopics(request) body = send_request('DescribeTopics', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTopicsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUserCdcClbWafRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserCdcClbWafRegionsResponse`
2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 |
# File 'lib/v20180125/client.rb', line 2557 def DescribeUserCdcClbWafRegions(request) body = send_request('DescribeUserCdcClbWafRegions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUserCdcClbWafRegionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUserClbWafRegions(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserClbWafRegionsResponse`
2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 |
# File 'lib/v20180125/client.rb', line 2581 def DescribeUserClbWafRegions(request) body = send_request('DescribeUserClbWafRegions', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUserClbWafRegionsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUserDomainInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserDomainInfoResponse`
2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 |
# File 'lib/v20180125/client.rb', line 2605 def DescribeUserDomainInfo(request) body = send_request('DescribeUserDomainInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUserDomainInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUserLevel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserLevelResponse`
2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 |
# File 'lib/v20180125/client.rb', line 2629 def DescribeUserLevel(request) body = send_request('DescribeUserLevel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUserLevelResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUserSignatureClass(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserSignatureClassResponse`
2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 |
# File 'lib/v20180125/client.rb', line 2653 def DescribeUserSignatureClass(request) body = send_request('DescribeUserSignatureClass', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUserSignatureClassResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUserSignatureRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserSignatureRuleResponse`
2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 |
# File 'lib/v20180125/client.rb', line 2677 def DescribeUserSignatureRule(request) body = send_request('DescribeUserSignatureRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUserSignatureRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUserSignatureRuleV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeUserSignatureRuleV2Response`
2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 |
# File 'lib/v20180125/client.rb', line 2701 def DescribeUserSignatureRuleV2(request) body = send_request('DescribeUserSignatureRuleV2', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUserSignatureRuleV2Response.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeVipInfo(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeVipInfoResponse`
2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 |
# File 'lib/v20180125/client.rb', line 2725 def DescribeVipInfo(request) body = send_request('DescribeVipInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeVipInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeWafAutoDenyRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeWafAutoDenyRulesResponse`
2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 |
# File 'lib/v20180125/client.rb', line 2749 def DescribeWafAutoDenyRules(request) body = send_request('DescribeWafAutoDenyRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeWafAutoDenyRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeWafAutoDenyStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeWafAutoDenyStatusResponse`
2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 |
# File 'lib/v20180125/client.rb', line 2775 def DescribeWafAutoDenyStatus(request) body = send_request('DescribeWafAutoDenyStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeWafAutoDenyStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeWafThreatenIntelligence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeWafThreatenIntelligenceResponse`
2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 |
# File 'lib/v20180125/client.rb', line 2799 def DescribeWafThreatenIntelligence(request) body = send_request('DescribeWafThreatenIntelligence', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeWafThreatenIntelligenceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeWebshellStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DescribeWebshellStatusResponse`
2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 |
# File 'lib/v20180125/client.rb', line 2823 def DescribeWebshellStatus(request) body = send_request('DescribeWebshellStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeWebshellStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DestroyPostCKafkaFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DestroyPostCKafkaFlowResponse`
2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 |
# File 'lib/v20180125/client.rb', line 2847 def DestroyPostCKafkaFlow(request) body = send_request('DestroyPostCKafkaFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DestroyPostCKafkaFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DestroyPostCLSFlow(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::DestroyPostCLSFlowResponse`
2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 |
# File 'lib/v20180125/client.rb', line 2871 def DestroyPostCLSFlow(request) body = send_request('DestroyPostCLSFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DestroyPostCLSFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#EnableRateLimitsV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::EnableRateLimitsV2Response`
2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 |
# File 'lib/v20180125/client.rb', line 2895 def EnableRateLimitsV2(request) body = send_request('EnableRateLimitsV2', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = EnableRateLimitsV2Response.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#FreshAntiFakeUrl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::FreshAntiFakeUrlResponse`
2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 |
# File 'lib/v20180125/client.rb', line 2919 def FreshAntiFakeUrl(request) body = send_request('FreshAntiFakeUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = FreshAntiFakeUrlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GenerateDealsAndPayNew(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::GenerateDealsAndPayNewResponse`
2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 |
# File 'lib/v20180125/client.rb', line 2943 def GenerateDealsAndPayNew(request) body = send_request('GenerateDealsAndPayNew', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GenerateDealsAndPayNewResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetAttackDownloadRecords(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::GetAttackDownloadRecordsResponse`
2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 |
# File 'lib/v20180125/client.rb', line 2967 def GetAttackDownloadRecords(request) body = send_request('GetAttackDownloadRecords', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetAttackDownloadRecordsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetAttackHistogram(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::GetAttackHistogramResponse`
2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 |
# File 'lib/v20180125/client.rb', line 2991 def GetAttackHistogram(request) body = send_request('GetAttackHistogram', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetAttackHistogramResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetAttackTotalCount(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::GetAttackTotalCountResponse`
3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 |
# File 'lib/v20180125/client.rb', line 3015 def GetAttackTotalCount(request) body = send_request('GetAttackTotalCount', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetAttackTotalCountResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GetInstanceQpsLimit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::GetInstanceQpsLimitResponse`
3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 |
# File 'lib/v20180125/client.rb', line 3039 def GetInstanceQpsLimit(request) body = send_request('GetInstanceQpsLimit', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetInstanceQpsLimitResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ImportIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ImportIpAccessControlResponse`
3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 |
# File 'lib/v20180125/client.rb', line 3063 def ImportIpAccessControl(request) body = send_request('ImportIpAccessControl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ImportIpAccessControlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAntiFakeUrl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAntiFakeUrlResponse`
3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 |
# File 'lib/v20180125/client.rb', line 3087 def ModifyAntiFakeUrl(request) body = send_request('ModifyAntiFakeUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAntiFakeUrlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAntiFakeUrlStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAntiFakeUrlStatusResponse`
3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 |
# File 'lib/v20180125/client.rb', line 3111 def ModifyAntiFakeUrlStatus(request) body = send_request('ModifyAntiFakeUrlStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAntiFakeUrlStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAntiInfoLeakRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAntiInfoLeakRulesResponse`
3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 |
# File 'lib/v20180125/client.rb', line 3159 def ModifyAntiInfoLeakRules(request) body = send_request('ModifyAntiInfoLeakRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAntiInfoLeakRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAntiInfoLeakRuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAntiInfoLeakRuleStatusResponse`
3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 |
# File 'lib/v20180125/client.rb', line 3135 def ModifyAntiInfoLeakRuleStatus(request) body = send_request('ModifyAntiInfoLeakRuleStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAntiInfoLeakRuleStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyApiAnalyzeStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyApiAnalyzeStatusResponse`
3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 |
# File 'lib/v20180125/client.rb', line 3183 def ModifyApiAnalyzeStatus(request) body = send_request('ModifyApiAnalyzeStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyApiAnalyzeStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyApiSecEventChange(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyApiSecEventChangeResponse`
3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 |
# File 'lib/v20180125/client.rb', line 3207 def ModifyApiSecEventChange(request) body = send_request('ModifyApiSecEventChange', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyApiSecEventChangeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyApiSecSensitiveRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyApiSecSensitiveRuleResponse`
3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 |
# File 'lib/v20180125/client.rb', line 3231 def ModifyApiSecSensitiveRule(request) body = send_request('ModifyApiSecSensitiveRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyApiSecSensitiveRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAreaBanAreas(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAreaBanAreasResponse`
3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 |
# File 'lib/v20180125/client.rb', line 3255 def ModifyAreaBanAreas(request) body = send_request('ModifyAreaBanAreas', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAreaBanAreasResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAreaBanRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAreaBanRuleResponse`
3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 |
# File 'lib/v20180125/client.rb', line 3279 def ModifyAreaBanRule(request) body = send_request('ModifyAreaBanRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAreaBanRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAreaBanStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAreaBanStatusResponse`
3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 |
# File 'lib/v20180125/client.rb', line 3303 def ModifyAreaBanStatus(request) body = send_request('ModifyAreaBanStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAreaBanStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyAttackWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyAttackWhiteRuleResponse`
3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 |
# File 'lib/v20180125/client.rb', line 3327 def ModifyAttackWhiteRule(request) body = send_request('ModifyAttackWhiteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyAttackWhiteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyBatchIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyBatchIpAccessControlResponse`
3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 |
# File 'lib/v20180125/client.rb', line 3351 def ModifyBatchIpAccessControl(request) body = send_request('ModifyBatchIpAccessControl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBatchIpAccessControlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyBotIdRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyBotIdRuleResponse`
3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 |
# File 'lib/v20180125/client.rb', line 3375 def ModifyBotIdRule(request) body = send_request('ModifyBotIdRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBotIdRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyBotSceneStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyBotSceneStatusResponse`
3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 |
# File 'lib/v20180125/client.rb', line 3399 def ModifyBotSceneStatus(request) body = send_request('ModifyBotSceneStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBotSceneStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyBotSceneUCBRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyBotSceneUCBRuleResponse`
3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 |
# File 'lib/v20180125/client.rb', line 3423 def ModifyBotSceneUCBRule(request) body = send_request('ModifyBotSceneUCBRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBotSceneUCBRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyBotStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyBotStatusResponse`
3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 |
# File 'lib/v20180125/client.rb', line 3447 def ModifyBotStatus(request) body = send_request('ModifyBotStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyBotStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCustomRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyCustomRuleResponse`
3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 |
# File 'lib/v20180125/client.rb', line 3471 def ModifyCustomRule(request) body = send_request('ModifyCustomRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCustomRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCustomRuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyCustomRuleStatusResponse`
3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 |
# File 'lib/v20180125/client.rb', line 3495 def ModifyCustomRuleStatus(request) body = send_request('ModifyCustomRuleStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCustomRuleStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCustomWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyCustomWhiteRuleResponse`
3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 |
# File 'lib/v20180125/client.rb', line 3519 def ModifyCustomWhiteRule(request) body = send_request('ModifyCustomWhiteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCustomWhiteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyCustomWhiteRuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyCustomWhiteRuleStatusResponse`
3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 |
# File 'lib/v20180125/client.rb', line 3543 def ModifyCustomWhiteRuleStatus(request) body = send_request('ModifyCustomWhiteRuleStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyCustomWhiteRuleStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyDomainIpv6Status(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyDomainIpv6StatusResponse`
3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 |
# File 'lib/v20180125/client.rb', line 3567 def ModifyDomainIpv6Status(request) body = send_request('ModifyDomainIpv6Status', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDomainIpv6StatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyDomainPostAction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyDomainPostActionResponse`
3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 |
# File 'lib/v20180125/client.rb', line 3591 def ModifyDomainPostAction(request) body = send_request('ModifyDomainPostAction', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDomainPostActionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyDomainsCLSStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyDomainsCLSStatusResponse`
3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 |
# File 'lib/v20180125/client.rb', line 3639 def ModifyDomainsCLSStatus(request) body = send_request('ModifyDomainsCLSStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDomainsCLSStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyDomainWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyDomainWhiteRuleResponse`
3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 |
# File 'lib/v20180125/client.rb', line 3615 def ModifyDomainWhiteRule(request) body = send_request('ModifyDomainWhiteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyDomainWhiteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyGenerateDeals(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyGenerateDealsResponse`
3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 |
# File 'lib/v20180125/client.rb', line 3663 def ModifyGenerateDeals(request) body = send_request('ModifyGenerateDeals', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyGenerateDealsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyHost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyHostResponse`
3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 |
# File 'lib/v20180125/client.rb', line 3687 def ModifyHost(request) body = send_request('ModifyHost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyHostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyHostFlowMode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyHostFlowModeResponse`
3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 |
# File 'lib/v20180125/client.rb', line 3711 def ModifyHostFlowMode(request) body = send_request('ModifyHostFlowMode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyHostFlowModeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyHostMode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyHostModeResponse`
3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 |
# File 'lib/v20180125/client.rb', line 3735 def ModifyHostMode(request) body = send_request('ModifyHostMode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyHostModeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyHostStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyHostStatusResponse`
3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 |
# File 'lib/v20180125/client.rb', line 3760 def ModifyHostStatus(request) body = send_request('ModifyHostStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyHostStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyInstanceAttackLogPost(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyInstanceAttackLogPostResponse`
3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 |
# File 'lib/v20180125/client.rb', line 3784 def ModifyInstanceAttackLogPost(request) body = send_request('ModifyInstanceAttackLogPost', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyInstanceAttackLogPostResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyInstanceElasticMode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyInstanceElasticModeResponse`
3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 |
# File 'lib/v20180125/client.rb', line 3808 def ModifyInstanceElasticMode(request) body = send_request('ModifyInstanceElasticMode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyInstanceElasticModeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyInstanceName(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyInstanceNameResponse`
3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 |
# File 'lib/v20180125/client.rb', line 3832 def ModifyInstanceName(request) body = send_request('ModifyInstanceName', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyInstanceNameResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyInstanceQpsLimit(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyInstanceQpsLimitResponse`
3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 |
# File 'lib/v20180125/client.rb', line 3856 def ModifyInstanceQpsLimit(request) body = send_request('ModifyInstanceQpsLimit', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyInstanceQpsLimitResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyInstanceRenewFlag(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyInstanceRenewFlagResponse`
3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 |
# File 'lib/v20180125/client.rb', line 3880 def ModifyInstanceRenewFlag(request) body = send_request('ModifyInstanceRenewFlag', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyInstanceRenewFlagResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyIpAccessControlResponse`
3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 |
# File 'lib/v20180125/client.rb', line 3904 def ModifyIpAccessControl(request) body = send_request('ModifyIpAccessControl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyIpAccessControlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyModuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyModuleStatusResponse`
3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 |
# File 'lib/v20180125/client.rb', line 3928 def ModifyModuleStatus(request) body = send_request('ModifyModuleStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyModuleStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyObject(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyObjectResponse`
3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 |
# File 'lib/v20180125/client.rb', line 3952 def ModifyObject(request) body = send_request('ModifyObject', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyObjectResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyOwaspRuleStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyOwaspRuleStatusResponse`
3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 |
# File 'lib/v20180125/client.rb', line 3976 def ModifyOwaspRuleStatus(request) body = send_request('ModifyOwaspRuleStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyOwaspRuleStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyOwaspRuleTypeAction(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyOwaspRuleTypeActionResponse`
4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 |
# File 'lib/v20180125/client.rb', line 4000 def ModifyOwaspRuleTypeAction(request) body = send_request('ModifyOwaspRuleTypeAction', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyOwaspRuleTypeActionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyOwaspRuleTypeLevel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyOwaspRuleTypeLevelResponse`
4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 |
# File 'lib/v20180125/client.rb', line 4024 def ModifyOwaspRuleTypeLevel(request) body = send_request('ModifyOwaspRuleTypeLevel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyOwaspRuleTypeLevelResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyOwaspRuleTypeStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyOwaspRuleTypeStatusResponse`
4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 |
# File 'lib/v20180125/client.rb', line 4048 def ModifyOwaspRuleTypeStatus(request) body = send_request('ModifyOwaspRuleTypeStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyOwaspRuleTypeStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyOwaspWhiteRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyOwaspWhiteRuleResponse`
4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 |
# File 'lib/v20180125/client.rb', line 4072 def ModifyOwaspWhiteRule(request) body = send_request('ModifyOwaspWhiteRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyOwaspWhiteRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyProtectionLevel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyProtectionLevelResponse`
4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 |
# File 'lib/v20180125/client.rb', line 4096 def ModifyProtectionLevel(request) body = send_request('ModifyProtectionLevel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyProtectionLevelResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyProtectionStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyProtectionStatusResponse`
4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 |
# File 'lib/v20180125/client.rb', line 4120 def ModifyProtectionStatus(request) body = send_request('ModifyProtectionStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyProtectionStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifySpartaProtection(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifySpartaProtectionResponse`
4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 |
# File 'lib/v20180125/client.rb', line 4144 def ModifySpartaProtection(request) body = send_request('ModifySpartaProtection', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySpartaProtectionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifySpartaProtectionMode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifySpartaProtectionModeResponse`
4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 |
# File 'lib/v20180125/client.rb', line 4168 def ModifySpartaProtectionMode(request) body = send_request('ModifySpartaProtectionMode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySpartaProtectionModeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyUserLevel(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyUserLevelResponse`
4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 |
# File 'lib/v20180125/client.rb', line 4192 def ModifyUserLevel(request) body = send_request('ModifyUserLevel', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyUserLevelResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyUserSignatureClass(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyUserSignatureClassResponse`
4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 |
# File 'lib/v20180125/client.rb', line 4216 def ModifyUserSignatureClass(request) body = send_request('ModifyUserSignatureClass', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyUserSignatureClassResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyUserSignatureRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyUserSignatureRuleResponse`
4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 |
# File 'lib/v20180125/client.rb', line 4240 def ModifyUserSignatureRule(request) body = send_request('ModifyUserSignatureRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyUserSignatureRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyUserSignatureRuleV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyUserSignatureRuleV2Response`
4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 |
# File 'lib/v20180125/client.rb', line 4264 def ModifyUserSignatureRuleV2(request) body = send_request('ModifyUserSignatureRuleV2', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyUserSignatureRuleV2Response.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyWafAutoDenyRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyWafAutoDenyRulesResponse`
4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 |
# File 'lib/v20180125/client.rb', line 4288 def ModifyWafAutoDenyRules(request) body = send_request('ModifyWafAutoDenyRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyWafAutoDenyRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyWafThreatenIntelligence(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyWafThreatenIntelligenceResponse`
4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 |
# File 'lib/v20180125/client.rb', line 4312 def ModifyWafThreatenIntelligence(request) body = send_request('ModifyWafThreatenIntelligence', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyWafThreatenIntelligenceResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyWebshellStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::ModifyWebshellStatusResponse`
4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 |
# File 'lib/v20180125/client.rb', line 4336 def ModifyWebshellStatus(request) body = send_request('ModifyWebshellStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyWebshellStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#PostAttackDownloadTask(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::PostAttackDownloadTaskResponse`
4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 |
# File 'lib/v20180125/client.rb', line 4360 def PostAttackDownloadTask(request) body = send_request('PostAttackDownloadTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = PostAttackDownloadTaskResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#QueryBypassAllStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::QueryBypassAllStatusResponse`
4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 |
# File 'lib/v20180125/client.rb', line 4384 def QueryBypassAllStatus(request) body = send_request('QueryBypassAllStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = QueryBypassAllStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RefreshAccessCheckResult(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::RefreshAccessCheckResultResponse`
4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 |
# File 'lib/v20180125/client.rb', line 4408 def RefreshAccessCheckResult(request) body = send_request('RefreshAccessCheckResult', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RefreshAccessCheckResultResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RemoveBypassAllRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::RemoveBypassAllRuleResponse`
4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 |
# File 'lib/v20180125/client.rb', line 4432 def RemoveBypassAllRule(request) body = send_request('RemoveBypassAllRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RemoveBypassAllRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SearchAccessLog(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::SearchAccessLogResponse`
4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 |
# File 'lib/v20180125/client.rb', line 4456 def SearchAccessLog(request) body = send_request('SearchAccessLog', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SearchAccessLogResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SearchAttackLog(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::SearchAttackLogResponse`
4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 |
# File 'lib/v20180125/client.rb', line 4480 def SearchAttackLog(request) body = send_request('SearchAttackLog', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SearchAttackLogResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SearchLog(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::SearchLogResponse`
4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 |
# File 'lib/v20180125/client.rb', line 4507 def SearchLog(request) body = send_request('SearchLog', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SearchLogResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SwitchDomainRules(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::SwitchDomainRulesResponse`
4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 |
# File 'lib/v20180125/client.rb', line 4531 def SwitchDomainRules(request) body = send_request('SwitchDomainRules', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SwitchDomainRulesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SwitchElasticMode(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::SwitchElasticModeResponse`
4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 |
# File 'lib/v20180125/client.rb', line 4555 def SwitchElasticMode(request) body = send_request('SwitchElasticMode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SwitchElasticModeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateProtectionModes(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::UpdateProtectionModesResponse`
4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 |
# File 'lib/v20180125/client.rb', line 4579 def UpdateProtectionModes(request) body = send_request('UpdateProtectionModes', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateProtectionModesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpdateRateLimitV2(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::UpdateRateLimitV2Response`
4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 |
# File 'lib/v20180125/client.rb', line 4603 def UpdateRateLimitV2(request) body = send_request('UpdateRateLimitV2', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpdateRateLimitV2Response.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpsertCCAutoStatus(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::UpsertCCAutoStatusResponse`
4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 |
# File 'lib/v20180125/client.rb', line 4627 def UpsertCCAutoStatus(request) body = send_request('UpsertCCAutoStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpsertCCAutoStatusResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpsertCCRule(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::UpsertCCRuleResponse`
4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 |
# File 'lib/v20180125/client.rb', line 4651 def UpsertCCRule(request) body = send_request('UpsertCCRule', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpsertCCRuleResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpsertIpAccessControl(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::UpsertIpAccessControlResponse`
4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 |
# File 'lib/v20180125/client.rb', line 4675 def UpsertIpAccessControl(request) body = send_request('UpsertIpAccessControl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpsertIpAccessControlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UpsertSession(request) ⇒ Object
@rtype: :class:‘Tencentcloud::waf::V20180125::UpsertSessionResponse`
4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 |
# File 'lib/v20180125/client.rb', line 4699 def UpsertSession(request) body = send_request('UpsertSession', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UpsertSessionResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |