diff --git a/CHANGELOG.md b/CHANGELOG.md index 76d0f3b49c..92bd83a80e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,911 @@ +# Release v1.0.350 + +## 智能保险助手(cii) 版本:2021-04-08 + +### 第 12 次发布 + +发布时间:2022-02-18 16:00:08 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [UnderwriteItem](https://cloud.tencent.com/document/api/1368/56853#UnderwriteItem) + + * 新增成员:Range, ReportDate, FileType, InspectProject, Unit, OriginName, YinYang + + +### 第 11 次发布 + +发布时间:2022-02-18 14:29:36 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeQualityScore](https://cloud.tencent.com/document/api/1368/70151) + + + +## 智能保险助手(cii) 版本:2020-12-10 + + + +# Release v1.0.349 + +## 批量计算(batch) 版本:2017-03-12 + +### 第 39 次发布 + +发布时间:2022-02-18 08:04:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ItemPrice](https://cloud.tencent.com/document/api/599/15912#ItemPrice) + + * **修改成员**:Discount, UnitPriceDiscount, UnitPriceSecondStep, UnitPriceDiscountSecondStep, UnitPriceThirdStep, UnitPriceDiscountThirdStep, OriginalPriceThreeYear, DiscountPriceThreeYear, DiscountThreeYear, OriginalPriceFiveYear, DiscountPriceFiveYear, DiscountFiveYear, OriginalPriceOneYear, DiscountPriceOneYear, DiscountOneYear + + + + +## 云服务器(cvm) 版本:2017-03-12 + +### 第 73 次发布 + +发布时间:2022-02-18 08:07:21 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ItemPrice](https://cloud.tencent.com/document/api/213/15753#ItemPrice) + + * **修改成员**:Discount, UnitPriceDiscount, UnitPriceSecondStep, UnitPriceDiscountSecondStep, UnitPriceThirdStep, UnitPriceDiscountThirdStep, OriginalPriceThreeYear, DiscountPriceThreeYear, DiscountThreeYear, OriginalPriceFiveYear, DiscountPriceFiveYear, DiscountFiveYear, OriginalPriceOneYear, DiscountPriceOneYear, DiscountOneYear + + + + +## 云原生数据库 TDSQL-C(cynosdb) 版本:2019-01-07 + +### 第 14 次发布 + +发布时间:2022-02-18 08:07:59 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [ActivateInstance](https://cloud.tencent.com/document/api/1003/70116) +* [AssociateSecurityGroups](https://cloud.tencent.com/document/api/1003/70119) +* [DescribeAccountAllGrantPrivileges](https://cloud.tencent.com/document/api/1003/70114) +* [DescribeClusterParamLogs](https://cloud.tencent.com/document/api/1003/70118) +* [DisassociateSecurityGroups](https://cloud.tencent.com/document/api/1003/70117) +* [GrantAccountPrivileges](https://cloud.tencent.com/document/api/1003/70113) +* [ModifyAccountParams](https://cloud.tencent.com/document/api/1003/70112) +* [PauseServerless](https://cloud.tencent.com/document/api/1003/70122) +* [ResumeServerless](https://cloud.tencent.com/document/api/1003/70121) +* [RevokeAccountPrivileges](https://cloud.tencent.com/document/api/1003/70111) +* [RollBackCluster](https://cloud.tencent.com/document/api/1003/70115) + +修改接口: + +* [ModifyClusterParam](https://cloud.tencent.com/document/api/1003/63365) + + * 新增入参:IsInMaintainPeriod + + +新增数据结构: + +* [AccountParam](https://cloud.tencent.com/document/api/1003/48097#AccountParam) +* [ClusterParamModifyLog](https://cloud.tencent.com/document/api/1003/48097#ClusterParamModifyLog) +* [DatabasePrivileges](https://cloud.tencent.com/document/api/1003/48097#DatabasePrivileges) +* [DbTable](https://cloud.tencent.com/document/api/1003/48097#DbTable) +* [InputAccount](https://cloud.tencent.com/document/api/1003/48097#InputAccount) +* [RollbackDatabase](https://cloud.tencent.com/document/api/1003/48097#RollbackDatabase) +* [RollbackTable](https://cloud.tencent.com/document/api/1003/48097#RollbackTable) +* [RollbackTableInfo](https://cloud.tencent.com/document/api/1003/48097#RollbackTableInfo) +* [TablePrivileges](https://cloud.tencent.com/document/api/1003/48097#TablePrivileges) + + + +## Elasticsearch Service(es) 版本:2018-04-16 + +### 第 24 次发布 + +发布时间:2022-02-18 08:09:35 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [InstanceInfo](https://cloud.tencent.com/document/api/845/30634#InstanceInfo) + + * 新增成员:EsPrivateUrl, EsPrivateDomain + + + + +## 腾讯云微服务引擎(tse) 版本:2020-12-07 + +### 第 14 次发布 + +发布时间:2022-02-18 08:16:25 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ServiceGovernanceInfo](https://cloud.tencent.com/document/api/1364/54942#ServiceGovernanceInfo) + + * 新增成员:AuthOpen, Features + + + + +# Release v1.0.348 + +## 内容分发网络(cdn) 版本:2018-06-06 + +### 第 93 次发布 + +发布时间:2022-02-17 08:07:01 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增数据结构: + +* [RuleEngine](https://cloud.tencent.com/document/api/228/30987#RuleEngine) + +修改数据结构: + +* [DetailDomain](https://cloud.tencent.com/document/api/228/30987#DetailDomain) + + * 新增成员:RuleEngine + +* [ServerCert](https://cloud.tencent.com/document/api/228/30987#ServerCert) + + * 新增成员:From + + + + +## 智能保险助手(cii) 版本:2021-04-08 + +### 第 10 次发布 + +发布时间:2022-02-17 08:07:32 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [StructureResultObject](https://cloud.tencent.com/document/api/1368/56853#StructureResultObject) + + * 新增成员:TaskFiles + + + + +## 智能保险助手(cii) 版本:2020-12-10 + + + +## 分布式数据库 TDSQL(dcdb) 版本:2018-04-11 + +### 第 34 次发布 + +发布时间:2022-02-17 08:09:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeDBSlowLogs](https://cloud.tencent.com/document/api/557/70099) + +新增数据结构: + +* [SlowLogData](https://cloud.tencent.com/document/api/557/16142#SlowLogData) + + + +## 全球应用加速(gaap) 版本:2018-05-29 + +### 第 28 次发布 + +发布时间:2022-02-17 08:10:54 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateRule](https://cloud.tencent.com/document/api/608/36990) + + * 新增入参:ServerNameIndicationSwitch, ServerNameIndication + +* [ModifyRuleAttribute](https://cloud.tencent.com/document/api/608/36983) + + * 新增入参:ServerNameIndicationSwitch, ServerNameIndication + + +修改数据结构: + +* [ProxyInfo](https://cloud.tencent.com/document/api/608/37023#ProxyInfo) + + * 新增成员:InBanBlacklist + +* [RealServer](https://cloud.tencent.com/document/api/608/37023#RealServer) + + * 新增成员:InBanBlacklist + +* [RuleInfo](https://cloud.tencent.com/document/api/608/37023#RuleInfo) + + * 新增成员:ServerNameIndicationSwitch, ServerNameIndication + + + + +## 云监控(monitor) 版本:2018-07-24 + +### 第 38 次发布 + +发布时间:2022-02-17 08:13:29 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeAlarmPolicies](https://cloud.tencent.com/document/api/248/51279) + + * 新增入参:NeedCorrespondence + + +修改数据结构: + +* [AlarmPolicy](https://cloud.tencent.com/document/api/248/30354#AlarmPolicy) + + * 新增成员:FilterDimensionsParam + +* [UserNotice](https://cloud.tencent.com/document/api/248/30354#UserNotice) + + * 新增成员:PhoneCallType + + + + +## 分布式消息队列(tdmq) 版本:2020-02-17 + +### 第 29 次发布 + +发布时间:2022-02-17 08:16:33 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateCmqQueue](https://cloud.tencent.com/document/api/1179/55917) + + * 新增入参:Tags + +* [CreateCmqTopic](https://cloud.tencent.com/document/api/1179/55915) + + * 新增入参:Tags + +* [CreateTopic](https://cloud.tencent.com/document/api/1179/46088) + + * 新增入参:PulsarTopicType + + * **修改入参**:TopicType + + +修改数据结构: + +* [Cluster](https://cloud.tencent.com/document/api/1179/46089#Cluster) + + * 新增成员:PayMode + +* [Consumer](https://cloud.tencent.com/document/api/1179/46089#Consumer) + + * 新增成员:Partition + +* [Subscription](https://cloud.tencent.com/document/api/1179/46089#Subscription) + + * 新增成员:SubType, BlockedSubscriptionOnUnackedMsgs, MaxUnackedMsgNum + +* [Topic](https://cloud.tencent.com/document/api/1179/46089#Topic) + + * 新增成员:PulsarTopicType + + + + +# Release v1.0.347 + +## 云数据库 MySQL(cdb) 版本:2017-03-20 + +### 第 85 次发布 + +发布时间:2022-02-16 08:02:33 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ZoneSellConf](https://cloud.tencent.com/document/api/236/15878#ZoneSellConf) + + * 新增成员:ExClusterStatus, ExClusterRemoteRoZone, ExClusterZoneConf + + + + +## 视频智能标签(ivld) 版本:2021-09-03 + +### 第 3 次发布 + +发布时间:2022-02-16 08:08:24 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [CustomPersonInfo](https://cloud.tencent.com/document/api/1509/65063#CustomPersonInfo) + + * 新增成员:ImageInfoSet, CreateTime + + + + +## 轻量应用服务器(lighthouse) 版本:2020-03-24 + +### 第 25 次发布 + +发布时间:2022-02-16 08:08:43 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateInstances](https://cloud.tencent.com/document/api/1207/69573) + +新增数据结构: + +* [ContainerEnv](https://cloud.tencent.com/document/api/1207/47576#ContainerEnv) +* [DockerContainerConfiguration](https://cloud.tencent.com/document/api/1207/47576#DockerContainerConfiguration) +* [DockerContainerPublishPort](https://cloud.tencent.com/document/api/1207/47576#DockerContainerPublishPort) +* [DockerContainerVolume](https://cloud.tencent.com/document/api/1207/47576#DockerContainerVolume) +* [LoginConfiguration](https://cloud.tencent.com/document/api/1207/47576#LoginConfiguration) + + + +## 服务网格(tcm) 版本:2021-04-13 + +### 第 4 次发布 + +发布时间:2022-02-16 08:11:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [AccessLogConfig](https://cloud.tencent.com/document/api/1261/63843#AccessLogConfig) + + * 新增成员:Encoding, Format + + + + +# Release v1.0.346 + +## 云数据库 MySQL(cdb) 版本:2017-03-20 + +### 第 85 次发布 + +发布时间:2022-02-16 08:02:33 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ZoneSellConf](https://cloud.tencent.com/document/api/236/15878#ZoneSellConf) + + * 新增成员:ExClusterStatus, ExClusterRemoteRoZone, ExClusterZoneConf + + + + +## 视频智能标签(ivld) 版本:2021-09-03 + +### 第 3 次发布 + +发布时间:2022-02-16 08:08:24 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [CustomPersonInfo](https://cloud.tencent.com/document/api/1509/65063#CustomPersonInfo) + + * 新增成员:ImageInfoSet, CreateTime + + + + +## 轻量应用服务器(lighthouse) 版本:2020-03-24 + +### 第 25 次发布 + +发布时间:2022-02-16 08:08:43 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateInstances](https://cloud.tencent.com/document/api/1207/69573) + +新增数据结构: + +* [ContainerEnv](https://cloud.tencent.com/document/api/1207/47576#ContainerEnv) +* [DockerContainerConfiguration](https://cloud.tencent.com/document/api/1207/47576#DockerContainerConfiguration) +* [DockerContainerPublishPort](https://cloud.tencent.com/document/api/1207/47576#DockerContainerPublishPort) +* [DockerContainerVolume](https://cloud.tencent.com/document/api/1207/47576#DockerContainerVolume) +* [LoginConfiguration](https://cloud.tencent.com/document/api/1207/47576#LoginConfiguration) + + + +## 服务网格(tcm) 版本:2021-04-13 + +### 第 4 次发布 + +发布时间:2022-02-16 08:11:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [AccessLogConfig](https://cloud.tencent.com/document/api/1261/63843#AccessLogConfig) + + * 新增成员:Encoding, Format + + + + +# Release v1.0.345 + +## 云数据库 MySQL(cdb) 版本:2017-03-20 + +### 第 85 次发布 + +发布时间:2022-02-16 08:02:33 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ZoneSellConf](https://cloud.tencent.com/document/api/236/15878#ZoneSellConf) + + * 新增成员:ExClusterStatus, ExClusterRemoteRoZone, ExClusterZoneConf + + + + +## 视频智能标签(ivld) 版本:2021-09-03 + +### 第 3 次发布 + +发布时间:2022-02-16 08:08:24 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [CustomPersonInfo](https://cloud.tencent.com/document/api/1509/65063#CustomPersonInfo) + + * 新增成员:ImageInfoSet, CreateTime + + + + +## 轻量应用服务器(lighthouse) 版本:2020-03-24 + +### 第 25 次发布 + +发布时间:2022-02-16 08:08:43 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateInstances](https://cloud.tencent.com/document/api/1207/69573) + +新增数据结构: + +* [ContainerEnv](https://cloud.tencent.com/document/api/1207/47576#ContainerEnv) +* [DockerContainerConfiguration](https://cloud.tencent.com/document/api/1207/47576#DockerContainerConfiguration) +* [DockerContainerPublishPort](https://cloud.tencent.com/document/api/1207/47576#DockerContainerPublishPort) +* [DockerContainerVolume](https://cloud.tencent.com/document/api/1207/47576#DockerContainerVolume) +* [LoginConfiguration](https://cloud.tencent.com/document/api/1207/47576#LoginConfiguration) + + + +## 服务网格(tcm) 版本:2021-04-13 + +### 第 4 次发布 + +发布时间:2022-02-16 08:11:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [AccessLogConfig](https://cloud.tencent.com/document/api/1261/63843#AccessLogConfig) + + * 新增成员:Encoding, Format + + + + +# Release v1.0.344 + +## 正版曲库直通车(ame) 版本:2019-09-16 + +### 第 26 次发布 + +发布时间:2022-02-15 08:02:33 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [SyncKTVRobotCommand](https://cloud.tencent.com/document/api/1155/68348) + + * 新增入参:SetDestroyModeCommandInput + + +新增数据结构: + +* [SetDestroyModeCommandInput](https://cloud.tencent.com/document/api/1155/40113#SetDestroyModeCommandInput) + + + +## 物联网边缘计算平台(iecp) 版本:2021-09-14 + +### 第 2 次发布 + +发布时间:2022-02-15 08:09:12 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ApplicationBasicInfo](https://cloud.tencent.com/document/api/1118/66797#ApplicationBasicInfo) + + * 新增成员:AllowVisualModify + + + + +## 物联网开发平台(iotexplorer) 版本:2019-04-23 + +### 第 41 次发布 + +发布时间:2022-02-15 08:09:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeGatewaySubDeviceList](https://cloud.tencent.com/document/api/1081/69291) + + + +## 容器安全服务(tcss) 版本:2020-11-01 + +### 第 9 次发布 + +发布时间:2022-02-15 08:13:53 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeAssetImageRegistryDetail](https://cloud.tencent.com/document/api/1285/65501) + + * 新增入参:ImageId + + +修改数据结构: + +* [ComplianceK8SDetailInfo](https://cloud.tencent.com/document/api/1285/65614#ComplianceK8SDetailInfo) + + * 新增成员:ClusterVersion + + + + +# Release v1.0.343 + +## 正版曲库直通车(ame) 版本:2019-09-16 + +### 第 25 次发布 + +发布时间:2022-02-14 08:04:52 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [SearchKTVMusics](https://cloud.tencent.com/document/api/1155/56401) + + * 新增入参:Sort + + + + +## DDoS 防护(antiddos) 版本:2020-03-09 + +### 第 21 次发布 + +发布时间:2022-02-14 08:04:59 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateCCPrecisionPolicy](https://cloud.tencent.com/document/api/1021/69188) +* [CreateCCReqLimitPolicy](https://cloud.tencent.com/document/api/1021/69187) +* [CreateCcGeoIPBlockConfig](https://cloud.tencent.com/document/api/1021/69178) +* [DeleteCCPrecisionPolicy](https://cloud.tencent.com/document/api/1021/69186) +* [DeleteCCRequestLimitPolicy](https://cloud.tencent.com/document/api/1021/69185) +* [DeleteCcBlackWhiteIpList](https://cloud.tencent.com/document/api/1021/69177) +* [DeleteCcGeoIPBlockConfig](https://cloud.tencent.com/document/api/1021/69176) +* [DeletePortAclConfig](https://cloud.tencent.com/document/api/1021/69175) +* [DescribeCCPrecisionPlyList](https://cloud.tencent.com/document/api/1021/69184) +* [DescribeCCReqLimitPolicyList](https://cloud.tencent.com/document/api/1021/69183) +* [DescribeCcBlackWhiteIpList](https://cloud.tencent.com/document/api/1021/69174) +* [DescribeCcGeoIPBlockConfigList](https://cloud.tencent.com/document/api/1021/69173) +* [ModifyCCLevelPolicy](https://cloud.tencent.com/document/api/1021/69182) +* [ModifyCCPrecisionPolicy](https://cloud.tencent.com/document/api/1021/69181) +* [ModifyCCReqLimitPolicy](https://cloud.tencent.com/document/api/1021/69180) +* [ModifyCCThresholdPolicy](https://cloud.tencent.com/document/api/1021/69179) +* [ModifyCcBlackWhiteIpList](https://cloud.tencent.com/document/api/1021/69172) +* [ModifyDDoSBlackWhiteIpList](https://cloud.tencent.com/document/api/1021/69171) +* [ModifyDDoSLevel](https://cloud.tencent.com/document/api/1021/69191) +* [ModifyDDoSThreshold](https://cloud.tencent.com/document/api/1021/69190) +* [ModifyPortAclConfig](https://cloud.tencent.com/document/api/1021/69170) + +新增数据结构: + +* [CCPrecisionPlyRecord](https://cloud.tencent.com/document/api/1021/57582#CCPrecisionPlyRecord) +* [CCPrecisionPolicy](https://cloud.tencent.com/document/api/1021/57582#CCPrecisionPolicy) +* [CCReqLimitPolicy](https://cloud.tencent.com/document/api/1021/57582#CCReqLimitPolicy) +* [CCReqLimitPolicyRecord](https://cloud.tencent.com/document/api/1021/57582#CCReqLimitPolicyRecord) +* [CcBlackWhiteIpPolicy](https://cloud.tencent.com/document/api/1021/57582#CcBlackWhiteIpPolicy) +* [CcGeoIPBlockConfig](https://cloud.tencent.com/document/api/1021/57582#CcGeoIPBlockConfig) +* [CcGeoIpPolicyNew](https://cloud.tencent.com/document/api/1021/57582#CcGeoIpPolicyNew) + + + +## 云呼叫中心(ccc) 版本:2020-02-10 + +### 第 21 次发布 + +发布时间:2022-02-14 08:06:57 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateAutoCalloutTask](https://cloud.tencent.com/document/api/679/69194) +* [DescribeAutoCalloutTask](https://cloud.tencent.com/document/api/679/69193) +* [StopAutoCalloutTask](https://cloud.tencent.com/document/api/679/69192) + +新增数据结构: + +* [AutoCalloutTaskCalleeInfo](https://cloud.tencent.com/document/api/679/47715#AutoCalloutTaskCalleeInfo) + +修改数据结构: + +* [TelCdrInfo](https://cloud.tencent.com/document/api/679/47715#TelCdrInfo) + + * 新增成员:AsrUrl + + + + +## 云数据库 MySQL(cdb) 版本:2017-03-20 + +### 第 84 次发布 + +发布时间:2022-02-14 08:07:04 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeDefaultParams](https://cloud.tencent.com/document/api/236/32662) + + * 新增入参:TemplateType + + + + +## 云审计(cloudaudit) 版本:2019-03-19 + +### 第 10 次发布 + +发布时间:2022-02-14 08:08:17 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeAuditTracks](https://cloud.tencent.com/document/api/629/69204) + + + +## 数据库智能管家 DBbrain(dbbrain) 版本:2021-05-27 + +### 第 7 次发布 + +发布时间:2022-02-14 08:09:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeProxySessionKillTasks](https://cloud.tencent.com/document/api/1130/69205) + +新增数据结构: + +* [TaskInfo](https://cloud.tencent.com/document/api/1130/57812#TaskInfo) + + + +## 数据库智能管家 DBbrain(dbbrain) 版本:2019-10-16 + + + +## 前端性能监控(rum) 版本:2021-06-22 + +### 第 11 次发布 + +发布时间:2022-02-14 08:15:11 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateLogExport](https://cloud.tencent.com/document/api/1464/69248) +* [CreateOfflineLogConfig](https://cloud.tencent.com/document/api/1464/69247) +* [CreateReleaseFile](https://cloud.tencent.com/document/api/1464/69246) +* [CreateStarProject](https://cloud.tencent.com/document/api/1464/69245) +* [CreateTawInstance](https://cloud.tencent.com/document/api/1464/69244) +* [CreateWhitelist](https://cloud.tencent.com/document/api/1464/69243) +* [DeleteInstance](https://cloud.tencent.com/document/api/1464/69242) +* [DeleteLogExport](https://cloud.tencent.com/document/api/1464/69241) +* [DeleteOfflineLogConfig](https://cloud.tencent.com/document/api/1464/69240) +* [DeleteOfflineLogRecord](https://cloud.tencent.com/document/api/1464/69239) +* [DeleteProject](https://cloud.tencent.com/document/api/1464/69238) +* [DeleteReleaseFile](https://cloud.tencent.com/document/api/1464/69237) +* [DeleteStarProject](https://cloud.tencent.com/document/api/1464/69236) +* [DeleteWhitelist](https://cloud.tencent.com/document/api/1464/69235) +* [DescribeData](https://cloud.tencent.com/document/api/1464/69234) +* [DescribeDataCustomUrl](https://cloud.tencent.com/document/api/1464/69233) +* [DescribeDataFetchProject](https://cloud.tencent.com/document/api/1464/69232) +* [DescribeDataLogUrlInfo](https://cloud.tencent.com/document/api/1464/69231) +* [DescribeDataPerformanceProject](https://cloud.tencent.com/document/api/1464/69230) +* [DescribeDataPvUrlInfo](https://cloud.tencent.com/document/api/1464/69229) +* [DescribeDataReportCount](https://cloud.tencent.com/document/api/1464/69228) +* [DescribeDataSetUrlStatistics](https://cloud.tencent.com/document/api/1464/69227) +* [DescribeDataStaticProject](https://cloud.tencent.com/document/api/1464/69226) +* [DescribeDataStaticResource](https://cloud.tencent.com/document/api/1464/69225) +* [DescribeDataStaticUrl](https://cloud.tencent.com/document/api/1464/69224) +* [DescribeDataWebVitalsPage](https://cloud.tencent.com/document/api/1464/69223) +* [DescribeLogExports](https://cloud.tencent.com/document/api/1464/69222) +* [DescribeOfflineLogConfigs](https://cloud.tencent.com/document/api/1464/69221) +* [DescribeOfflineLogRecords](https://cloud.tencent.com/document/api/1464/69220) +* [DescribeOfflineLogs](https://cloud.tencent.com/document/api/1464/69219) +* [DescribeProjectLimits](https://cloud.tencent.com/document/api/1464/69218) +* [DescribePvList](https://cloud.tencent.com/document/api/1464/69217) +* [DescribeReleaseFileSign](https://cloud.tencent.com/document/api/1464/69216) +* [DescribeReleaseFiles](https://cloud.tencent.com/document/api/1464/69215) +* [DescribeTawAreas](https://cloud.tencent.com/document/api/1464/69214) +* [DescribeTawInstances](https://cloud.tencent.com/document/api/1464/69213) +* [DescribeUvList](https://cloud.tencent.com/document/api/1464/69212) +* [DescribeWhitelists](https://cloud.tencent.com/document/api/1464/69211) +* [ModifyInstance](https://cloud.tencent.com/document/api/1464/69210) +* [ModifyProject](https://cloud.tencent.com/document/api/1464/69209) +* [ModifyProjectLimit](https://cloud.tencent.com/document/api/1464/69208) +* [ResumeInstance](https://cloud.tencent.com/document/api/1464/69207) +* [StopInstance](https://cloud.tencent.com/document/api/1464/69206) + +新增数据结构: + +* [LogExport](https://cloud.tencent.com/document/api/1464/61476#LogExport) +* [ProjectLimit](https://cloud.tencent.com/document/api/1464/61476#ProjectLimit) +* [ReleaseFile](https://cloud.tencent.com/document/api/1464/61476#ReleaseFile) +* [RumAreaInfo](https://cloud.tencent.com/document/api/1464/61476#RumAreaInfo) +* [RumInstanceInfo](https://cloud.tencent.com/document/api/1464/61476#RumInstanceInfo) +* [RumPvInfo](https://cloud.tencent.com/document/api/1464/61476#RumPvInfo) +* [RumUvInfo](https://cloud.tencent.com/document/api/1464/61476#RumUvInfo) +* [Tag](https://cloud.tencent.com/document/api/1464/61476#Tag) +* [Whitelist](https://cloud.tencent.com/document/api/1464/61476#Whitelist) + + + # Release v1.0.342 ## 云数据库 MySQL(cdb) 版本:2017-03-20 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index e4f845b77c..2b06a6acc5 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,31 +1,10 @@ # 本版本更新包含以下内容: -## 云数据库 MySQL(cdb) 版本:2017-03-20 - -### 第 83 次发布 - -发布时间:2022-02-11 08:03:05 - -本次发布包含了以下内容: - -改善已有的文档。 - -修改接口: - -* [CreateDBImportJob](https://cloud.tencent.com/document/api/236/15858) - - * 新增入参:CosUrl - - * **修改入参**:FileName - - - - -## 文件存储(cfs) 版本:2019-07-19 +## 智能保险助手(cii) 版本:2021-04-08 -### 第 10 次发布 +### 第 12 次发布 -发布时间:2022-02-11 08:03:37 +发布时间:2022-02-18 16:00:08 本次发布包含了以下内容: @@ -33,68 +12,26 @@ 修改数据结构: -* [FileSystemInfo](https://cloud.tencent.com/document/api/582/38175#FileSystemInfo) - - * 新增成员:Tags - - - - -## 云数据库 MariaDB(mariadb) 版本:2017-03-12 - -### 第 31 次发布 - -发布时间:2022-02-11 08:09:25 - -本次发布包含了以下内容: - -改善已有的文档。 - -新增接口: - -* [DescribeDatabaseTable](https://cloud.tencent.com/document/api/237/69130) - -新增数据结构: - -* [TableColumn](https://cloud.tencent.com/document/api/237/16191#TableColumn) - +* [UnderwriteItem](https://cloud.tencent.com/document/api/1368/56853#UnderwriteItem) + * 新增成员:Range, ReportDate, FileType, InspectProject, Unit, OriginName, YinYang -## 证书(ssl) 版本:2019-12-05 ### 第 11 次发布 -发布时间:2022-02-11 08:11:30 +发布时间:2022-02-18 14:29:36 本次发布包含了以下内容: 改善已有的文档。 -修改数据结构: - -* [DeployedResources](https://cloud.tencent.com/document/api/400/41679#DeployedResources) - - * 新增成员:ResourceIds - - - - -## 容器服务(tke) 版本:2018-05-25 - -### 第 89 次发布 - -发布时间:2022-02-11 08:13:17 - -本次发布包含了以下内容: - -改善已有的文档。 +新增接口: -修改接口: +* [DescribeQualityScore](https://cloud.tencent.com/document/api/1368/70151) -* [DescribeClusterNodePools](https://cloud.tencent.com/document/api/457/49432) - * 新增入参:Filters +## 智能保险助手(cii) 版本:2020-12-10 @@ -497,6 +434,40 @@ ## 正版曲库直通车(ame) 版本:2019-09-16 +### 第 26 次发布 + +发布时间:2022-02-15 08:02:33 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [SyncKTVRobotCommand](https://cloud.tencent.com/document/api/1155/68348) + + * 新增入参:SetDestroyModeCommandInput + + +新增数据结构: + +* [SetDestroyModeCommandInput](https://cloud.tencent.com/document/api/1155/40113#SetDestroyModeCommandInput) + +### 第 25 次发布 + +发布时间:2022-02-14 08:04:52 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [SearchKTVMusics](https://cloud.tencent.com/document/api/1155/56401) + + * 新增入参:Sort + + ### 第 24 次发布 发布时间:2022-01-28 08:00:20 @@ -1182,6 +1153,48 @@ ## DDoS 防护(antiddos) 版本:2020-03-09 +### 第 21 次发布 + +发布时间:2022-02-14 08:04:59 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateCCPrecisionPolicy](https://cloud.tencent.com/document/api/1021/69188) +* [CreateCCReqLimitPolicy](https://cloud.tencent.com/document/api/1021/69187) +* [CreateCcGeoIPBlockConfig](https://cloud.tencent.com/document/api/1021/69178) +* [DeleteCCPrecisionPolicy](https://cloud.tencent.com/document/api/1021/69186) +* [DeleteCCRequestLimitPolicy](https://cloud.tencent.com/document/api/1021/69185) +* [DeleteCcBlackWhiteIpList](https://cloud.tencent.com/document/api/1021/69177) +* [DeleteCcGeoIPBlockConfig](https://cloud.tencent.com/document/api/1021/69176) +* [DeletePortAclConfig](https://cloud.tencent.com/document/api/1021/69175) +* [DescribeCCPrecisionPlyList](https://cloud.tencent.com/document/api/1021/69184) +* [DescribeCCReqLimitPolicyList](https://cloud.tencent.com/document/api/1021/69183) +* [DescribeCcBlackWhiteIpList](https://cloud.tencent.com/document/api/1021/69174) +* [DescribeCcGeoIPBlockConfigList](https://cloud.tencent.com/document/api/1021/69173) +* [ModifyCCLevelPolicy](https://cloud.tencent.com/document/api/1021/69182) +* [ModifyCCPrecisionPolicy](https://cloud.tencent.com/document/api/1021/69181) +* [ModifyCCReqLimitPolicy](https://cloud.tencent.com/document/api/1021/69180) +* [ModifyCCThresholdPolicy](https://cloud.tencent.com/document/api/1021/69179) +* [ModifyCcBlackWhiteIpList](https://cloud.tencent.com/document/api/1021/69172) +* [ModifyDDoSBlackWhiteIpList](https://cloud.tencent.com/document/api/1021/69171) +* [ModifyDDoSLevel](https://cloud.tencent.com/document/api/1021/69191) +* [ModifyDDoSThreshold](https://cloud.tencent.com/document/api/1021/69190) +* [ModifyPortAclConfig](https://cloud.tencent.com/document/api/1021/69170) + +新增数据结构: + +* [CCPrecisionPlyRecord](https://cloud.tencent.com/document/api/1021/57582#CCPrecisionPlyRecord) +* [CCPrecisionPolicy](https://cloud.tencent.com/document/api/1021/57582#CCPrecisionPolicy) +* [CCReqLimitPolicy](https://cloud.tencent.com/document/api/1021/57582#CCReqLimitPolicy) +* [CCReqLimitPolicyRecord](https://cloud.tencent.com/document/api/1021/57582#CCReqLimitPolicyRecord) +* [CcBlackWhiteIpPolicy](https://cloud.tencent.com/document/api/1021/57582#CcBlackWhiteIpPolicy) +* [CcGeoIPBlockConfig](https://cloud.tencent.com/document/api/1021/57582#CcGeoIPBlockConfig) +* [CcGeoIpPolicyNew](https://cloud.tencent.com/document/api/1021/57582#CcGeoIpPolicyNew) + ### 第 20 次发布 发布时间:2022-01-19 08:04:47 @@ -4013,6 +4026,21 @@ ## 批量计算(batch) 版本:2017-03-12 +### 第 39 次发布 + +发布时间:2022-02-18 08:04:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ItemPrice](https://cloud.tencent.com/document/api/599/15912#ItemPrice) + + * **修改成员**:Discount, UnitPriceDiscount, UnitPriceSecondStep, UnitPriceDiscountSecondStep, UnitPriceThirdStep, UnitPriceDiscountThirdStep, OriginalPriceThreeYear, DiscountPriceThreeYear, DiscountThreeYear, OriginalPriceFiveYear, DiscountPriceFiveYear, DiscountFiveYear, OriginalPriceOneYear, DiscountPriceOneYear, DiscountOneYear + + ### 第 38 次发布 发布时间:2021-08-25 08:03:12 @@ -8688,6 +8716,31 @@ ## 云呼叫中心(ccc) 版本:2020-02-10 +### 第 21 次发布 + +发布时间:2022-02-14 08:06:57 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateAutoCalloutTask](https://cloud.tencent.com/document/api/679/69194) +* [DescribeAutoCalloutTask](https://cloud.tencent.com/document/api/679/69193) +* [StopAutoCalloutTask](https://cloud.tencent.com/document/api/679/69192) + +新增数据结构: + +* [AutoCalloutTaskCalleeInfo](https://cloud.tencent.com/document/api/679/47715#AutoCalloutTaskCalleeInfo) + +修改数据结构: + +* [TelCdrInfo](https://cloud.tencent.com/document/api/679/47715#TelCdrInfo) + + * 新增成员:AsrUrl + + ### 第 20 次发布 发布时间:2022-01-24 08:05:51 @@ -9074,6 +9127,36 @@ ## 云数据库 MySQL(cdb) 版本:2017-03-20 +### 第 85 次发布 + +发布时间:2022-02-16 08:02:33 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ZoneSellConf](https://cloud.tencent.com/document/api/236/15878#ZoneSellConf) + + * 新增成员:ExClusterStatus, ExClusterRemoteRoZone, ExClusterZoneConf + + +### 第 84 次发布 + +发布时间:2022-02-14 08:07:04 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeDefaultParams](https://cloud.tencent.com/document/api/236/32662) + + * 新增入参:TemplateType + + ### 第 83 次发布 发布时间:2022-02-11 08:03:05 @@ -10834,6 +10917,29 @@ ## 内容分发网络(cdn) 版本:2018-06-06 +### 第 93 次发布 + +发布时间:2022-02-17 08:07:01 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增数据结构: + +* [RuleEngine](https://cloud.tencent.com/document/api/228/30987#RuleEngine) + +修改数据结构: + +* [DetailDomain](https://cloud.tencent.com/document/api/228/30987#DetailDomain) + + * 新增成员:RuleEngine + +* [ServerCert](https://cloud.tencent.com/document/api/228/30987#ServerCert) + + * 新增成员:From + + ### 第 92 次发布 发布时间:2022-01-05 08:05:09 @@ -13814,6 +13920,48 @@ ## 智能保险助手(cii) 版本:2021-04-08 +### 第 12 次发布 + +发布时间:2022-02-18 16:00:08 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [UnderwriteItem](https://cloud.tencent.com/document/api/1368/56853#UnderwriteItem) + + * 新增成员:Range, ReportDate, FileType, InspectProject, Unit, OriginName, YinYang + + +### 第 11 次发布 + +发布时间:2022-02-18 14:29:36 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeQualityScore](https://cloud.tencent.com/document/api/1368/70151)](https://cloud.tencent.com/document/api/#/#) + +### 第 10 次发布 + +发布时间:2022-02-17 08:07:32 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [StructureResultObject](https://cloud.tencent.com/document/api/1368/56853#StructureResultObject) + + * 新增成员:TaskFiles + + ### 第 9 次发布 发布时间:2022-01-20 08:06:41 @@ -16203,6 +16351,18 @@ ## 云审计(cloudaudit) 版本:2019-03-19 +### 第 10 次发布 + +发布时间:2022-02-14 08:08:17 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeAuditTracks](https://cloud.tencent.com/document/api/629/69204) + ### 第 9 次发布 发布时间:2021-11-16 08:07:51 @@ -19906,6 +20066,21 @@ ## 云服务器(cvm) 版本:2017-03-12 +### 第 73 次发布 + +发布时间:2022-02-18 08:07:21 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ItemPrice](https://cloud.tencent.com/document/api/213/15753#ItemPrice) + + * **修改成员**:Discount, UnitPriceDiscount, UnitPriceSecondStep, UnitPriceDiscountSecondStep, UnitPriceThirdStep, UnitPriceDiscountThirdStep, OriginalPriceThreeYear, DiscountPriceThreeYear, DiscountThreeYear, OriginalPriceFiveYear, DiscountPriceFiveYear, DiscountFiveYear, OriginalPriceOneYear, DiscountPriceOneYear, DiscountOneYear + + ### 第 72 次发布 发布时间:2022-01-24 08:07:40 @@ -22765,6 +22940,47 @@ ## 云原生数据库 TDSQL-C(cynosdb) 版本:2019-01-07 +### 第 14 次发布 + +发布时间:2022-02-18 08:07:59 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [ActivateInstance](https://cloud.tencent.com/document/api/1003/70116) +* [AssociateSecurityGroups](https://cloud.tencent.com/document/api/1003/70119) +* [DescribeAccountAllGrantPrivileges](https://cloud.tencent.com/document/api/1003/70114) +* [DescribeClusterParamLogs](https://cloud.tencent.com/document/api/1003/70118) +* [DisassociateSecurityGroups](https://cloud.tencent.com/document/api/1003/70117) +* [GrantAccountPrivileges](https://cloud.tencent.com/document/api/1003/70113) +* [ModifyAccountParams](https://cloud.tencent.com/document/api/1003/70112) +* [PauseServerless](https://cloud.tencent.com/document/api/1003/70122) +* [ResumeServerless](https://cloud.tencent.com/document/api/1003/70121) +* [RevokeAccountPrivileges](https://cloud.tencent.com/document/api/1003/70111) +* [RollBackCluster](https://cloud.tencent.com/document/api/1003/70115) + +修改接口: + +* [ModifyClusterParam](https://cloud.tencent.com/document/api/1003/63365) + + * 新增入参:IsInMaintainPeriod + + +新增数据结构: + +* [AccountParam](https://cloud.tencent.com/document/api/1003/48097#AccountParam) +* [ClusterParamModifyLog](https://cloud.tencent.com/document/api/1003/48097#ClusterParamModifyLog) +* [DatabasePrivileges](https://cloud.tencent.com/document/api/1003/48097#DatabasePrivileges) +* [DbTable](https://cloud.tencent.com/document/api/1003/48097#DbTable) +* [InputAccount](https://cloud.tencent.com/document/api/1003/48097#InputAccount) +* [RollbackDatabase](https://cloud.tencent.com/document/api/1003/48097#RollbackDatabase) +* [RollbackTable](https://cloud.tencent.com/document/api/1003/48097#RollbackTable) +* [RollbackTableInfo](https://cloud.tencent.com/document/api/1003/48097#RollbackTableInfo) +* [TablePrivileges](https://cloud.tencent.com/document/api/1003/48097#TablePrivileges) + ### 第 13 次发布 发布时间:2021-10-27 08:06:08 @@ -23858,6 +24074,22 @@ ## 数据库智能管家 DBbrain(dbbrain) 版本:2021-05-27 +### 第 7 次发布 + +发布时间:2022-02-14 08:09:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeProxySessionKillTasks](https://cloud.tencent.com/document/api/1130/69205) + +新增数据结构: + +* [TaskInfo](https://cloud.tencent.com/document/api/1130/57812#TaskInfo) + ### 第 6 次发布 发布时间:2022-01-10 08:09:43 @@ -24421,6 +24653,22 @@ ## 分布式数据库 TDSQL(dcdb) 版本:2018-04-11 +### 第 34 次发布 + +发布时间:2022-02-17 08:09:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeDBSlowLogs](https://cloud.tencent.com/document/api/557/70099) + +新增数据结构: + +* [SlowLogData](https://cloud.tencent.com/document/api/557/16142#SlowLogData) + ### 第 33 次发布 发布时间:2022-01-13 08:32:29 @@ -29264,6 +29512,21 @@ ## Elasticsearch Service(es) 版本:2018-04-16 +### 第 24 次发布 + +发布时间:2022-02-18 08:09:35 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [InstanceInfo](https://cloud.tencent.com/document/api/845/30634#InstanceInfo) + + * 新增成员:EsPrivateUrl, EsPrivateDomain + + ### 第 23 次发布 发布时间:2022-01-20 08:10:01 @@ -31140,6 +31403,40 @@ ## 全球应用加速(gaap) 版本:2018-05-29 +### 第 28 次发布 + +发布时间:2022-02-17 08:10:54 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateRule](https://cloud.tencent.com/document/api/608/36990) + + * 新增入参:ServerNameIndicationSwitch, ServerNameIndication + +* [ModifyRuleAttribute](https://cloud.tencent.com/document/api/608/36983) + + * 新增入参:ServerNameIndicationSwitch, ServerNameIndication + + +修改数据结构: + +* [ProxyInfo](https://cloud.tencent.com/document/api/608/37023#ProxyInfo) + + * 新增成员:InBanBlacklist + +* [RealServer](https://cloud.tencent.com/document/api/608/37023#RealServer) + + * 新增成员:InBanBlacklist + +* [RuleInfo](https://cloud.tencent.com/document/api/608/37023#RuleInfo) + + * 新增成员:ServerNameIndicationSwitch, ServerNameIndication + + ### 第 27 次发布 发布时间:2022-01-11 08:09:11 @@ -34495,6 +34792,21 @@ ## 物联网边缘计算平台(iecp) 版本:2021-09-14 +### 第 2 次发布 + +发布时间:2022-02-15 08:09:12 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ApplicationBasicInfo](https://cloud.tencent.com/document/api/1118/66797#ApplicationBasicInfo) + + * 新增成员:AllowVisualModify + + ### 第 1 次发布 发布时间:2021-12-23 14:56:48 @@ -35787,6 +36099,18 @@ ## 物联网开发平台(iotexplorer) 版本:2019-04-23 +### 第 41 次发布 + +发布时间:2022-02-15 08:09:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeGatewaySubDeviceList](https://cloud.tencent.com/document/api/1081/69291) + ### 第 40 次发布 发布时间:2022-01-11 08:10:29 @@ -38001,6 +38325,21 @@ ## 视频智能标签(ivld) 版本:2021-09-03 +### 第 3 次发布 + +发布时间:2022-02-16 08:08:24 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [CustomPersonInfo](https://cloud.tencent.com/document/api/1509/65063#CustomPersonInfo) + + * 新增成员:ImageInfoSet, CreateTime + + ### 第 2 次发布 发布时间:2022-01-25 16:20:40 @@ -38425,6 +38764,26 @@ ## 轻量应用服务器(lighthouse) 版本:2020-03-24 +### 第 25 次发布 + +发布时间:2022-02-16 08:08:43 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateInstances](https://cloud.tencent.com/document/api/1207/69573) + +新增数据结构: + +* [ContainerEnv](https://cloud.tencent.com/document/api/1207/47576#ContainerEnv) +* [DockerContainerConfiguration](https://cloud.tencent.com/document/api/1207/47576#DockerContainerConfiguration) +* [DockerContainerPublishPort](https://cloud.tencent.com/document/api/1207/47576#DockerContainerPublishPort) +* [DockerContainerVolume](https://cloud.tencent.com/document/api/1207/47576#DockerContainerVolume) +* [LoginConfiguration](https://cloud.tencent.com/document/api/1207/47576#LoginConfiguration) + ### 第 24 次发布 发布时间:2022-01-11 08:11:43 @@ -40484,11 +40843,11 @@ 新增接口: -* [[DescribeDatabaseTable](https://cloud.tencent.com/document/api/237/69130)](https://cloud.tencent.com/document/api/#/#) +* [DescribeDatabaseTable](https://cloud.tencent.com/document/api/237/69130) 新增数据结构: -* [[TableColumn](https://cloud.tencent.com/document/api/237/16191#TableColumn)](https://cloud.tencent.com/document/api/237/16191#[TableColumn](https://cloud.tencent.com/document/api/237/16191#TableColumn)) +* [TableColumn](https://cloud.tencent.com/document/api/237/16191#TableColumn) ### 第 30 次发布 @@ -41896,6 +42255,32 @@ ## 云监控(monitor) 版本:2018-07-24 +### 第 38 次发布 + +发布时间:2022-02-17 08:13:29 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeAlarmPolicies](https://cloud.tencent.com/document/api/248/51279) + + * 新增入参:NeedCorrespondence + + +修改数据结构: + +* [AlarmPolicy](https://cloud.tencent.com/document/api/248/30354#AlarmPolicy) + + * 新增成员:FilterDimensionsParam + +* [UserNotice](https://cloud.tencent.com/document/api/248/30354#UserNotice) + + * 新增成员:PhoneCallType + + ### 第 37 次发布 发布时间:2022-01-21 08:14:26 @@ -48532,6 +48917,72 @@ ## 前端性能监控(rum) 版本:2021-06-22 +### 第 11 次发布 + +发布时间:2022-02-14 08:15:11 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [CreateLogExport](https://cloud.tencent.com/document/api/1464/69248) +* [CreateOfflineLogConfig](https://cloud.tencent.com/document/api/1464/69247) +* [CreateReleaseFile](https://cloud.tencent.com/document/api/1464/69246) +* [CreateStarProject](https://cloud.tencent.com/document/api/1464/69245) +* [CreateTawInstance](https://cloud.tencent.com/document/api/1464/69244) +* [CreateWhitelist](https://cloud.tencent.com/document/api/1464/69243) +* [DeleteInstance](https://cloud.tencent.com/document/api/1464/69242) +* [DeleteLogExport](https://cloud.tencent.com/document/api/1464/69241) +* [DeleteOfflineLogConfig](https://cloud.tencent.com/document/api/1464/69240) +* [DeleteOfflineLogRecord](https://cloud.tencent.com/document/api/1464/69239) +* [DeleteProject](https://cloud.tencent.com/document/api/1464/69238) +* [DeleteReleaseFile](https://cloud.tencent.com/document/api/1464/69237) +* [DeleteStarProject](https://cloud.tencent.com/document/api/1464/69236) +* [DeleteWhitelist](https://cloud.tencent.com/document/api/1464/69235) +* [DescribeData](https://cloud.tencent.com/document/api/1464/69234) +* [DescribeDataCustomUrl](https://cloud.tencent.com/document/api/1464/69233) +* [DescribeDataFetchProject](https://cloud.tencent.com/document/api/1464/69232) +* [DescribeDataLogUrlInfo](https://cloud.tencent.com/document/api/1464/69231) +* [DescribeDataPerformanceProject](https://cloud.tencent.com/document/api/1464/69230) +* [DescribeDataPvUrlInfo](https://cloud.tencent.com/document/api/1464/69229) +* [DescribeDataReportCount](https://cloud.tencent.com/document/api/1464/69228) +* [DescribeDataSetUrlStatistics](https://cloud.tencent.com/document/api/1464/69227) +* [DescribeDataStaticProject](https://cloud.tencent.com/document/api/1464/69226) +* [DescribeDataStaticResource](https://cloud.tencent.com/document/api/1464/69225) +* [DescribeDataStaticUrl](https://cloud.tencent.com/document/api/1464/69224) +* [DescribeDataWebVitalsPage](https://cloud.tencent.com/document/api/1464/69223) +* [DescribeLogExports](https://cloud.tencent.com/document/api/1464/69222) +* [DescribeOfflineLogConfigs](https://cloud.tencent.com/document/api/1464/69221) +* [DescribeOfflineLogRecords](https://cloud.tencent.com/document/api/1464/69220) +* [DescribeOfflineLogs](https://cloud.tencent.com/document/api/1464/69219) +* [DescribeProjectLimits](https://cloud.tencent.com/document/api/1464/69218) +* [DescribePvList](https://cloud.tencent.com/document/api/1464/69217) +* [DescribeReleaseFileSign](https://cloud.tencent.com/document/api/1464/69216) +* [DescribeReleaseFiles](https://cloud.tencent.com/document/api/1464/69215) +* [DescribeTawAreas](https://cloud.tencent.com/document/api/1464/69214) +* [DescribeTawInstances](https://cloud.tencent.com/document/api/1464/69213) +* [DescribeUvList](https://cloud.tencent.com/document/api/1464/69212) +* [DescribeWhitelists](https://cloud.tencent.com/document/api/1464/69211) +* [ModifyInstance](https://cloud.tencent.com/document/api/1464/69210) +* [ModifyProject](https://cloud.tencent.com/document/api/1464/69209) +* [ModifyProjectLimit](https://cloud.tencent.com/document/api/1464/69208) +* [ResumeInstance](https://cloud.tencent.com/document/api/1464/69207) +* [StopInstance](https://cloud.tencent.com/document/api/1464/69206) + +新增数据结构: + +* [LogExport](https://cloud.tencent.com/document/api/1464/61476#LogExport) +* [ProjectLimit](https://cloud.tencent.com/document/api/1464/61476#ProjectLimit) +* [ReleaseFile](https://cloud.tencent.com/document/api/1464/61476#ReleaseFile) +* [RumAreaInfo](https://cloud.tencent.com/document/api/1464/61476#RumAreaInfo) +* [RumInstanceInfo](https://cloud.tencent.com/document/api/1464/61476#RumInstanceInfo) +* [RumPvInfo](https://cloud.tencent.com/document/api/1464/61476#RumPvInfo) +* [RumUvInfo](https://cloud.tencent.com/document/api/1464/61476#RumUvInfo) +* [Tag](https://cloud.tencent.com/document/api/1464/61476#Tag) +* [Whitelist](https://cloud.tencent.com/document/api/1464/61476#Whitelist) + ### 第 10 次发布 发布时间:2022-01-18 08:14:02 @@ -55345,6 +55796,21 @@ ## 服务网格(tcm) 版本:2021-04-13 +### 第 4 次发布 + +发布时间:2022-02-16 08:11:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [AccessLogConfig](https://cloud.tencent.com/document/api/1261/63843#AccessLogConfig) + + * 新增成员:Encoding, Format + + ### 第 3 次发布 发布时间:2022-01-24 08:14:58 @@ -56183,6 +56649,28 @@ ## 容器安全服务(tcss) 版本:2020-11-01 +### 第 9 次发布 + +发布时间:2022-02-15 08:13:53 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [DescribeAssetImageRegistryDetail](https://cloud.tencent.com/document/api/1285/65501) + + * 新增入参:ImageId + + +修改数据结构: + +* [ComplianceK8SDetailInfo](https://cloud.tencent.com/document/api/1285/65614#ComplianceK8SDetailInfo) + + * 新增成员:ClusterVersion + + ### 第 8 次发布 发布时间:2022-01-24 08:15:12 @@ -56654,6 +57142,50 @@ ## 分布式消息队列(tdmq) 版本:2020-02-17 +### 第 29 次发布 + +发布时间:2022-02-17 08:16:33 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateCmqQueue](https://cloud.tencent.com/document/api/1179/55917) + + * 新增入参:Tags + +* [CreateCmqTopic](https://cloud.tencent.com/document/api/1179/55915) + + * 新增入参:Tags + +* [CreateTopic](https://cloud.tencent.com/document/api/1179/46088) + + * 新增入参:PulsarTopicType + + * **修改入参**:TopicType + + +修改数据结构: + +* [Cluster](https://cloud.tencent.com/document/api/1179/46089#Cluster) + + * 新增成员:PayMode + +* [Consumer](https://cloud.tencent.com/document/api/1179/46089#Consumer) + + * 新增成员:Partition + +* [Subscription](https://cloud.tencent.com/document/api/1179/46089#Subscription) + + * 新增成员:SubType, BlockedSubscriptionOnUnackedMsgs, MaxUnackedMsgNum + +* [Topic](https://cloud.tencent.com/document/api/1179/46089#Topic) + + * 新增成员:PulsarTopicType + + ### 第 28 次发布 发布时间:2022-01-21 08:17:48 @@ -62073,6 +62605,21 @@ ## 腾讯云微服务引擎(tse) 版本:2020-12-07 +### 第 14 次发布 + +发布时间:2022-02-18 08:16:25 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ServiceGovernanceInfo](https://cloud.tencent.com/document/api/1364/54942#ServiceGovernanceInfo) + + * 新增成员:AuthOpen, Features + + ### 第 13 次发布 发布时间:2021-12-14 08:16:15 diff --git a/go.mod b/go.mod index 43a3b92f0a..be64f3761f 100644 --- a/go.mod +++ b/go.mod @@ -4,216 +4,216 @@ module github.com/tencentcloud/tencentcloud-sdk-go go 1.14 require ( - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aa v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aai v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/advisor v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/af v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/afc v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ame v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ams v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ams v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/antiddos v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apcas v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ape v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/api v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apigateway v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asr v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asw v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ba v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/batch v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bda v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/billing v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bizlive v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmeip v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmlb v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmvpc v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bri v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/btoe v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/btoe v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/captcha v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ccc v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cds v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfs v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfw v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cii v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cii v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cim v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cis v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudhsm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cme v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cms v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cr v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cws v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dayu v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbbrain v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbbrain v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dc v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dcdb v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dlc v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/domain v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/drm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ds v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dtf v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dts v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eb v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecc v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecdn v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eiam v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eis v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eis v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/emr v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/es v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/essbasic v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/essbasic v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/facefusion v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/faceid v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/fmu v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ft v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gaap v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gme v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gpm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gs v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gse v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/habo v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hcm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iai v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iai v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ic v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ie v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iecp v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iir v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ims v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ims v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iot v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotcloud v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotcloud v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotexplorer v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iottid v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideo v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideo v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideoindustry v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ivld v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lighthouse v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/live v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lowcode v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lp v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mariadb v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/market v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/memcached v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mgobe v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mgobe v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mna v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mongodb v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mongodb v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/monitor v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mps v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mrs v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ms v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/msp v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mvj v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/nlp v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/npp v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/oceanus v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ocr v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/organization v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/organization v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/partners v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pds v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/postgres v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/privatedns v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rce v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rkp v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rp v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rum v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/scf v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ses v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smh v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smpn v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/soe v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/solar v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssa v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssl v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sslpod v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/taf v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tat v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tav v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbaas v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbp v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbp v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcaplusdb v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcb v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcex v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tci v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcr v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcss v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdid v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/thpc v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tia v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tic v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ticm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tics v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiems v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiia v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tione v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiw v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tkgdq v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tms v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tms v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tmt v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trtc v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsf v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vms v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vod v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wav v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/youmall v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunjing v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunsou v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunsou v1.0.342 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/zj v1.0.342 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aa v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aai v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/advisor v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/af v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/afc v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ame v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ams v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ams v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/antiddos v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apcas v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ape v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/api v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apigateway v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asr v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asw v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ba v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/batch v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bda v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/billing v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bizlive v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmeip v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmlb v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmvpc v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bri v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/btoe v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/btoe v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/captcha v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ccc v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cds v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfs v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfw v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cii v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cii v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cim v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cis v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudhsm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cme v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cms v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cr v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cws v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dayu v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbbrain v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbbrain v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dc v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dcdb v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dlc v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/domain v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/drm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ds v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dtf v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dts v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eb v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecc v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecdn v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eiam v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eis v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eis v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/emr v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/es v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/essbasic v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/essbasic v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/facefusion v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/faceid v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/fmu v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ft v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gaap v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gme v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gpm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gs v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gse v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/habo v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hcm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iai v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iai v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ic v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ie v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iecp v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iir v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ims v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ims v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iot v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotcloud v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotcloud v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotexplorer v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iottid v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideo v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideo v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideoindustry v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ivld v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lighthouse v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/live v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lowcode v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lp v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mariadb v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/market v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/memcached v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mgobe v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mgobe v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mna v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mongodb v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mongodb v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/monitor v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mps v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mrs v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ms v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/msp v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mvj v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/nlp v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/npp v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/oceanus v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ocr v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/organization v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/organization v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/partners v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pds v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/postgres v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/privatedns v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rce v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rkp v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rp v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rum v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/scf v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ses v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smh v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smpn v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/soe v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/solar v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssa v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssl v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sslpod v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/taf v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tat v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tav v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbaas v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbp v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbp v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcaplusdb v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcb v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcex v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tci v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcr v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcss v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdid v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/thpc v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tia v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tic v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ticm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tics v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiems v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiia v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tione v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiw v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tkgdq v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tms v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tms v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tmt v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trtc v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsf v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vms v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vod v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wav v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/youmall v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunjing v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunsou v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunsou v1.0.350 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/zj v1.0.350 ) diff --git a/products.md b/products.md index 2201d8b52f..dfe6c418ae 100644 --- a/products.md +++ b/products.md @@ -5,20 +5,20 @@ | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2021-11-10 08:01:49 | | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2022-01-07 08:02:53 | | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2022-01-07 08:02:54 | -| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-01-28 08:00:20 | +| ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2022-02-15 08:02:33 | | ams | [音频内容检测](https://cloud.tencent.com/document/product/1219) | 2021-12-21 08:00:20 | -| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-02-11 08:01:33 | +| antiddos | [DDoS 防护](https://cloud.tencent.com/document/product/1021) | 2022-02-14 08:04:59 | | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2021-11-10 08:02:02 | | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2021-11-10 08:02:03 | | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2022-01-14 10:07:56 | | apigateway | [API网关](https://cloud.tencent.com/document/product/628) | 2022-01-25 08:05:51 | | apm | [应用性能观测](https://cloud.tencent.com/document/product/1463) | 2022-01-19 08:05:14 | | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2022-01-21 08:05:34 | -| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-01-25 08:06:14 | +| asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2022-02-17 08:05:39 | | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2021-11-29 08:03:58 | | ba | [网站备案](https://cloud.tencent.com/document/product/243) | 2021-11-10 08:02:33 | -| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2021-11-10 08:02:34 | -| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2022-01-03 08:04:43 | +| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2022-02-18 08:04:38 | +| bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2022-02-16 08:01:43 | | billing | [计费相关](https://cloud.tencent.com/document/product/555) | 2022-01-11 08:03:32 | | bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 | | bm | [黑石物理服务器1.0](https://cloud.tencent.com/document/product/386) | 2021-11-10 08:02:45 | @@ -31,34 +31,34 @@ | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2022-01-20 08:05:36 | | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2022-01-18 08:04:56 | | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2022-01-26 08:03:48 | -| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-01-24 08:05:51 | -| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-02-11 08:03:05 | -| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-01-14 08:07:10 | +| ccc | [云呼叫中心](https://cloud.tencent.com/document/product/679) | 2022-02-14 08:06:57 | +| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2022-02-18 08:05:33 | +| cdn | [内容分发网络](https://cloud.tencent.com/document/product/228) | 2022-02-17 08:07:01 | | cds | [数据安全审计](https://cloud.tencent.com/document/product/856) | 2021-12-24 08:06:33 | | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2022-02-11 08:03:37 | | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2022-01-17 08:04:37 | | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2022-01-26 08:04:40 | -| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-01-26 19:49:53 | +| cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2022-02-18 16:00:08 | | cim | [](https://cloud.tencent.com/document/product) | 2019-05-16 17:21:18 | | cis | [](https://cloud.tencent.com/document/product) | 2018-06-07 15:01:42 | | ckafka | [消息队列 Ckafka](https://cloud.tencent.com/document/product/597) | 2022-02-10 08:03:19 | | clb | [负载均衡](https://cloud.tencent.com/document/product/214) | 2022-02-11 08:04:02 | -| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2021-11-16 08:07:51 | +| cloudaudit | [云审计](https://cloud.tencent.com/document/product/629) | 2022-02-14 08:08:17 | | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2021-11-10 08:04:28 | -| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-01-21 08:08:17 | +| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2022-02-18 08:06:44 | | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2022-01-27 08:22:16 | | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2021-11-10 08:04:45 | | cms | [内容安全](https://cloud.tencent.com/document/product) | 2020-10-29 08:03:08 | | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2022-01-20 08:07:33 | | cr | [金融联络机器人](https://cloud.tencent.com/document/product/656) | 2021-02-24 08:03:24 | -| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-01-26 08:05:43 | +| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2022-02-18 08:07:21 | | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2022-01-17 08:06:09 | | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 | -| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2021-11-17 08:10:15 | +| cynosdb | [云原生数据库 TDSQL-C](https://cloud.tencent.com/document/product/1003) | 2022-02-18 08:07:59 | | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2021-11-10 08:05:47 | -| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-01-17 08:06:53 | +| dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2022-02-14 08:09:51 | | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2021-11-10 08:06:00 | -| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-01-14 08:09:41 | +| dcdb | [分布式数据库 TDSQL](https://cloud.tencent.com/document/product/557) | 2022-02-17 08:09:34 | | dlc | [数据湖计算](https://cloud.tencent.com/document/product/1342) | 2022-01-12 08:09:02 | | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2021-12-17 08:10:50 | | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2021-12-06 08:05:24 | @@ -68,18 +68,18 @@ | dts | [数据传输服务](https://cloud.tencent.com/document/product/571) | 2022-01-24 08:09:08 | | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2022-01-20 08:09:25 | | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2021-11-10 08:06:30 | -| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-01-18 08:09:09 | +| ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2022-02-16 08:05:58 | | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2021-12-06 08:05:41 | | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2022-01-18 08:09:35 | | eis | [企业集成服务](https://cloud.tencent.com/document/product/1270) | 2022-01-20 08:09:56 | | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2022-01-17 08:08:00 | -| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-01-20 08:10:01 | -| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-01-17 08:08:08 | +| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2022-02-18 08:09:35 | +| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2022-02-16 08:06:32 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2022-02-11 08:07:03 | | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2022-01-21 08:11:28 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2021-12-14 08:10:17 | | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2021-12-08 08:10:45 | -| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-01-11 08:09:11 | +| gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2022-02-17 08:10:54 | | gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2022-01-24 08:10:18 | | gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2021-11-10 08:07:27 | | gs | [云游戏解决方案](https://cloud.tencent.com/document/product/1162) | 2022-01-12 08:10:24 | @@ -87,20 +87,20 @@ | habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 | | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2021-11-10 08:07:42 | | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2021-12-22 08:12:31 | -| ic | [物联卡](https://cloud.tencent.com/document/product/636) | 2022-01-06 08:10:22 | +| ic | [物联卡](https://cloud.tencent.com/document/product/636) | 2022-02-14 08:12:04 | | ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2021-11-11 11:03:38 | -| iecp | [物联网边缘计算平台](https://cloud.tencent.com/document/product/1118) | 2021-12-23 14:56:48 | +| iecp | [物联网边缘计算平台](https://cloud.tencent.com/document/product/1118) | 2022-02-15 08:09:12 | | iir | [智能识图](https://cloud.tencent.com/document/product/1217) | 2021-11-10 08:07:49 | | ims | [图片内容检测](https://cloud.tencent.com/document/product/1125) | 2022-01-24 08:10:57 | | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2021-11-10 08:07:50 | | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2021-07-21 08:06:35 | -| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-01-11 08:10:29 | +| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2022-02-15 08:09:38 | | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2021-11-10 08:08:16 | | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2021-12-24 08:11:21 | | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2022-01-26 08:09:29 | -| ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-01-25 16:20:40 | +| ivld | [视频智能标签](https://cloud.tencent.com/document/product/1509) | 2022-02-16 08:08:24 | | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2021-12-24 08:11:42 | -| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-01-11 08:11:43 | +| lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2022-02-16 08:08:43 | | live | [云直播](https://cloud.tencent.com/document/product/267) | 2022-01-25 08:14:02 | | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-01-27 10:15:18 | | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2021-11-10 08:08:46 | @@ -110,7 +110,7 @@ | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2021-11-10 08:08:55 | | mna | [移动网络加速](https://cloud.tencent.com/document/product/1385) | 2021-11-10 08:08:55 | | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2022-01-05 08:11:21 | -| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-01-26 08:10:33 | +| monitor | [云监控](https://cloud.tencent.com/document/product/248) | 2022-02-17 08:13:29 | | mps | [视频处理](https://cloud.tencent.com/document/product/862) | 2021-11-24 08:11:23 | | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2021-12-14 08:12:50 | | ms | [移动应用安全](https://cloud.tencent.com/document/product) | 2020-06-05 08:13:52 | @@ -119,8 +119,8 @@ | nlp | [自然语言处理](https://cloud.tencent.com/document/product/271) | 2021-12-21 16:54:01 | | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 | | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2022-01-25 08:15:03 | -| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-01-27 08:59:26 | -| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-01-26 08:11:15 | +| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2022-02-17 08:14:03 | +| organization | [企业组织](https://cloud.tencent.com/document/product/850) | 2022-02-14 08:14:42 | | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2022-01-27 09:00:32 | | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2021-11-10 08:09:50 | | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2022-01-13 08:55:35 | @@ -129,7 +129,7 @@ | redis | [云数据库 Redis](https://cloud.tencent.com/document/product/239) | 2022-01-19 08:13:55 | | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2021-11-10 08:10:03 | | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2021-11-10 08:10:04 | -| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-01-18 08:14:02 | +| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2022-02-18 08:13:28 | | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2022-01-12 08:13:52 | | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2022-01-26 08:11:53 | | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2022-02-10 11:28:45 | @@ -141,7 +141,7 @@ | ssa | [态势感知](https://cloud.tencent.com/document/product/664) | 2021-11-22 08:10:13 | | ssl | [证书](https://cloud.tencent.com/document/product/400) | 2022-02-11 08:11:30 | | sslpod | [SSL 证书监控](https://cloud.tencent.com/document/product/1084) | 2021-11-10 08:10:37 | -| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2022-01-24 08:14:23 | +| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2022-02-14 08:16:13 | | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2021-12-16 08:13:48 | | taf | [流量反欺诈](https://cloud.tencent.com/document/product/1031) | 2021-12-23 08:14:47 | | tag | [标签](https://cloud.tencent.com/document/product/651) | 2021-11-10 08:10:44 | @@ -151,14 +151,14 @@ | tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 | | tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2021-11-10 08:10:55 | | tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2021-11-10 08:10:55 | -| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2022-01-17 08:12:48 | +| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2022-02-16 08:11:44 | | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2021-11-10 08:11:12 | | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 | -| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-01-24 08:14:58 | +| tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2022-02-16 08:11:56 | | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2021-12-24 08:15:03 | -| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-01-26 08:13:10 | +| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2022-02-15 08:13:53 | | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2021-11-10 08:11:24 | -| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-01-21 08:17:48 | +| tdmq | [分布式消息队列](https://cloud.tencent.com/document/product/1179) | 2022-02-17 08:16:33 | | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2022-01-21 08:18:01 | | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2021-12-27 08:11:18 | | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 | @@ -168,21 +168,21 @@ | tiems | [腾讯云 TI 平台 TI-EMS ](https://cloud.tencent.com/document/product/1120) | 2021-12-31 11:26:13 | | tiia | [图像分析](https://cloud.tencent.com/document/product/865) | 2022-02-10 08:12:20 | | tione | [腾讯云 TI 平台 TI-ONE](https://cloud.tencent.com/document/product/851) | 2022-01-07 08:14:32 | -| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2021-12-27 08:11:32 | +| tiw | [互动白板](https://cloud.tencent.com/document/product/1137) | 2022-02-17 08:17:06 | | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2022-02-11 08:13:17 | | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 | | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2022-01-24 08:16:27 | | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2021-11-10 08:12:05 | | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2021-11-11 11:09:51 | -| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2021-12-16 08:15:47 | +| tse | [腾讯云微服务引擎](https://cloud.tencent.com/document/product/1364) | 2022-02-18 08:16:25 | | tsf | [腾讯微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2022-01-20 08:16:32 | | tsw | [腾讯微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2021-11-10 08:12:32 | | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2022-01-24 08:16:57 | | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2021-11-10 08:12:34 | | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2021-12-21 08:12:32 | | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2021-11-10 08:12:38 | -| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-01-26 08:14:54 | -| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-02-11 08:14:30 | +| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2022-02-14 08:18:44 | +| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2022-02-17 08:18:21 | | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2021-12-02 08:14:23 | | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2022-01-10 08:18:57 | | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 | diff --git a/tencentcloud/aa/go.mod b/tencentcloud/aa/go.mod index a9175e149e..c956efa257 100644 --- a/tencentcloud/aa/go.mod +++ b/tencentcloud/aa/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aa go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/aai/go.mod b/tencentcloud/aai/go.mod index 1bc89bb335..622f039a6a 100644 --- a/tencentcloud/aai/go.mod +++ b/tencentcloud/aai/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aai go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/advisor/go.mod b/tencentcloud/advisor/go.mod index 5b16dc1f84..f96918bd6c 100644 --- a/tencentcloud/advisor/go.mod +++ b/tencentcloud/advisor/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/advisor go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/af/go.mod b/tencentcloud/af/go.mod index 64a3fc376e..90e6454083 100644 --- a/tencentcloud/af/go.mod +++ b/tencentcloud/af/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/af go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/afc/go.mod b/tencentcloud/afc/go.mod index 79d91f946c..52d6b4a43e 100644 --- a/tencentcloud/afc/go.mod +++ b/tencentcloud/afc/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/afc go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ame/go.mod b/tencentcloud/ame/go.mod index ae71d113de..241b53f439 100644 --- a/tencentcloud/ame/go.mod +++ b/tencentcloud/ame/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ame go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ame/v20190916/models.go b/tencentcloud/ame/v20190916/models.go index 0c9cbeaa72..6330488eaa 100644 --- a/tencentcloud/ame/v20190916/models.go +++ b/tencentcloud/ame/v20190916/models.go @@ -1992,12 +1992,17 @@ type SearchKTVMusicsRequest struct { KeyWord *string `json:"KeyWord,omitempty" name:"KeyWord"` // 分页返回的起始偏移量,默认值:0。将返回第 Offset 到第 Offset+Limit-1 条。 - // 取值范围:Offset + Limit 不超过5000。取值范围:小于5000 + // 取值范围:Offset + Limit 不超过5000。 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 分页返回的起始偏移量,默认值:50。将返回第 Offset 到第 Offset+Limit-1 条。 - // 取值范围:Offset + Limit 不超过5000。 Limit *int64 `json:"Limit,omitempty" name:"Limit"` + + // 排序方式。默认按照匹配度排序 + //
  • Sort.Field 可选 CreateTime
  • + //
  • Sort.Order 可选 Desc
  • + //
  • 当 KeyWord 不为空时,Sort.Field 字段无效, 搜索结果将以匹配度排序。
  • + Sort *SortBy `json:"Sort,omitempty" name:"Sort"` } func (r *SearchKTVMusicsRequest) ToJsonString() string { @@ -2015,6 +2020,7 @@ func (r *SearchKTVMusicsRequest) FromJsonString(s string) error { delete(f, "KeyWord") delete(f, "Offset") delete(f, "Limit") + delete(f, "Sort") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "SearchKTVMusicsRequest has unknown keys!", "") } @@ -2076,6 +2082,18 @@ type SetAudioParamCommandInput struct { Type *string `json:"Type,omitempty" name:"Type"` } +type SetDestroyModeCommandInput struct { + + // 销毁模式,取值有: + //
  • Auto:房间没人时自动销毁
  • + //
  • Expire:房间没人时过期自动销毁
  • + //
  • Never:不自动销毁,需手动销毁
  • 默认为:Auto。 + DestroyMode *string `json:"DestroyMode,omitempty" name:"DestroyMode"` + + // 过期销毁时间,单位:秒,当DestroyMode取Expire时必填。 + DestroyExpireTime *int64 `json:"DestroyExpireTime,omitempty" name:"DestroyExpireTime"` +} + type SetPlayModeCommandInput struct { // 播放模式,取值有: @@ -2149,6 +2167,7 @@ type SyncKTVRobotCommandRequest struct { //
  • SetPlaylist:歌单变更
  • //
  • SetAudioParam:音频参数变更
  • //
  • SendMessage:发送自定义消息
  • + //
  • SetDestroyMode:设置销毁模式
  • Command *string `json:"Command,omitempty" name:"Command"` // 播放参数。 @@ -2168,6 +2187,9 @@ type SyncKTVRobotCommandRequest struct { // 播放模式,当Command取SetPlayMode时,必填。 SetPlayModeCommandInput *SetPlayModeCommandInput `json:"SetPlayModeCommandInput,omitempty" name:"SetPlayModeCommandInput"` + + // 销毁模式,当Command取SetDestroyMode时,必填。 + SetDestroyModeCommandInput *SetDestroyModeCommandInput `json:"SetDestroyModeCommandInput,omitempty" name:"SetDestroyModeCommandInput"` } func (r *SyncKTVRobotCommandRequest) ToJsonString() string { @@ -2190,6 +2212,7 @@ func (r *SyncKTVRobotCommandRequest) FromJsonString(s string) error { delete(f, "SetAudioParamCommandInput") delete(f, "SendMessageCommandInput") delete(f, "SetPlayModeCommandInput") + delete(f, "SetDestroyModeCommandInput") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "SyncKTVRobotCommandRequest has unknown keys!", "") } diff --git a/tencentcloud/ams/go.mod b/tencentcloud/ams/go.mod index 68ec01a696..292021fd70 100644 --- a/tencentcloud/ams/go.mod +++ b/tencentcloud/ams/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ams go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/antiddos/go.mod b/tencentcloud/antiddos/go.mod index d24f7e1625..60fb6fd77f 100644 --- a/tencentcloud/antiddos/go.mod +++ b/tencentcloud/antiddos/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/antiddos go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/antiddos/v20200309/client.go b/tencentcloud/antiddos/v20200309/client.go index b66b43aa4c..a2b614de8b 100644 --- a/tencentcloud/antiddos/v20200309/client.go +++ b/tencentcloud/antiddos/v20200309/client.go @@ -312,6 +312,216 @@ func (c *Client) CreateBoundIPWithContext(ctx context.Context, request *CreateBo return } +func NewCreateCCPrecisionPolicyRequest() (request *CreateCCPrecisionPolicyRequest) { + request = &CreateCCPrecisionPolicyRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "CreateCCPrecisionPolicy") + + + return +} + +func NewCreateCCPrecisionPolicyResponse() (response *CreateCCPrecisionPolicyResponse) { + response = &CreateCCPrecisionPolicyResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateCCPrecisionPolicy +// 新增CC精准防护策略 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) CreateCCPrecisionPolicy(request *CreateCCPrecisionPolicyRequest) (response *CreateCCPrecisionPolicyResponse, err error) { + if request == nil { + request = NewCreateCCPrecisionPolicyRequest() + } + + response = NewCreateCCPrecisionPolicyResponse() + err = c.Send(request, response) + return +} + +// CreateCCPrecisionPolicy +// 新增CC精准防护策略 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) CreateCCPrecisionPolicyWithContext(ctx context.Context, request *CreateCCPrecisionPolicyRequest) (response *CreateCCPrecisionPolicyResponse, err error) { + if request == nil { + request = NewCreateCCPrecisionPolicyRequest() + } + request.SetContext(ctx) + + response = NewCreateCCPrecisionPolicyResponse() + err = c.Send(request, response) + return +} + +func NewCreateCCReqLimitPolicyRequest() (request *CreateCCReqLimitPolicyRequest) { + request = &CreateCCReqLimitPolicyRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "CreateCCReqLimitPolicy") + + + return +} + +func NewCreateCCReqLimitPolicyResponse() (response *CreateCCReqLimitPolicyResponse) { + response = &CreateCCReqLimitPolicyResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateCCReqLimitPolicy +// 新增CC频率限制策略 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) CreateCCReqLimitPolicy(request *CreateCCReqLimitPolicyRequest) (response *CreateCCReqLimitPolicyResponse, err error) { + if request == nil { + request = NewCreateCCReqLimitPolicyRequest() + } + + response = NewCreateCCReqLimitPolicyResponse() + err = c.Send(request, response) + return +} + +// CreateCCReqLimitPolicy +// 新增CC频率限制策略 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) CreateCCReqLimitPolicyWithContext(ctx context.Context, request *CreateCCReqLimitPolicyRequest) (response *CreateCCReqLimitPolicyResponse, err error) { + if request == nil { + request = NewCreateCCReqLimitPolicyRequest() + } + request.SetContext(ctx) + + response = NewCreateCCReqLimitPolicyResponse() + err = c.Send(request, response) + return +} + +func NewCreateCcGeoIPBlockConfigRequest() (request *CreateCcGeoIPBlockConfigRequest) { + request = &CreateCcGeoIPBlockConfigRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "CreateCcGeoIPBlockConfig") + + + return +} + +func NewCreateCcGeoIPBlockConfigResponse() (response *CreateCcGeoIPBlockConfigResponse) { + response = &CreateCcGeoIPBlockConfigResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateCcGeoIPBlockConfig +// 新建cc防护的地域封禁配置 +// +// 可能返回的错误码: +// LIMITEXCEEDED = "LimitExceeded" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) CreateCcGeoIPBlockConfig(request *CreateCcGeoIPBlockConfigRequest) (response *CreateCcGeoIPBlockConfigResponse, err error) { + if request == nil { + request = NewCreateCcGeoIPBlockConfigRequest() + } + + response = NewCreateCcGeoIPBlockConfigResponse() + err = c.Send(request, response) + return +} + +// CreateCcGeoIPBlockConfig +// 新建cc防护的地域封禁配置 +// +// 可能返回的错误码: +// LIMITEXCEEDED = "LimitExceeded" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) CreateCcGeoIPBlockConfigWithContext(ctx context.Context, request *CreateCcGeoIPBlockConfigRequest) (response *CreateCcGeoIPBlockConfigResponse, err error) { + if request == nil { + request = NewCreateCcGeoIPBlockConfigRequest() + } + request.SetContext(ctx) + + response = NewCreateCcGeoIPBlockConfigResponse() + err = c.Send(request, response) + return +} + func NewCreateDDoSAIRequest() (request *CreateDDoSAIRequest) { request = &CreateDDoSAIRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -1240,96 +1450,358 @@ func (c *Client) DeleteBlackWhiteIpListWithContext(ctx context.Context, request return } -func NewDeleteDDoSBlackWhiteIpListRequest() (request *DeleteDDoSBlackWhiteIpListRequest) { - request = &DeleteDDoSBlackWhiteIpListRequest{ +func NewDeleteCCPrecisionPolicyRequest() (request *DeleteCCPrecisionPolicyRequest) { + request = &DeleteCCPrecisionPolicyRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("antiddos", APIVersion, "DeleteDDoSBlackWhiteIpList") + request.Init().WithApiInfo("antiddos", APIVersion, "DeleteCCPrecisionPolicy") return } -func NewDeleteDDoSBlackWhiteIpListResponse() (response *DeleteDDoSBlackWhiteIpListResponse) { - response = &DeleteDDoSBlackWhiteIpListResponse{ +func NewDeleteCCPrecisionPolicyResponse() (response *DeleteCCPrecisionPolicyResponse) { + response = &DeleteCCPrecisionPolicyResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DeleteDDoSBlackWhiteIpList -// 删除DDoS防护的IP网段黑白名单 +// DeleteCCPrecisionPolicy +// 删除CC精准防护策略 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" // RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -func (c *Client) DeleteDDoSBlackWhiteIpList(request *DeleteDDoSBlackWhiteIpListRequest) (response *DeleteDDoSBlackWhiteIpListResponse, err error) { +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DeleteCCPrecisionPolicy(request *DeleteCCPrecisionPolicyRequest) (response *DeleteCCPrecisionPolicyResponse, err error) { if request == nil { - request = NewDeleteDDoSBlackWhiteIpListRequest() + request = NewDeleteCCPrecisionPolicyRequest() } - response = NewDeleteDDoSBlackWhiteIpListResponse() + response = NewDeleteCCPrecisionPolicyResponse() err = c.Send(request, response) return } -// DeleteDDoSBlackWhiteIpList -// 删除DDoS防护的IP网段黑白名单 +// DeleteCCPrecisionPolicy +// 删除CC精准防护策略 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" // RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -func (c *Client) DeleteDDoSBlackWhiteIpListWithContext(ctx context.Context, request *DeleteDDoSBlackWhiteIpListRequest) (response *DeleteDDoSBlackWhiteIpListResponse, err error) { +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DeleteCCPrecisionPolicyWithContext(ctx context.Context, request *DeleteCCPrecisionPolicyRequest) (response *DeleteCCPrecisionPolicyResponse, err error) { if request == nil { - request = NewDeleteDDoSBlackWhiteIpListRequest() + request = NewDeleteCCPrecisionPolicyRequest() } request.SetContext(ctx) - response = NewDeleteDDoSBlackWhiteIpListResponse() + response = NewDeleteCCPrecisionPolicyResponse() err = c.Send(request, response) return } -func NewDeleteDDoSGeoIPBlockConfigRequest() (request *DeleteDDoSGeoIPBlockConfigRequest) { - request = &DeleteDDoSGeoIPBlockConfigRequest{ +func NewDeleteCCRequestLimitPolicyRequest() (request *DeleteCCRequestLimitPolicyRequest) { + request = &DeleteCCRequestLimitPolicyRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("antiddos", APIVersion, "DeleteDDoSGeoIPBlockConfig") + request.Init().WithApiInfo("antiddos", APIVersion, "DeleteCCRequestLimitPolicy") return } -func NewDeleteDDoSGeoIPBlockConfigResponse() (response *DeleteDDoSGeoIPBlockConfigResponse) { - response = &DeleteDDoSGeoIPBlockConfigResponse{ +func NewDeleteCCRequestLimitPolicyResponse() (response *DeleteCCRequestLimitPolicyResponse) { + response = &DeleteCCRequestLimitPolicyResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DeleteDDoSGeoIPBlockConfig -// 删除DDoS防护的区域封禁配置 +// DeleteCCRequestLimitPolicy +// 删除CC频率限制策略 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -func (c *Client) DeleteDDoSGeoIPBlockConfig(request *DeleteDDoSGeoIPBlockConfigRequest) (response *DeleteDDoSGeoIPBlockConfigResponse, err error) { +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DeleteCCRequestLimitPolicy(request *DeleteCCRequestLimitPolicyRequest) (response *DeleteCCRequestLimitPolicyResponse, err error) { if request == nil { - request = NewDeleteDDoSGeoIPBlockConfigRequest() + request = NewDeleteCCRequestLimitPolicyRequest() } - response = NewDeleteDDoSGeoIPBlockConfigResponse() + response = NewDeleteCCRequestLimitPolicyResponse() err = c.Send(request, response) return } -// DeleteDDoSGeoIPBlockConfig -// 删除DDoS防护的区域封禁配置 +// DeleteCCRequestLimitPolicy +// 删除CC频率限制策略 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -func (c *Client) DeleteDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *DeleteDDoSGeoIPBlockConfigRequest) (response *DeleteDDoSGeoIPBlockConfigResponse, err error) { +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DeleteCCRequestLimitPolicyWithContext(ctx context.Context, request *DeleteCCRequestLimitPolicyRequest) (response *DeleteCCRequestLimitPolicyResponse, err error) { if request == nil { - request = NewDeleteDDoSGeoIPBlockConfigRequest() + request = NewDeleteCCRequestLimitPolicyRequest() + } + request.SetContext(ctx) + + response = NewDeleteCCRequestLimitPolicyResponse() + err = c.Send(request, response) + return +} + +func NewDeleteCcBlackWhiteIpListRequest() (request *DeleteCcBlackWhiteIpListRequest) { + request = &DeleteCcBlackWhiteIpListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "DeleteCcBlackWhiteIpList") + + + return +} + +func NewDeleteCcBlackWhiteIpListResponse() (response *DeleteCcBlackWhiteIpListResponse) { + response = &DeleteCcBlackWhiteIpListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteCcBlackWhiteIpList +// 删除CC四层黑白名单 +// +// 可能返回的错误码: +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DeleteCcBlackWhiteIpList(request *DeleteCcBlackWhiteIpListRequest) (response *DeleteCcBlackWhiteIpListResponse, err error) { + if request == nil { + request = NewDeleteCcBlackWhiteIpListRequest() + } + + response = NewDeleteCcBlackWhiteIpListResponse() + err = c.Send(request, response) + return +} + +// DeleteCcBlackWhiteIpList +// 删除CC四层黑白名单 +// +// 可能返回的错误码: +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DeleteCcBlackWhiteIpListWithContext(ctx context.Context, request *DeleteCcBlackWhiteIpListRequest) (response *DeleteCcBlackWhiteIpListResponse, err error) { + if request == nil { + request = NewDeleteCcBlackWhiteIpListRequest() + } + request.SetContext(ctx) + + response = NewDeleteCcBlackWhiteIpListResponse() + err = c.Send(request, response) + return +} + +func NewDeleteCcGeoIPBlockConfigRequest() (request *DeleteCcGeoIPBlockConfigRequest) { + request = &DeleteCcGeoIPBlockConfigRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "DeleteCcGeoIPBlockConfig") + + + return +} + +func NewDeleteCcGeoIPBlockConfigResponse() (response *DeleteCcGeoIPBlockConfigResponse) { + response = &DeleteCcGeoIPBlockConfigResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteCcGeoIPBlockConfig +// 删除CC防护的区域封禁配置 +// +// 可能返回的错误码: +// LIMITEXCEEDED = "LimitExceeded" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DeleteCcGeoIPBlockConfig(request *DeleteCcGeoIPBlockConfigRequest) (response *DeleteCcGeoIPBlockConfigResponse, err error) { + if request == nil { + request = NewDeleteCcGeoIPBlockConfigRequest() + } + + response = NewDeleteCcGeoIPBlockConfigResponse() + err = c.Send(request, response) + return +} + +// DeleteCcGeoIPBlockConfig +// 删除CC防护的区域封禁配置 +// +// 可能返回的错误码: +// LIMITEXCEEDED = "LimitExceeded" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DeleteCcGeoIPBlockConfigWithContext(ctx context.Context, request *DeleteCcGeoIPBlockConfigRequest) (response *DeleteCcGeoIPBlockConfigResponse, err error) { + if request == nil { + request = NewDeleteCcGeoIPBlockConfigRequest() + } + request.SetContext(ctx) + + response = NewDeleteCcGeoIPBlockConfigResponse() + err = c.Send(request, response) + return +} + +func NewDeleteDDoSBlackWhiteIpListRequest() (request *DeleteDDoSBlackWhiteIpListRequest) { + request = &DeleteDDoSBlackWhiteIpListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "DeleteDDoSBlackWhiteIpList") + + + return +} + +func NewDeleteDDoSBlackWhiteIpListResponse() (response *DeleteDDoSBlackWhiteIpListResponse) { + response = &DeleteDDoSBlackWhiteIpListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteDDoSBlackWhiteIpList +// 删除DDoS防护的IP网段黑白名单 +// +// 可能返回的错误码: +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) DeleteDDoSBlackWhiteIpList(request *DeleteDDoSBlackWhiteIpListRequest) (response *DeleteDDoSBlackWhiteIpListResponse, err error) { + if request == nil { + request = NewDeleteDDoSBlackWhiteIpListRequest() + } + + response = NewDeleteDDoSBlackWhiteIpListResponse() + err = c.Send(request, response) + return +} + +// DeleteDDoSBlackWhiteIpList +// 删除DDoS防护的IP网段黑白名单 +// +// 可能返回的错误码: +// RESOURCEINUSE = "ResourceInUse" +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) DeleteDDoSBlackWhiteIpListWithContext(ctx context.Context, request *DeleteDDoSBlackWhiteIpListRequest) (response *DeleteDDoSBlackWhiteIpListResponse, err error) { + if request == nil { + request = NewDeleteDDoSBlackWhiteIpListRequest() + } + request.SetContext(ctx) + + response = NewDeleteDDoSBlackWhiteIpListResponse() + err = c.Send(request, response) + return +} + +func NewDeleteDDoSGeoIPBlockConfigRequest() (request *DeleteDDoSGeoIPBlockConfigRequest) { + request = &DeleteDDoSGeoIPBlockConfigRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "DeleteDDoSGeoIPBlockConfig") + + + return +} + +func NewDeleteDDoSGeoIPBlockConfigResponse() (response *DeleteDDoSGeoIPBlockConfigResponse) { + response = &DeleteDDoSGeoIPBlockConfigResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteDDoSGeoIPBlockConfig +// 删除DDoS防护的区域封禁配置 +// +// 可能返回的错误码: +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) DeleteDDoSGeoIPBlockConfig(request *DeleteDDoSGeoIPBlockConfigRequest) (response *DeleteDDoSGeoIPBlockConfigResponse, err error) { + if request == nil { + request = NewDeleteDDoSGeoIPBlockConfigRequest() + } + + response = NewDeleteDDoSGeoIPBlockConfigResponse() + err = c.Send(request, response) + return +} + +// DeleteDDoSGeoIPBlockConfig +// 删除DDoS防护的区域封禁配置 +// +// 可能返回的错误码: +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) DeleteDDoSGeoIPBlockConfigWithContext(ctx context.Context, request *DeleteDDoSGeoIPBlockConfigRequest) (response *DeleteDDoSGeoIPBlockConfigResponse, err error) { + if request == nil { + request = NewDeleteDDoSGeoIPBlockConfigRequest() } request.SetContext(ctx) @@ -1434,6 +1906,88 @@ func (c *Client) DeletePacketFilterConfigWithContext(ctx context.Context, reques return } +func NewDeletePortAclConfigRequest() (request *DeletePortAclConfigRequest) { + request = &DeletePortAclConfigRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "DeletePortAclConfig") + + + return +} + +func NewDeletePortAclConfigResponse() (response *DeletePortAclConfigResponse) { + response = &DeletePortAclConfigResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeletePortAclConfig +// 删除DDoS防护的端口acl策略 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DeletePortAclConfig(request *DeletePortAclConfigRequest) (response *DeletePortAclConfigResponse, err error) { + if request == nil { + request = NewDeletePortAclConfigRequest() + } + + response = NewDeletePortAclConfigResponse() + err = c.Send(request, response) + return +} + +// DeletePortAclConfig +// 删除DDoS防护的端口acl策略 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DeletePortAclConfigWithContext(ctx context.Context, request *DeletePortAclConfigRequest) (response *DeletePortAclConfigResponse, err error) { + if request == nil { + request = NewDeletePortAclConfigRequest() + } + request.SetContext(ctx) + + response = NewDeletePortAclConfigResponse() + err = c.Send(request, response) + return +} + func NewDeleteWaterPrintConfigRequest() (request *DeleteWaterPrintConfigRequest) { request = &DeleteWaterPrintConfigRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -1726,25 +2280,25 @@ func (c *Client) DescribeBlackWhiteIpListWithContext(ctx context.Context, reques return } -func NewDescribeCCTrendRequest() (request *DescribeCCTrendRequest) { - request = &DescribeCCTrendRequest{ +func NewDescribeCCPrecisionPlyListRequest() (request *DescribeCCPrecisionPlyListRequest) { + request = &DescribeCCPrecisionPlyListRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("antiddos", APIVersion, "DescribeCCTrend") + request.Init().WithApiInfo("antiddos", APIVersion, "DescribeCCPrecisionPlyList") return } -func NewDescribeCCTrendResponse() (response *DescribeCCTrendResponse) { - response = &DescribeCCTrendResponse{ +func NewDescribeCCPrecisionPlyListResponse() (response *DescribeCCPrecisionPlyListResponse) { + response = &DescribeCCPrecisionPlyListResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeCCTrend -// 获取CC攻击指标数据,包括总请求峰值(QPS)和攻击请求(QPS)以及总请求次数和攻击请求次数 +// DescribeCCPrecisionPlyList +// 获取CC精准防护列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1764,18 +2318,18 @@ func NewDescribeCCTrendResponse() (response *DescribeCCTrendResponse) { // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeCCTrend(request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error) { +func (c *Client) DescribeCCPrecisionPlyList(request *DescribeCCPrecisionPlyListRequest) (response *DescribeCCPrecisionPlyListResponse, err error) { if request == nil { - request = NewDescribeCCTrendRequest() + request = NewDescribeCCPrecisionPlyListRequest() } - response = NewDescribeCCTrendResponse() + response = NewDescribeCCPrecisionPlyListResponse() err = c.Send(request, response) return } -// DescribeCCTrend -// 获取CC攻击指标数据,包括总请求峰值(QPS)和攻击请求(QPS)以及总请求次数和攻击请求次数 +// DescribeCCPrecisionPlyList +// 获取CC精准防护列表 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -1795,29 +2349,291 @@ func (c *Client) DescribeCCTrend(request *DescribeCCTrendRequest) (response *Des // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeCCTrendWithContext(ctx context.Context, request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error) { +func (c *Client) DescribeCCPrecisionPlyListWithContext(ctx context.Context, request *DescribeCCPrecisionPlyListRequest) (response *DescribeCCPrecisionPlyListResponse, err error) { if request == nil { - request = NewDescribeCCTrendRequest() + request = NewDescribeCCPrecisionPlyListRequest() } request.SetContext(ctx) - response = NewDescribeCCTrendResponse() + response = NewDescribeCCPrecisionPlyListResponse() err = c.Send(request, response) return } -func NewDescribeDDoSBlackWhiteIpListRequest() (request *DescribeDDoSBlackWhiteIpListRequest) { - request = &DescribeDDoSBlackWhiteIpListRequest{ +func NewDescribeCCReqLimitPolicyListRequest() (request *DescribeCCReqLimitPolicyListRequest) { + request = &DescribeCCReqLimitPolicyListRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("antiddos", APIVersion, "DescribeDDoSBlackWhiteIpList") + request.Init().WithApiInfo("antiddos", APIVersion, "DescribeCCReqLimitPolicyList") return } -func NewDescribeDDoSBlackWhiteIpListResponse() (response *DescribeDDoSBlackWhiteIpListResponse) { - response = &DescribeDDoSBlackWhiteIpListResponse{ +func NewDescribeCCReqLimitPolicyListResponse() (response *DescribeCCReqLimitPolicyListResponse) { + response = &DescribeCCReqLimitPolicyListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeCCReqLimitPolicyList +// 获取CC频率限制策略列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeCCReqLimitPolicyList(request *DescribeCCReqLimitPolicyListRequest) (response *DescribeCCReqLimitPolicyListResponse, err error) { + if request == nil { + request = NewDescribeCCReqLimitPolicyListRequest() + } + + response = NewDescribeCCReqLimitPolicyListResponse() + err = c.Send(request, response) + return +} + +// DescribeCCReqLimitPolicyList +// 获取CC频率限制策略列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeCCReqLimitPolicyListWithContext(ctx context.Context, request *DescribeCCReqLimitPolicyListRequest) (response *DescribeCCReqLimitPolicyListResponse, err error) { + if request == nil { + request = NewDescribeCCReqLimitPolicyListRequest() + } + request.SetContext(ctx) + + response = NewDescribeCCReqLimitPolicyListResponse() + err = c.Send(request, response) + return +} + +func NewDescribeCCTrendRequest() (request *DescribeCCTrendRequest) { + request = &DescribeCCTrendRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "DescribeCCTrend") + + + return +} + +func NewDescribeCCTrendResponse() (response *DescribeCCTrendResponse) { + response = &DescribeCCTrendResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeCCTrend +// 获取CC攻击指标数据,包括总请求峰值(QPS)和攻击请求(QPS)以及总请求次数和攻击请求次数 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeCCTrend(request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error) { + if request == nil { + request = NewDescribeCCTrendRequest() + } + + response = NewDescribeCCTrendResponse() + err = c.Send(request, response) + return +} + +// DescribeCCTrend +// 获取CC攻击指标数据,包括总请求峰值(QPS)和攻击请求(QPS)以及总请求次数和攻击请求次数 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeCCTrendWithContext(ctx context.Context, request *DescribeCCTrendRequest) (response *DescribeCCTrendResponse, err error) { + if request == nil { + request = NewDescribeCCTrendRequest() + } + request.SetContext(ctx) + + response = NewDescribeCCTrendResponse() + err = c.Send(request, response) + return +} + +func NewDescribeCcBlackWhiteIpListRequest() (request *DescribeCcBlackWhiteIpListRequest) { + request = &DescribeCcBlackWhiteIpListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "DescribeCcBlackWhiteIpList") + + + return +} + +func NewDescribeCcBlackWhiteIpListResponse() (response *DescribeCcBlackWhiteIpListResponse) { + response = &DescribeCcBlackWhiteIpListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeCcBlackWhiteIpList +// 获取CC四层黑白名单列表 +// +// 可能返回的错误码: +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeCcBlackWhiteIpList(request *DescribeCcBlackWhiteIpListRequest) (response *DescribeCcBlackWhiteIpListResponse, err error) { + if request == nil { + request = NewDescribeCcBlackWhiteIpListRequest() + } + + response = NewDescribeCcBlackWhiteIpListResponse() + err = c.Send(request, response) + return +} + +// DescribeCcBlackWhiteIpList +// 获取CC四层黑白名单列表 +// +// 可能返回的错误码: +// LIMITEXCEEDED = "LimitExceeded" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeCcBlackWhiteIpListWithContext(ctx context.Context, request *DescribeCcBlackWhiteIpListRequest) (response *DescribeCcBlackWhiteIpListResponse, err error) { + if request == nil { + request = NewDescribeCcBlackWhiteIpListRequest() + } + request.SetContext(ctx) + + response = NewDescribeCcBlackWhiteIpListResponse() + err = c.Send(request, response) + return +} + +func NewDescribeCcGeoIPBlockConfigListRequest() (request *DescribeCcGeoIPBlockConfigListRequest) { + request = &DescribeCcGeoIPBlockConfigListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "DescribeCcGeoIPBlockConfigList") + + + return +} + +func NewDescribeCcGeoIPBlockConfigListResponse() (response *DescribeCcGeoIPBlockConfigListResponse) { + response = &DescribeCcGeoIPBlockConfigListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeCcGeoIPBlockConfigList +// 获取CC防护的区域封禁配置列表 +// +// 可能返回的错误码: +// LIMITEXCEEDED = "LimitExceeded" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeCcGeoIPBlockConfigList(request *DescribeCcGeoIPBlockConfigListRequest) (response *DescribeCcGeoIPBlockConfigListResponse, err error) { + if request == nil { + request = NewDescribeCcGeoIPBlockConfigListRequest() + } + + response = NewDescribeCcGeoIPBlockConfigListResponse() + err = c.Send(request, response) + return +} + +// DescribeCcGeoIPBlockConfigList +// 获取CC防护的区域封禁配置列表 +// +// 可能返回的错误码: +// LIMITEXCEEDED = "LimitExceeded" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeCcGeoIPBlockConfigListWithContext(ctx context.Context, request *DescribeCcGeoIPBlockConfigListRequest) (response *DescribeCcGeoIPBlockConfigListResponse, err error) { + if request == nil { + request = NewDescribeCcGeoIPBlockConfigListRequest() + } + request.SetContext(ctx) + + response = NewDescribeCcGeoIPBlockConfigListResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDDoSBlackWhiteIpListRequest() (request *DescribeDDoSBlackWhiteIpListRequest) { + request = &DescribeDDoSBlackWhiteIpListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "DescribeDDoSBlackWhiteIpList") + + + return +} + +func NewDescribeDDoSBlackWhiteIpListResponse() (response *DescribeDDoSBlackWhiteIpListResponse) { + response = &DescribeDDoSBlackWhiteIpListResponse{ BaseResponse: &tchttp.BaseResponse{}, } return @@ -2920,21 +3736,509 @@ func NewDescribeListProtocolBlockConfigRequest() (request *DescribeListProtocolB request = &DescribeListProtocolBlockConfigRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("antiddos", APIVersion, "DescribeListProtocolBlockConfig") + request.Init().WithApiInfo("antiddos", APIVersion, "DescribeListProtocolBlockConfig") + + + return +} + +func NewDescribeListProtocolBlockConfigResponse() (response *DescribeListProtocolBlockConfigResponse) { + response = &DescribeListProtocolBlockConfigResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeListProtocolBlockConfig +// 获取DDoS防护的协议封禁配置列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeListProtocolBlockConfig(request *DescribeListProtocolBlockConfigRequest) (response *DescribeListProtocolBlockConfigResponse, err error) { + if request == nil { + request = NewDescribeListProtocolBlockConfigRequest() + } + + response = NewDescribeListProtocolBlockConfigResponse() + err = c.Send(request, response) + return +} + +// DescribeListProtocolBlockConfig +// 获取DDoS防护的协议封禁配置列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeListProtocolBlockConfigWithContext(ctx context.Context, request *DescribeListProtocolBlockConfigRequest) (response *DescribeListProtocolBlockConfigResponse, err error) { + if request == nil { + request = NewDescribeListProtocolBlockConfigRequest() + } + request.SetContext(ctx) + + response = NewDescribeListProtocolBlockConfigResponse() + err = c.Send(request, response) + return +} + +func NewDescribeListSchedulingDomainRequest() (request *DescribeListSchedulingDomainRequest) { + request = &DescribeListSchedulingDomainRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "DescribeListSchedulingDomain") + + + return +} + +func NewDescribeListSchedulingDomainResponse() (response *DescribeListSchedulingDomainResponse) { + response = &DescribeListSchedulingDomainResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeListSchedulingDomain +// 获取智能调度域名列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeListSchedulingDomain(request *DescribeListSchedulingDomainRequest) (response *DescribeListSchedulingDomainResponse, err error) { + if request == nil { + request = NewDescribeListSchedulingDomainRequest() + } + + response = NewDescribeListSchedulingDomainResponse() + err = c.Send(request, response) + return +} + +// DescribeListSchedulingDomain +// 获取智能调度域名列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeListSchedulingDomainWithContext(ctx context.Context, request *DescribeListSchedulingDomainRequest) (response *DescribeListSchedulingDomainResponse, err error) { + if request == nil { + request = NewDescribeListSchedulingDomainRequest() + } + request.SetContext(ctx) + + response = NewDescribeListSchedulingDomainResponse() + err = c.Send(request, response) + return +} + +func NewDescribeListWaterPrintConfigRequest() (request *DescribeListWaterPrintConfigRequest) { + request = &DescribeListWaterPrintConfigRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "DescribeListWaterPrintConfig") + + + return +} + +func NewDescribeListWaterPrintConfigResponse() (response *DescribeListWaterPrintConfigResponse) { + response = &DescribeListWaterPrintConfigResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeListWaterPrintConfig +// 获取DDoS防护的水印防护配置列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeListWaterPrintConfig(request *DescribeListWaterPrintConfigRequest) (response *DescribeListWaterPrintConfigResponse, err error) { + if request == nil { + request = NewDescribeListWaterPrintConfigRequest() + } + + response = NewDescribeListWaterPrintConfigResponse() + err = c.Send(request, response) + return +} + +// DescribeListWaterPrintConfig +// 获取DDoS防护的水印防护配置列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeListWaterPrintConfigWithContext(ctx context.Context, request *DescribeListWaterPrintConfigRequest) (response *DescribeListWaterPrintConfigResponse, err error) { + if request == nil { + request = NewDescribeListWaterPrintConfigRequest() + } + request.SetContext(ctx) + + response = NewDescribeListWaterPrintConfigResponse() + err = c.Send(request, response) + return +} + +func NewDisassociateDDoSEipAddressRequest() (request *DisassociateDDoSEipAddressRequest) { + request = &DisassociateDDoSEipAddressRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "DisassociateDDoSEipAddress") + + + return +} + +func NewDisassociateDDoSEipAddressResponse() (response *DisassociateDDoSEipAddressResponse) { + response = &DisassociateDDoSEipAddressResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DisassociateDDoSEipAddress +// 本接口 (DisassociateDDoSEipAddress) 用于解绑高防弹性公网IP。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DisassociateDDoSEipAddress(request *DisassociateDDoSEipAddressRequest) (response *DisassociateDDoSEipAddressResponse, err error) { + if request == nil { + request = NewDisassociateDDoSEipAddressRequest() + } + + response = NewDisassociateDDoSEipAddressResponse() + err = c.Send(request, response) + return +} + +// DisassociateDDoSEipAddress +// 本接口 (DisassociateDDoSEipAddress) 用于解绑高防弹性公网IP。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DisassociateDDoSEipAddressWithContext(ctx context.Context, request *DisassociateDDoSEipAddressRequest) (response *DisassociateDDoSEipAddressResponse, err error) { + if request == nil { + request = NewDisassociateDDoSEipAddressRequest() + } + request.SetContext(ctx) + + response = NewDisassociateDDoSEipAddressResponse() + err = c.Send(request, response) + return +} + +func NewModifyCCLevelPolicyRequest() (request *ModifyCCLevelPolicyRequest) { + request = &ModifyCCLevelPolicyRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "ModifyCCLevelPolicy") + + + return +} + +func NewModifyCCLevelPolicyResponse() (response *ModifyCCLevelPolicyResponse) { + response = &ModifyCCLevelPolicyResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ModifyCCLevelPolicy +// 修改CC防护等级 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) ModifyCCLevelPolicy(request *ModifyCCLevelPolicyRequest) (response *ModifyCCLevelPolicyResponse, err error) { + if request == nil { + request = NewModifyCCLevelPolicyRequest() + } + + response = NewModifyCCLevelPolicyResponse() + err = c.Send(request, response) + return +} + +// ModifyCCLevelPolicy +// 修改CC防护等级 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) ModifyCCLevelPolicyWithContext(ctx context.Context, request *ModifyCCLevelPolicyRequest) (response *ModifyCCLevelPolicyResponse, err error) { + if request == nil { + request = NewModifyCCLevelPolicyRequest() + } + request.SetContext(ctx) + + response = NewModifyCCLevelPolicyResponse() + err = c.Send(request, response) + return +} + +func NewModifyCCPrecisionPolicyRequest() (request *ModifyCCPrecisionPolicyRequest) { + request = &ModifyCCPrecisionPolicyRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "ModifyCCPrecisionPolicy") + + + return +} + +func NewModifyCCPrecisionPolicyResponse() (response *ModifyCCPrecisionPolicyResponse) { + response = &ModifyCCPrecisionPolicyResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ModifyCCPrecisionPolicy +// 修改CC精准防护策略 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) ModifyCCPrecisionPolicy(request *ModifyCCPrecisionPolicyRequest) (response *ModifyCCPrecisionPolicyResponse, err error) { + if request == nil { + request = NewModifyCCPrecisionPolicyRequest() + } + + response = NewModifyCCPrecisionPolicyResponse() + err = c.Send(request, response) + return +} + +// ModifyCCPrecisionPolicy +// 修改CC精准防护策略 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) ModifyCCPrecisionPolicyWithContext(ctx context.Context, request *ModifyCCPrecisionPolicyRequest) (response *ModifyCCPrecisionPolicyResponse, err error) { + if request == nil { + request = NewModifyCCPrecisionPolicyRequest() + } + request.SetContext(ctx) + + response = NewModifyCCPrecisionPolicyResponse() + err = c.Send(request, response) + return +} + +func NewModifyCCReqLimitPolicyRequest() (request *ModifyCCReqLimitPolicyRequest) { + request = &ModifyCCReqLimitPolicyRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "ModifyCCReqLimitPolicy") return } -func NewDescribeListProtocolBlockConfigResponse() (response *DescribeListProtocolBlockConfigResponse) { - response = &DescribeListProtocolBlockConfigResponse{ +func NewModifyCCReqLimitPolicyResponse() (response *ModifyCCReqLimitPolicyResponse) { + response = &ModifyCCReqLimitPolicyResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeListProtocolBlockConfig -// 获取DDoS防护的协议封禁配置列表 +// ModifyCCReqLimitPolicy +// 修改CC频率限制策略 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -2946,7 +4250,6 @@ func NewDescribeListProtocolBlockConfigResponse() (response *DescribeListProtoco // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" @@ -2955,18 +4258,18 @@ func NewDescribeListProtocolBlockConfigResponse() (response *DescribeListProtoco // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeListProtocolBlockConfig(request *DescribeListProtocolBlockConfigRequest) (response *DescribeListProtocolBlockConfigResponse, err error) { +func (c *Client) ModifyCCReqLimitPolicy(request *ModifyCCReqLimitPolicyRequest) (response *ModifyCCReqLimitPolicyResponse, err error) { if request == nil { - request = NewDescribeListProtocolBlockConfigRequest() + request = NewModifyCCReqLimitPolicyRequest() } - response = NewDescribeListProtocolBlockConfigResponse() + response = NewModifyCCReqLimitPolicyResponse() err = c.Send(request, response) return } -// DescribeListProtocolBlockConfig -// 获取DDoS防护的协议封禁配置列表 +// ModifyCCReqLimitPolicy +// 修改CC频率限制策略 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -2978,7 +4281,6 @@ func (c *Client) DescribeListProtocolBlockConfig(request *DescribeListProtocolBl // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" @@ -2987,36 +4289,36 @@ func (c *Client) DescribeListProtocolBlockConfig(request *DescribeListProtocolBl // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeListProtocolBlockConfigWithContext(ctx context.Context, request *DescribeListProtocolBlockConfigRequest) (response *DescribeListProtocolBlockConfigResponse, err error) { +func (c *Client) ModifyCCReqLimitPolicyWithContext(ctx context.Context, request *ModifyCCReqLimitPolicyRequest) (response *ModifyCCReqLimitPolicyResponse, err error) { if request == nil { - request = NewDescribeListProtocolBlockConfigRequest() + request = NewModifyCCReqLimitPolicyRequest() } request.SetContext(ctx) - response = NewDescribeListProtocolBlockConfigResponse() + response = NewModifyCCReqLimitPolicyResponse() err = c.Send(request, response) return } -func NewDescribeListSchedulingDomainRequest() (request *DescribeListSchedulingDomainRequest) { - request = &DescribeListSchedulingDomainRequest{ +func NewModifyCCThresholdPolicyRequest() (request *ModifyCCThresholdPolicyRequest) { + request = &ModifyCCThresholdPolicyRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("antiddos", APIVersion, "DescribeListSchedulingDomain") + request.Init().WithApiInfo("antiddos", APIVersion, "ModifyCCThresholdPolicy") return } -func NewDescribeListSchedulingDomainResponse() (response *DescribeListSchedulingDomainResponse) { - response = &DescribeListSchedulingDomainResponse{ +func NewModifyCCThresholdPolicyResponse() (response *ModifyCCThresholdPolicyResponse) { + response = &ModifyCCThresholdPolicyResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeListSchedulingDomain -// 获取智能调度域名列表 +// ModifyCCThresholdPolicy +// 修改CC清洗阈值 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3028,7 +4330,6 @@ func NewDescribeListSchedulingDomainResponse() (response *DescribeListScheduling // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" @@ -3037,18 +4338,18 @@ func NewDescribeListSchedulingDomainResponse() (response *DescribeListScheduling // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeListSchedulingDomain(request *DescribeListSchedulingDomainRequest) (response *DescribeListSchedulingDomainResponse, err error) { +func (c *Client) ModifyCCThresholdPolicy(request *ModifyCCThresholdPolicyRequest) (response *ModifyCCThresholdPolicyResponse, err error) { if request == nil { - request = NewDescribeListSchedulingDomainRequest() + request = NewModifyCCThresholdPolicyRequest() } - response = NewDescribeListSchedulingDomainResponse() + response = NewModifyCCThresholdPolicyResponse() err = c.Send(request, response) return } -// DescribeListSchedulingDomain -// 获取智能调度域名列表 +// ModifyCCThresholdPolicy +// 修改CC清洗阈值 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -3060,7 +4361,6 @@ func (c *Client) DescribeListSchedulingDomain(request *DescribeListSchedulingDom // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" @@ -3069,177 +4369,117 @@ func (c *Client) DescribeListSchedulingDomain(request *DescribeListSchedulingDom // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeListSchedulingDomainWithContext(ctx context.Context, request *DescribeListSchedulingDomainRequest) (response *DescribeListSchedulingDomainResponse, err error) { +func (c *Client) ModifyCCThresholdPolicyWithContext(ctx context.Context, request *ModifyCCThresholdPolicyRequest) (response *ModifyCCThresholdPolicyResponse, err error) { if request == nil { - request = NewDescribeListSchedulingDomainRequest() + request = NewModifyCCThresholdPolicyRequest() } request.SetContext(ctx) - response = NewDescribeListSchedulingDomainResponse() + response = NewModifyCCThresholdPolicyResponse() err = c.Send(request, response) return } -func NewDescribeListWaterPrintConfigRequest() (request *DescribeListWaterPrintConfigRequest) { - request = &DescribeListWaterPrintConfigRequest{ +func NewModifyCcBlackWhiteIpListRequest() (request *ModifyCcBlackWhiteIpListRequest) { + request = &ModifyCcBlackWhiteIpListRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("antiddos", APIVersion, "DescribeListWaterPrintConfig") + request.Init().WithApiInfo("antiddos", APIVersion, "ModifyCcBlackWhiteIpList") return } -func NewDescribeListWaterPrintConfigResponse() (response *DescribeListWaterPrintConfigResponse) { - response = &DescribeListWaterPrintConfigResponse{ +func NewModifyCcBlackWhiteIpListResponse() (response *ModifyCcBlackWhiteIpListResponse) { + response = &ModifyCcBlackWhiteIpListResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeListWaterPrintConfig -// 获取DDoS防护的水印防护配置列表 +// ModifyCcBlackWhiteIpList +// 修改CC四层黑白名单 // // 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" // LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeListWaterPrintConfig(request *DescribeListWaterPrintConfigRequest) (response *DescribeListWaterPrintConfigResponse, err error) { +func (c *Client) ModifyCcBlackWhiteIpList(request *ModifyCcBlackWhiteIpListRequest) (response *ModifyCcBlackWhiteIpListResponse, err error) { if request == nil { - request = NewDescribeListWaterPrintConfigRequest() + request = NewModifyCcBlackWhiteIpListRequest() } - response = NewDescribeListWaterPrintConfigResponse() + response = NewModifyCcBlackWhiteIpListResponse() err = c.Send(request, response) return } -// DescribeListWaterPrintConfig -// 获取DDoS防护的水印防护配置列表 +// ModifyCcBlackWhiteIpList +// 修改CC四层黑白名单 // // 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" // LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeListWaterPrintConfigWithContext(ctx context.Context, request *DescribeListWaterPrintConfigRequest) (response *DescribeListWaterPrintConfigResponse, err error) { +func (c *Client) ModifyCcBlackWhiteIpListWithContext(ctx context.Context, request *ModifyCcBlackWhiteIpListRequest) (response *ModifyCcBlackWhiteIpListResponse, err error) { if request == nil { - request = NewDescribeListWaterPrintConfigRequest() + request = NewModifyCcBlackWhiteIpListRequest() } request.SetContext(ctx) - response = NewDescribeListWaterPrintConfigResponse() + response = NewModifyCcBlackWhiteIpListResponse() err = c.Send(request, response) return } -func NewDisassociateDDoSEipAddressRequest() (request *DisassociateDDoSEipAddressRequest) { - request = &DisassociateDDoSEipAddressRequest{ +func NewModifyDDoSBlackWhiteIpListRequest() (request *ModifyDDoSBlackWhiteIpListRequest) { + request = &ModifyDDoSBlackWhiteIpListRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("antiddos", APIVersion, "DisassociateDDoSEipAddress") + request.Init().WithApiInfo("antiddos", APIVersion, "ModifyDDoSBlackWhiteIpList") return } -func NewDisassociateDDoSEipAddressResponse() (response *DisassociateDDoSEipAddressResponse) { - response = &DisassociateDDoSEipAddressResponse{ +func NewModifyDDoSBlackWhiteIpListResponse() (response *ModifyDDoSBlackWhiteIpListResponse) { + response = &ModifyDDoSBlackWhiteIpListResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DisassociateDDoSEipAddress -// 本接口 (DisassociateDDoSEipAddress) 用于解绑高防弹性公网IP。 +// ModifyDDoSBlackWhiteIpList +// 修改DDoS黑白名单列表 // // 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" // LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DisassociateDDoSEipAddress(request *DisassociateDDoSEipAddressRequest) (response *DisassociateDDoSEipAddressResponse, err error) { +func (c *Client) ModifyDDoSBlackWhiteIpList(request *ModifyDDoSBlackWhiteIpListRequest) (response *ModifyDDoSBlackWhiteIpListResponse, err error) { if request == nil { - request = NewDisassociateDDoSEipAddressRequest() + request = NewModifyDDoSBlackWhiteIpListRequest() } - response = NewDisassociateDDoSEipAddressResponse() + response = NewModifyDDoSBlackWhiteIpListResponse() err = c.Send(request, response) return } -// DisassociateDDoSEipAddress -// 本接口 (DisassociateDDoSEipAddress) 用于解绑高防弹性公网IP。 +// ModifyDDoSBlackWhiteIpList +// 修改DDoS黑白名单列表 // // 可能返回的错误码: -// AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" -// FAILEDOPERATION = "FailedOperation" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" // LIMITEXCEEDED = "LimitExceeded" -// MISSINGPARAMETER = "MissingParameter" -// OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -// UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DisassociateDDoSEipAddressWithContext(ctx context.Context, request *DisassociateDDoSEipAddressRequest) (response *DisassociateDDoSEipAddressResponse, err error) { +func (c *Client) ModifyDDoSBlackWhiteIpListWithContext(ctx context.Context, request *ModifyDDoSBlackWhiteIpListRequest) (response *ModifyDDoSBlackWhiteIpListResponse, err error) { if request == nil { - request = NewDisassociateDDoSEipAddressRequest() + request = NewModifyDDoSBlackWhiteIpListRequest() } request.SetContext(ctx) - response = NewDisassociateDDoSEipAddressResponse() + response = NewModifyDDoSBlackWhiteIpListResponse() err = c.Send(request, response) return } @@ -3292,6 +4532,54 @@ func (c *Client) ModifyDDoSGeoIPBlockConfigWithContext(ctx context.Context, requ return } +func NewModifyDDoSLevelRequest() (request *ModifyDDoSLevelRequest) { + request = &ModifyDDoSLevelRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "ModifyDDoSLevel") + + + return +} + +func NewModifyDDoSLevelResponse() (response *ModifyDDoSLevelResponse) { + response = &ModifyDDoSLevelResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ModifyDDoSLevel +// 读取或修改DDoS的防护等级 +// +// 可能返回的错误码: +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) ModifyDDoSLevel(request *ModifyDDoSLevelRequest) (response *ModifyDDoSLevelResponse, err error) { + if request == nil { + request = NewModifyDDoSLevelRequest() + } + + response = NewModifyDDoSLevelResponse() + err = c.Send(request, response) + return +} + +// ModifyDDoSLevel +// 读取或修改DDoS的防护等级 +// +// 可能返回的错误码: +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) ModifyDDoSLevelWithContext(ctx context.Context, request *ModifyDDoSLevelRequest) (response *ModifyDDoSLevelResponse, err error) { + if request == nil { + request = NewModifyDDoSLevelRequest() + } + request.SetContext(ctx) + + response = NewModifyDDoSLevelResponse() + err = c.Send(request, response) + return +} + func NewModifyDDoSSpeedLimitConfigRequest() (request *ModifyDDoSSpeedLimitConfigRequest) { request = &ModifyDDoSSpeedLimitConfigRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -3340,6 +4628,54 @@ func (c *Client) ModifyDDoSSpeedLimitConfigWithContext(ctx context.Context, requ return } +func NewModifyDDoSThresholdRequest() (request *ModifyDDoSThresholdRequest) { + request = &ModifyDDoSThresholdRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "ModifyDDoSThreshold") + + + return +} + +func NewModifyDDoSThresholdResponse() (response *ModifyDDoSThresholdResponse) { + response = &ModifyDDoSThresholdResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ModifyDDoSThreshold +// 修改DDoS清洗阈值 +// +// 可能返回的错误码: +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) ModifyDDoSThreshold(request *ModifyDDoSThresholdRequest) (response *ModifyDDoSThresholdResponse, err error) { + if request == nil { + request = NewModifyDDoSThresholdRequest() + } + + response = NewModifyDDoSThresholdResponse() + err = c.Send(request, response) + return +} + +// ModifyDDoSThreshold +// 修改DDoS清洗阈值 +// +// 可能返回的错误码: +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) ModifyDDoSThresholdWithContext(ctx context.Context, request *ModifyDDoSThresholdRequest) (response *ModifyDDoSThresholdResponse, err error) { + if request == nil { + request = NewModifyDDoSThresholdRequest() + } + request.SetContext(ctx) + + response = NewModifyDDoSThresholdResponse() + err = c.Send(request, response) + return +} + func NewModifyDomainUsrNameRequest() (request *ModifyDomainUsrNameRequest) { request = &ModifyDomainUsrNameRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -3538,6 +4874,88 @@ func (c *Client) ModifyPacketFilterConfigWithContext(ctx context.Context, reques return } +func NewModifyPortAclConfigRequest() (request *ModifyPortAclConfigRequest) { + request = &ModifyPortAclConfigRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("antiddos", APIVersion, "ModifyPortAclConfig") + + + return +} + +func NewModifyPortAclConfigResponse() (response *ModifyPortAclConfigResponse) { + response = &ModifyPortAclConfigResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ModifyPortAclConfig +// 修改DDoS防护的端口acl策略 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) ModifyPortAclConfig(request *ModifyPortAclConfigRequest) (response *ModifyPortAclConfigResponse, err error) { + if request == nil { + request = NewModifyPortAclConfigRequest() + } + + response = NewModifyPortAclConfigResponse() + err = c.Send(request, response) + return +} + +// ModifyPortAclConfig +// 修改DDoS防护的端口acl策略 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) ModifyPortAclConfigWithContext(ctx context.Context, request *ModifyPortAclConfigRequest) (response *ModifyPortAclConfigResponse, err error) { + if request == nil { + request = NewModifyPortAclConfigRequest() + } + request.SetContext(ctx) + + response = NewModifyPortAclConfigResponse() + err = c.Send(request, response) + return +} + func NewSwitchWaterPrintConfigRequest() (request *SwitchWaterPrintConfigRequest) { request = &SwitchWaterPrintConfigRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/antiddos/v20200309/models.go b/tencentcloud/antiddos/v20200309/models.go index 2d6999b60c..ed971e6fea 100644 --- a/tencentcloud/antiddos/v20200309/models.go +++ b/tencentcloud/antiddos/v20200309/models.go @@ -412,6 +412,193 @@ type BoundIpInfo struct { IspCode *uint64 `json:"IspCode,omitempty" name:"IspCode"` } +type CCPrecisionPlyRecord struct { + + // 配置项类型,当前仅支持value + FieldType *string `json:"FieldType,omitempty" name:"FieldType"` + + // 配置字段,可取值cgi, ua, cookie, referer, accept, srcip + FieldName *string `json:"FieldName,omitempty" name:"FieldName"` + + // 配置取值 + Value *string `json:"Value,omitempty" name:"Value"` + + // 配置项值比对方式,可取值equal ,not_equal, include + ValueOperator *string `json:"ValueOperator,omitempty" name:"ValueOperator"` +} + +type CCPrecisionPolicy struct { + + // 策略Id + PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` + + // 实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // Ip地址 + Ip *string `json:"Ip,omitempty" name:"Ip"` + + // 协议 + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + + // 域名 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 策略方式(丢弃或验证码) + PolicyAction *string `json:"PolicyAction,omitempty" name:"PolicyAction"` + + // 策略列表 + PolicyList []*CCPrecisionPlyRecord `json:"PolicyList,omitempty" name:"PolicyList"` + + // 创建时间 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 修改时间 + ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` +} + +type CCReqLimitPolicy struct { + + // 策略Id + PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` + + // 实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // Ip地址 + Ip *string `json:"Ip,omitempty" name:"Ip"` + + // 协议,可取值HTTP,HTTPS + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + + // 域名 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 策略项 + PolicyRecord *CCReqLimitPolicyRecord `json:"PolicyRecord,omitempty" name:"PolicyRecord"` + + // 创建时间 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 修改时间 + ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` +} + +type CCReqLimitPolicyRecord struct { + + // 统计周期,可取值1,10,30,60,单位秒 + Period *uint64 `json:"Period,omitempty" name:"Period"` + + // 请求数,取值1~20000 + RequestNum *uint64 `json:"RequestNum,omitempty" name:"RequestNum"` + + // 频率限制策略方式,可取值alg表示验证码,drop表示丢弃 + Action *string `json:"Action,omitempty" name:"Action"` + + // 频率限制策略时长,可取值1~86400,单位秒 + ExecuteDuration *uint64 `json:"ExecuteDuration,omitempty" name:"ExecuteDuration"` + + // 策略项比对方式,可取值include表示包含,equal表示等于 + Mode *string `json:"Mode,omitempty" name:"Mode"` + + // Uri,三个策略项仅可填其中之一 + Uri *string `json:"Uri,omitempty" name:"Uri"` + + // User-Agent,三个策略项仅可填其中之一 + UserAgent *string `json:"UserAgent,omitempty" name:"UserAgent"` + + // Cookie,三个策略项仅可填其中之一 + Cookie *string `json:"Cookie,omitempty" name:"Cookie"` +} + +type CcBlackWhiteIpPolicy struct { + + // 策略Id + PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` + + // 实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // IP地址 + Ip *string `json:"Ip,omitempty" name:"Ip"` + + // 域名 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 协议 + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + + // IP类型,取值[black(黑名单IP), white(白名单IP)] + Type *string `json:"Type,omitempty" name:"Type"` + + // 黑白名单IP地址 + BlackWhiteIp *string `json:"BlackWhiteIp,omitempty" name:"BlackWhiteIp"` + + // 掩码 + Mask *uint64 `json:"Mask,omitempty" name:"Mask"` + + // 创建时间 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 修改时间 + ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` +} + +type CcGeoIPBlockConfig struct { + + // 区域类型,取值[ + // oversea(海外) + // china(国内) + // customized(自定义地区) + // ] + RegionType *string `json:"RegionType,omitempty" name:"RegionType"` + + // 封禁动作,取值[ + // drop(拦截) + // alg(人机校验) + // ] + Action *string `json:"Action,omitempty" name:"Action"` + + // 配置ID,配置添加成功后生成;添加新配置时不用填写此字段,修改或删除配置时需要填写配置ID + Id *string `json:"Id,omitempty" name:"Id"` + + // 当RegionType为customized时,必须填写AreaList;当RegionType为china或oversea时,AreaList为空 + AreaList []*int64 `json:"AreaList,omitempty" name:"AreaList"` +} + +type CcGeoIpPolicyNew struct { + + // 策略Id + PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` + + // 实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // IP地址 + Ip *string `json:"Ip,omitempty" name:"Ip"` + + // 域名 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 协议,可取值HTTP,HTTPS + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + + // 用户动作,drop或alg + Action *string `json:"Action,omitempty" name:"Action"` + + // 地域类型,分为china, oversea与customized + RegionType *string `json:"RegionType,omitempty" name:"RegionType"` + + // 用户选择封禁的地域ID列表 + AreaList []*uint64 `json:"AreaList,omitempty" name:"AreaList"` + + // 创建时间 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 修改时间 + ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` +} + type CertIdInsL7Rules struct { // 使用证书的规则列表 @@ -579,40 +766,53 @@ func (r *CreateBoundIPResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type CreateDDoSAIRequest struct { +type CreateCCPrecisionPolicyRequest struct { *tchttp.BaseRequest - // 资源实例ID列表 - InstanceIdList []*string `json:"InstanceIdList,omitempty" name:"InstanceIdList"` + // 实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` - // AI防护开关,取值[ - // on(开启) - // off(关闭) - // ] - DDoSAI *string `json:"DDoSAI,omitempty" name:"DDoSAI"` + // IP值 + Ip *string `json:"Ip,omitempty" name:"Ip"` + + // 协议, 可取值HTTP,HTTPS + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + + // 域名 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 策略方式,可取值alg表示验证码,drop表示丢弃 + PolicyAction *string `json:"PolicyAction,omitempty" name:"PolicyAction"` + + // 策略记录 + PolicyList []*CCPrecisionPlyRecord `json:"PolicyList,omitempty" name:"PolicyList"` } -func (r *CreateDDoSAIRequest) ToJsonString() string { +func (r *CreateCCPrecisionPolicyRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *CreateDDoSAIRequest) FromJsonString(s string) error { +func (r *CreateCCPrecisionPolicyRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "InstanceIdList") - delete(f, "DDoSAI") + delete(f, "InstanceId") + delete(f, "Ip") + delete(f, "Protocol") + delete(f, "Domain") + delete(f, "PolicyAction") + delete(f, "PolicyList") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateDDoSAIRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateCCPrecisionPolicyRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type CreateDDoSAIResponse struct { +type CreateCCPrecisionPolicyResponse struct { *tchttp.BaseResponse Response *struct { @@ -621,52 +821,60 @@ type CreateDDoSAIResponse struct { } `json:"Response"` } -func (r *CreateDDoSAIResponse) ToJsonString() string { +func (r *CreateCCPrecisionPolicyResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *CreateDDoSAIResponse) FromJsonString(s string) error { +func (r *CreateCCPrecisionPolicyResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type CreateDDoSBlackWhiteIpListRequest struct { +type CreateCCReqLimitPolicyRequest struct { *tchttp.BaseRequest - // 资源实例ID + // 实例Id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` - // IP列表 - IpList []*IpSegment `json:"IpList,omitempty" name:"IpList"` + // IP值 + Ip *string `json:"Ip,omitempty" name:"Ip"` - // IP类型,取值[black(黑名单IP), white(白名单IP)] - Type *string `json:"Type,omitempty" name:"Type"` + // 协议,可取值HTTP,HTTPS + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + + // 域名 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 策略项 + Policy *CCReqLimitPolicyRecord `json:"Policy,omitempty" name:"Policy"` } -func (r *CreateDDoSBlackWhiteIpListRequest) ToJsonString() string { +func (r *CreateCCReqLimitPolicyRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *CreateDDoSBlackWhiteIpListRequest) FromJsonString(s string) error { +func (r *CreateCCReqLimitPolicyRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } delete(f, "InstanceId") - delete(f, "IpList") - delete(f, "Type") + delete(f, "Ip") + delete(f, "Protocol") + delete(f, "Domain") + delete(f, "Policy") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateDDoSBlackWhiteIpListRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateCCReqLimitPolicyRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type CreateDDoSBlackWhiteIpListResponse struct { +type CreateCCReqLimitPolicyResponse struct { *tchttp.BaseResponse Response *struct { @@ -675,48 +883,60 @@ type CreateDDoSBlackWhiteIpListResponse struct { } `json:"Response"` } -func (r *CreateDDoSBlackWhiteIpListResponse) ToJsonString() string { +func (r *CreateCCReqLimitPolicyResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *CreateDDoSBlackWhiteIpListResponse) FromJsonString(s string) error { +func (r *CreateCCReqLimitPolicyResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type CreateDDoSConnectLimitRequest struct { +type CreateCcGeoIPBlockConfigRequest struct { *tchttp.BaseRequest - // 资源实例Id + // 实例id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` - // 连接抑制配置 - ConnectLimitConfig *ConnectLimitConfig `json:"ConnectLimitConfig,omitempty" name:"ConnectLimitConfig"` + // ip地址 + IP *string `json:"IP,omitempty" name:"IP"` + + // 域名 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 协议类型 + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + + // CC区域封禁配置,填写参数时配置ID请为空 + CcGeoIPBlockConfig *CcGeoIPBlockConfig `json:"CcGeoIPBlockConfig,omitempty" name:"CcGeoIPBlockConfig"` } -func (r *CreateDDoSConnectLimitRequest) ToJsonString() string { +func (r *CreateCcGeoIPBlockConfigRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *CreateDDoSConnectLimitRequest) FromJsonString(s string) error { +func (r *CreateCcGeoIPBlockConfigRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } delete(f, "InstanceId") - delete(f, "ConnectLimitConfig") + delete(f, "IP") + delete(f, "Domain") + delete(f, "Protocol") + delete(f, "CcGeoIPBlockConfig") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateDDoSConnectLimitRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateCcGeoIPBlockConfigRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type CreateDDoSConnectLimitResponse struct { +type CreateCcGeoIPBlockConfigResponse struct { *tchttp.BaseResponse Response *struct { @@ -725,48 +945,51 @@ type CreateDDoSConnectLimitResponse struct { } `json:"Response"` } -func (r *CreateDDoSConnectLimitResponse) ToJsonString() string { +func (r *CreateCcGeoIPBlockConfigResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *CreateDDoSConnectLimitResponse) FromJsonString(s string) error { +func (r *CreateCcGeoIPBlockConfigResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type CreateDDoSGeoIPBlockConfigRequest struct { +type CreateDDoSAIRequest struct { *tchttp.BaseRequest - // 资源实例ID - InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + // 资源实例ID列表 + InstanceIdList []*string `json:"InstanceIdList,omitempty" name:"InstanceIdList"` - // DDoS区域封禁配置,填写参数时配置ID请为空 - DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitempty" name:"DDoSGeoIPBlockConfig"` + // AI防护开关,取值[ + // on(开启) + // off(关闭) + // ] + DDoSAI *string `json:"DDoSAI,omitempty" name:"DDoSAI"` } -func (r *CreateDDoSGeoIPBlockConfigRequest) ToJsonString() string { +func (r *CreateDDoSAIRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *CreateDDoSGeoIPBlockConfigRequest) FromJsonString(s string) error { +func (r *CreateDDoSAIRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "InstanceId") - delete(f, "DDoSGeoIPBlockConfig") + delete(f, "InstanceIdList") + delete(f, "DDoSAI") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateDDoSGeoIPBlockConfigRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateDDoSAIRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type CreateDDoSGeoIPBlockConfigResponse struct { +type CreateDDoSAIResponse struct { *tchttp.BaseResponse Response *struct { @@ -775,48 +998,52 @@ type CreateDDoSGeoIPBlockConfigResponse struct { } `json:"Response"` } -func (r *CreateDDoSGeoIPBlockConfigResponse) ToJsonString() string { +func (r *CreateDDoSAIResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *CreateDDoSGeoIPBlockConfigResponse) FromJsonString(s string) error { +func (r *CreateDDoSAIResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type CreateDDoSSpeedLimitConfigRequest struct { +type CreateDDoSBlackWhiteIpListRequest struct { *tchttp.BaseRequest // 资源实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` - // 访问限速配置,填写参数时配置ID请为空 - DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitempty" name:"DDoSSpeedLimitConfig"` + // IP列表 + IpList []*IpSegment `json:"IpList,omitempty" name:"IpList"` + + // IP类型,取值[black(黑名单IP), white(白名单IP)] + Type *string `json:"Type,omitempty" name:"Type"` } -func (r *CreateDDoSSpeedLimitConfigRequest) ToJsonString() string { +func (r *CreateDDoSBlackWhiteIpListRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *CreateDDoSSpeedLimitConfigRequest) FromJsonString(s string) error { +func (r *CreateDDoSBlackWhiteIpListRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } delete(f, "InstanceId") - delete(f, "DDoSSpeedLimitConfig") + delete(f, "IpList") + delete(f, "Type") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateDDoSSpeedLimitConfigRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateDDoSBlackWhiteIpListRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type CreateDDoSSpeedLimitConfigResponse struct { +type CreateDDoSBlackWhiteIpListResponse struct { *tchttp.BaseResponse Response *struct { @@ -825,22 +1052,172 @@ type CreateDDoSSpeedLimitConfigResponse struct { } `json:"Response"` } -func (r *CreateDDoSSpeedLimitConfigResponse) ToJsonString() string { +func (r *CreateDDoSBlackWhiteIpListResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *CreateDDoSSpeedLimitConfigResponse) FromJsonString(s string) error { +func (r *CreateDDoSBlackWhiteIpListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type CreateDefaultAlarmThresholdRequest struct { +type CreateDDoSConnectLimitRequest struct { *tchttp.BaseRequest - // 默认告警阈值配置 - DefaultAlarmConfig *DefaultAlarmThreshold `json:"DefaultAlarmConfig,omitempty" name:"DefaultAlarmConfig"` + // 资源实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // 连接抑制配置 + ConnectLimitConfig *ConnectLimitConfig `json:"ConnectLimitConfig,omitempty" name:"ConnectLimitConfig"` +} + +func (r *CreateDDoSConnectLimitRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateDDoSConnectLimitRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "ConnectLimitConfig") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateDDoSConnectLimitRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type CreateDDoSConnectLimitResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *CreateDDoSConnectLimitResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateDDoSConnectLimitResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type CreateDDoSGeoIPBlockConfigRequest struct { + *tchttp.BaseRequest + + // 资源实例ID + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // DDoS区域封禁配置,填写参数时配置ID请为空 + DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitempty" name:"DDoSGeoIPBlockConfig"` +} + +func (r *CreateDDoSGeoIPBlockConfigRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateDDoSGeoIPBlockConfigRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "DDoSGeoIPBlockConfig") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateDDoSGeoIPBlockConfigRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type CreateDDoSGeoIPBlockConfigResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *CreateDDoSGeoIPBlockConfigResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateDDoSGeoIPBlockConfigResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type CreateDDoSSpeedLimitConfigRequest struct { + *tchttp.BaseRequest + + // 资源实例ID + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // 访问限速配置,填写参数时配置ID请为空 + DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitempty" name:"DDoSSpeedLimitConfig"` +} + +func (r *CreateDDoSSpeedLimitConfigRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateDDoSSpeedLimitConfigRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "DDoSSpeedLimitConfig") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateDDoSSpeedLimitConfigRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type CreateDDoSSpeedLimitConfigResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *CreateDDoSSpeedLimitConfigResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateDDoSSpeedLimitConfigResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type CreateDefaultAlarmThresholdRequest struct { + *tchttp.BaseRequest + + // 默认告警阈值配置 + DefaultAlarmConfig *DefaultAlarmThreshold `json:"DefaultAlarmConfig,omitempty" name:"DefaultAlarmConfig"` // 产品类型,取值[ // bgp(表示高防包产品) @@ -1478,41 +1855,37 @@ func (r *DeleteBlackWhiteIpListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DeleteDDoSBlackWhiteIpListRequest struct { +type DeleteCCPrecisionPolicyRequest struct { *tchttp.BaseRequest - // 资源实例ID + // 实例Id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` - // IP列表 - IpList []*IpSegment `json:"IpList,omitempty" name:"IpList"` - - // IP类型,取值[black(黑名单IP), white(白名单IP)] - Type *string `json:"Type,omitempty" name:"Type"` + // 策略Id + PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` } -func (r *DeleteDDoSBlackWhiteIpListRequest) ToJsonString() string { +func (r *DeleteCCPrecisionPolicyRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DeleteDDoSBlackWhiteIpListRequest) FromJsonString(s string) error { +func (r *DeleteCCPrecisionPolicyRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } delete(f, "InstanceId") - delete(f, "IpList") - delete(f, "Type") + delete(f, "PolicyId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteDDoSBlackWhiteIpListRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteCCPrecisionPolicyRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DeleteDDoSBlackWhiteIpListResponse struct { +type DeleteCCPrecisionPolicyResponse struct { *tchttp.BaseResponse Response *struct { @@ -1521,48 +1894,48 @@ type DeleteDDoSBlackWhiteIpListResponse struct { } `json:"Response"` } -func (r *DeleteDDoSBlackWhiteIpListResponse) ToJsonString() string { +func (r *DeleteCCPrecisionPolicyResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DeleteDDoSBlackWhiteIpListResponse) FromJsonString(s string) error { +func (r *DeleteCCPrecisionPolicyResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DeleteDDoSGeoIPBlockConfigRequest struct { +type DeleteCCRequestLimitPolicyRequest struct { *tchttp.BaseRequest - // 资源实例ID + // 实例Id InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` - // DDoS区域封禁配置,填写参数时配置ID不能为空 - DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitempty" name:"DDoSGeoIPBlockConfig"` + // 策略Id + PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` } -func (r *DeleteDDoSGeoIPBlockConfigRequest) ToJsonString() string { +func (r *DeleteCCRequestLimitPolicyRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DeleteDDoSGeoIPBlockConfigRequest) FromJsonString(s string) error { +func (r *DeleteCCRequestLimitPolicyRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } delete(f, "InstanceId") - delete(f, "DDoSGeoIPBlockConfig") + delete(f, "PolicyId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteDDoSGeoIPBlockConfigRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteCCRequestLimitPolicyRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DeleteDDoSGeoIPBlockConfigResponse struct { +type DeleteCCRequestLimitPolicyResponse struct { *tchttp.BaseResponse Response *struct { @@ -1571,48 +1944,48 @@ type DeleteDDoSGeoIPBlockConfigResponse struct { } `json:"Response"` } -func (r *DeleteDDoSGeoIPBlockConfigResponse) ToJsonString() string { +func (r *DeleteCCRequestLimitPolicyResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DeleteDDoSGeoIPBlockConfigResponse) FromJsonString(s string) error { +func (r *DeleteCCRequestLimitPolicyResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DeleteDDoSSpeedLimitConfigRequest struct { +type DeleteCcBlackWhiteIpListRequest struct { *tchttp.BaseRequest // 资源实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` - // 访问限速配置,填写参数时配置ID不能为空 - DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitempty" name:"DDoSSpeedLimitConfig"` + // 策略Id + PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` } -func (r *DeleteDDoSSpeedLimitConfigRequest) ToJsonString() string { +func (r *DeleteCcBlackWhiteIpListRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DeleteDDoSSpeedLimitConfigRequest) FromJsonString(s string) error { +func (r *DeleteCcBlackWhiteIpListRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } delete(f, "InstanceId") - delete(f, "DDoSSpeedLimitConfig") + delete(f, "PolicyId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteDDoSSpeedLimitConfigRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteCcBlackWhiteIpListRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DeleteDDoSSpeedLimitConfigResponse struct { +type DeleteCcBlackWhiteIpListResponse struct { *tchttp.BaseResponse Response *struct { @@ -1621,48 +1994,48 @@ type DeleteDDoSSpeedLimitConfigResponse struct { } `json:"Response"` } -func (r *DeleteDDoSSpeedLimitConfigResponse) ToJsonString() string { +func (r *DeleteCcBlackWhiteIpListResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DeleteDDoSSpeedLimitConfigResponse) FromJsonString(s string) error { +func (r *DeleteCcBlackWhiteIpListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DeletePacketFilterConfigRequest struct { +type DeleteCcGeoIPBlockConfigRequest struct { *tchttp.BaseRequest // 资源实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` - // 特征过滤配置 - PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitempty" name:"PacketFilterConfig"` + // CC区域封禁配置,填写参数时配置ID不能为空 + CcGeoIPBlockConfig *CcGeoIPBlockConfig `json:"CcGeoIPBlockConfig,omitempty" name:"CcGeoIPBlockConfig"` } -func (r *DeletePacketFilterConfigRequest) ToJsonString() string { +func (r *DeleteCcGeoIPBlockConfigRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DeletePacketFilterConfigRequest) FromJsonString(s string) error { +func (r *DeleteCcGeoIPBlockConfigRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } delete(f, "InstanceId") - delete(f, "PacketFilterConfig") + delete(f, "CcGeoIPBlockConfig") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeletePacketFilterConfigRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteCcGeoIPBlockConfigRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DeletePacketFilterConfigResponse struct { +type DeleteCcGeoIPBlockConfigResponse struct { *tchttp.BaseResponse Response *struct { @@ -1671,44 +2044,52 @@ type DeletePacketFilterConfigResponse struct { } `json:"Response"` } -func (r *DeletePacketFilterConfigResponse) ToJsonString() string { +func (r *DeleteCcGeoIPBlockConfigResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DeletePacketFilterConfigResponse) FromJsonString(s string) error { +func (r *DeleteCcGeoIPBlockConfigResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DeleteWaterPrintConfigRequest struct { +type DeleteDDoSBlackWhiteIpListRequest struct { *tchttp.BaseRequest // 资源实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // IP列表 + IpList []*IpSegment `json:"IpList,omitempty" name:"IpList"` + + // IP类型,取值[black(黑名单IP), white(白名单IP)] + Type *string `json:"Type,omitempty" name:"Type"` } -func (r *DeleteWaterPrintConfigRequest) ToJsonString() string { +func (r *DeleteDDoSBlackWhiteIpListRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DeleteWaterPrintConfigRequest) FromJsonString(s string) error { +func (r *DeleteDDoSBlackWhiteIpListRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } delete(f, "InstanceId") + delete(f, "IpList") + delete(f, "Type") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteWaterPrintConfigRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteDDoSBlackWhiteIpListRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DeleteWaterPrintConfigResponse struct { +type DeleteDDoSBlackWhiteIpListResponse struct { *tchttp.BaseResponse Response *struct { @@ -1717,48 +2098,48 @@ type DeleteWaterPrintConfigResponse struct { } `json:"Response"` } -func (r *DeleteWaterPrintConfigResponse) ToJsonString() string { +func (r *DeleteDDoSBlackWhiteIpListResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DeleteWaterPrintConfigResponse) FromJsonString(s string) error { +func (r *DeleteDDoSBlackWhiteIpListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DeleteWaterPrintKeyRequest struct { +type DeleteDDoSGeoIPBlockConfigRequest struct { *tchttp.BaseRequest // 资源实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` - // 水印密钥ID - KeyId *string `json:"KeyId,omitempty" name:"KeyId"` + // DDoS区域封禁配置,填写参数时配置ID不能为空 + DDoSGeoIPBlockConfig *DDoSGeoIPBlockConfig `json:"DDoSGeoIPBlockConfig,omitempty" name:"DDoSGeoIPBlockConfig"` } -func (r *DeleteWaterPrintKeyRequest) ToJsonString() string { +func (r *DeleteDDoSGeoIPBlockConfigRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DeleteWaterPrintKeyRequest) FromJsonString(s string) error { +func (r *DeleteDDoSGeoIPBlockConfigRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } delete(f, "InstanceId") - delete(f, "KeyId") + delete(f, "DDoSGeoIPBlockConfig") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteWaterPrintKeyRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteDDoSGeoIPBlockConfigRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DeleteWaterPrintKeyResponse struct { +type DeleteDDoSGeoIPBlockConfigResponse struct { *tchttp.BaseResponse Response *struct { @@ -1767,39 +2148,285 @@ type DeleteWaterPrintKeyResponse struct { } `json:"Response"` } -func (r *DeleteWaterPrintKeyResponse) ToJsonString() string { +func (r *DeleteDDoSGeoIPBlockConfigResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DeleteWaterPrintKeyResponse) FromJsonString(s string) error { +func (r *DeleteDDoSGeoIPBlockConfigResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeBasicDeviceStatusRequest struct { +type DeleteDDoSSpeedLimitConfigRequest struct { *tchttp.BaseRequest - // IP 资源列表 - IpList []*string `json:"IpList,omitempty" name:"IpList"` + // 资源实例ID + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // 访问限速配置,填写参数时配置ID不能为空 + DDoSSpeedLimitConfig *DDoSSpeedLimitConfig `json:"DDoSSpeedLimitConfig,omitempty" name:"DDoSSpeedLimitConfig"` } -func (r *DescribeBasicDeviceStatusRequest) ToJsonString() string { +func (r *DeleteDDoSSpeedLimitConfigRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeBasicDeviceStatusRequest) FromJsonString(s string) error { +func (r *DeleteDDoSSpeedLimitConfigRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "IpList") + delete(f, "InstanceId") + delete(f, "DDoSSpeedLimitConfig") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeBasicDeviceStatusRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteDDoSSpeedLimitConfigRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DeleteDDoSSpeedLimitConfigResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DeleteDDoSSpeedLimitConfigResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteDDoSSpeedLimitConfigResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DeletePacketFilterConfigRequest struct { + *tchttp.BaseRequest + + // 资源实例ID + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // 特征过滤配置 + PacketFilterConfig *PacketFilterConfig `json:"PacketFilterConfig,omitempty" name:"PacketFilterConfig"` +} + +func (r *DeletePacketFilterConfigRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeletePacketFilterConfigRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "PacketFilterConfig") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeletePacketFilterConfigRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DeletePacketFilterConfigResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DeletePacketFilterConfigResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeletePacketFilterConfigResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DeletePortAclConfigRequest struct { + *tchttp.BaseRequest + + // 资源实例ID + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // 端口acl策略 + AclConfig *AclConfig `json:"AclConfig,omitempty" name:"AclConfig"` +} + +func (r *DeletePortAclConfigRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeletePortAclConfigRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "AclConfig") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeletePortAclConfigRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DeletePortAclConfigResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DeletePortAclConfigResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeletePortAclConfigResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DeleteWaterPrintConfigRequest struct { + *tchttp.BaseRequest + + // 资源实例ID + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` +} + +func (r *DeleteWaterPrintConfigRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteWaterPrintConfigRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteWaterPrintConfigRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DeleteWaterPrintConfigResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DeleteWaterPrintConfigResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteWaterPrintConfigResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DeleteWaterPrintKeyRequest struct { + *tchttp.BaseRequest + + // 资源实例ID + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // 水印密钥ID + KeyId *string `json:"KeyId,omitempty" name:"KeyId"` +} + +func (r *DeleteWaterPrintKeyRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteWaterPrintKeyRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "KeyId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteWaterPrintKeyRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DeleteWaterPrintKeyResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DeleteWaterPrintKeyResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteWaterPrintKeyResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeBasicDeviceStatusRequest struct { + *tchttp.BaseRequest + + // IP 资源列表 + IpList []*string `json:"IpList,omitempty" name:"IpList"` +} + +func (r *DescribeBasicDeviceStatusRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeBasicDeviceStatusRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "IpList") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeBasicDeviceStatusRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } @@ -1966,6 +2593,158 @@ func (r *DescribeBlackWhiteIpListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type DescribeCCPrecisionPlyListRequest struct { + *tchttp.BaseRequest + + // 大禹子产品代号(bgpip-multip:表示高防包;bgpip:表示高防ip) + Business *string `json:"Business,omitempty" name:"Business"` + + // 页起始偏移,取值为(页码-1)*一页条数 + Offset *uint64 `json:"Offset,omitempty" name:"Offset"` + + // 一页条数 + Limit *uint64 `json:"Limit,omitempty" name:"Limit"` + + // 指定特定实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // ip地址,普通高防ip要传该字段 + Ip *string `json:"Ip,omitempty" name:"Ip"` + + // 域名,普通高防ip要传该字段 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 协议,普通高防ip要传该字段 + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` +} + +func (r *DescribeCCPrecisionPlyListRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeCCPrecisionPlyListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Business") + delete(f, "Offset") + delete(f, "Limit") + delete(f, "InstanceId") + delete(f, "Ip") + delete(f, "Domain") + delete(f, "Protocol") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeCCPrecisionPlyListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeCCPrecisionPlyListResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 策略列表总数 + Total *uint64 `json:"Total,omitempty" name:"Total"` + + // 策略列表详情 + PrecisionPolicyList []*CCPrecisionPolicy `json:"PrecisionPolicyList,omitempty" name:"PrecisionPolicyList"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeCCPrecisionPlyListResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeCCPrecisionPlyListResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeCCReqLimitPolicyListRequest struct { + *tchttp.BaseRequest + + // 大禹子产品代号(bgp-multip表示高防包,bgpip表示高防ip) + Business *string `json:"Business,omitempty" name:"Business"` + + // 页起始偏移,取值为(页码-1)*一页条数 + Offset *uint64 `json:"Offset,omitempty" name:"Offset"` + + // 一页条数 + Limit *uint64 `json:"Limit,omitempty" name:"Limit"` + + // 指定实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // Ip地址,普通高防ip要传该字段 + Ip *string `json:"Ip,omitempty" name:"Ip"` + + // 域名,普通高防ip要传该字段 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 协议,普通高防ip要传该字段 + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` +} + +func (r *DescribeCCReqLimitPolicyListRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeCCReqLimitPolicyListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Business") + delete(f, "Offset") + delete(f, "Limit") + delete(f, "InstanceId") + delete(f, "Ip") + delete(f, "Domain") + delete(f, "Protocol") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeCCReqLimitPolicyListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeCCReqLimitPolicyListResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 频率限制列表总数 + Total *uint64 `json:"Total,omitempty" name:"Total"` + + // 频率限制列表详情 + RequestLimitPolicyList []*CCReqLimitPolicy `json:"RequestLimitPolicyList,omitempty" name:"RequestLimitPolicyList"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeCCReqLimitPolicyListResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeCCReqLimitPolicyListResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type DescribeCCTrendRequest struct { *tchttp.BaseRequest @@ -2049,22 +2828,182 @@ type DescribeCCTrendResponse struct { // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitempty" name:"Id"` - // 指标,取值[inqps(总请求峰值,dropqps(攻击请求峰值)),incount(请求次数), dropcount(攻击次数)] - MetricName *string `json:"MetricName,omitempty" name:"MetricName"` + // 指标,取值[inqps(总请求峰值,dropqps(攻击请求峰值)),incount(请求次数), dropcount(攻击次数)] + MetricName *string `json:"MetricName,omitempty" name:"MetricName"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeCCTrendResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeCCTrendResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeCcBlackWhiteIpListRequest struct { + *tchttp.BaseRequest + + // 大禹子产品代号(bgp-multip:表示高防包;bgpip:表示高防ip) + Business *string `json:"Business,omitempty" name:"Business"` + + // 指定特定实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // 页起始偏移,取值为(页码-1)*一页条数 + Offset *uint64 `json:"Offset,omitempty" name:"Offset"` + + // 一页条数 + Limit *uint64 `json:"Limit,omitempty" name:"Limit"` + + // Ip地址,普通高防ip要传该字段 + Ip *string `json:"Ip,omitempty" name:"Ip"` + + // 域名,普通高防ip要传该字段 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 协议,普通高防ip要传该字段 + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + + // 筛选ip,需要筛选黑白名单ip时传该字段 + FilterIp *string `json:"FilterIp,omitempty" name:"FilterIp"` + + // 黑白名单筛选字段,需要筛选黑白名单列表时传该字段 + FilterType *string `json:"FilterType,omitempty" name:"FilterType"` +} + +func (r *DescribeCcBlackWhiteIpListRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeCcBlackWhiteIpListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Business") + delete(f, "InstanceId") + delete(f, "Offset") + delete(f, "Limit") + delete(f, "Ip") + delete(f, "Domain") + delete(f, "Protocol") + delete(f, "FilterIp") + delete(f, "FilterType") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeCcBlackWhiteIpListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeCcBlackWhiteIpListResponse struct { + *tchttp.BaseResponse + Response *struct { + + // CC四层黑白名单策略列表总数 + Total *uint64 `json:"Total,omitempty" name:"Total"` + + // CC四层黑白名单策略列表详情 + CcBlackWhiteIpList []*CcBlackWhiteIpPolicy `json:"CcBlackWhiteIpList,omitempty" name:"CcBlackWhiteIpList"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeCcBlackWhiteIpListResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeCcBlackWhiteIpListResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeCcGeoIPBlockConfigListRequest struct { + *tchttp.BaseRequest + + // 大禹子产品代号(bgpip-multip:表示高防包;bgpip:表示高防ip) + Business *string `json:"Business,omitempty" name:"Business"` + + // 页起始偏移,取值为(页码-1)*一页条数 + Offset *uint64 `json:"Offset,omitempty" name:"Offset"` + + // 一页条数 + Limit *uint64 `json:"Limit,omitempty" name:"Limit"` + + // 指定特定实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // Ip地址,普通高防ip要传该字段 + Ip *string `json:"Ip,omitempty" name:"Ip"` + + // 域名,普通高防ip要传该字段 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 协议,普通高防ip要传该字段 + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` +} + +func (r *DescribeCcGeoIPBlockConfigListRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeCcGeoIPBlockConfigListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Business") + delete(f, "Offset") + delete(f, "Limit") + delete(f, "InstanceId") + delete(f, "Ip") + delete(f, "Domain") + delete(f, "Protocol") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeCcGeoIPBlockConfigListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeCcGeoIPBlockConfigListResponse struct { + *tchttp.BaseResponse + Response *struct { + + // CC地域封禁策略列表总数 + Total *uint64 `json:"Total,omitempty" name:"Total"` + + // CC地域封禁策略列表详情 + CcGeoIpPolicyList []*CcGeoIpPolicyNew `json:"CcGeoIpPolicyList,omitempty" name:"CcGeoIpPolicyList"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeCCTrendResponse) ToJsonString() string { +func (r *DescribeCcGeoIPBlockConfigListResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeCCTrendResponse) FromJsonString(s string) error { +func (r *DescribeCcGeoIPBlockConfigListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } @@ -2516,7 +3455,7 @@ type DescribeListBGPInstancesRequest struct { // 按照线路搜索, 1: BGP; 2: 三网 FilterLine *uint64 `json:"FilterLine,omitempty" name:"FilterLine"` - // 状态搜索,idle:允许中;attacking:攻击中;blocking:封堵中 + // 状态搜索,idle:运行中;attacking:攻击中;blocking:封堵中 FilterStatus *string `json:"FilterStatus,omitempty" name:"FilterStatus"` // 高防包绑定状态搜索,bounding:绑定中; failed:绑定失败 @@ -3600,81 +4539,437 @@ type L7RuleEntry struct { // 注意:此字段可能返回 null,表示取不到有效值。 HttpsToHttpEnable *uint64 `json:"HttpsToHttpEnable,omitempty" name:"HttpsToHttpEnable"` - // 证书来源,当转发协议为https时必须填,取值[2(腾讯云托管证书)],当转发协议为http时也可以填0 - CertType *uint64 `json:"CertType,omitempty" name:"CertType"` + // 证书来源,当转发协议为https时必须填,取值[2(腾讯云托管证书)],当转发协议为http时也可以填0 + CertType *uint64 `json:"CertType,omitempty" name:"CertType"` + + // 当证书来源为自有证书时,此字段必须填写证书内容;(因已不再支持自有证书,此字段已弃用,请不用填写此字段) + Cert *string `json:"Cert,omitempty" name:"Cert"` + + // HTTPS协议的CC防护等级 + CCLevel *string `json:"CCLevel,omitempty" name:"CCLevel"` + + // 规则描述 + RuleName *string `json:"RuleName,omitempty" name:"RuleName"` + + // cc防护状态,取值[0(关闭), 1(开启)] + CCStatus *uint64 `json:"CCStatus,omitempty" name:"CCStatus"` + + // 接入端口值 + // 注意:此字段可能返回 null,表示取不到有效值。 + VirtualPort *uint64 `json:"VirtualPort,omitempty" name:"VirtualPort"` + + // 当证书来源为腾讯云托管证书时,此字段必须填写托管证书ID + SSLId *string `json:"SSLId,omitempty" name:"SSLId"` + + // 同ruleId + Id *string `json:"Id,omitempty" name:"Id"` +} + +type Layer4Rule struct { + + // 源站端口,取值1~65535 + BackendPort *uint64 `json:"BackendPort,omitempty" name:"BackendPort"` + + // 转发端口,取值1~65535 + FrontendPort *uint64 `json:"FrontendPort,omitempty" name:"FrontendPort"` + + // 转发协议,取值[ + // TCP(TCP协议) + // UDP(UDP协议) + // ] + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + + // 源站列表 + RealServers []*SourceServer `json:"RealServers,omitempty" name:"RealServers"` + + // 规则所属的资源实例 + InstanceDetails []*InstanceRelation `json:"InstanceDetails,omitempty" name:"InstanceDetails"` +} + +type Layer7Rule struct { + + // 域名 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 转发类型列表 + ProxyTypeList []*ProxyTypeInfo `json:"ProxyTypeList,omitempty" name:"ProxyTypeList"` + + // 源站列表 + RealServers []*SourceServer `json:"RealServers,omitempty" name:"RealServers"` + + // 规则所属的资源实例 + InstanceDetails []*InstanceRelation `json:"InstanceDetails,omitempty" name:"InstanceDetails"` +} + +type ListenerCcThreholdConfig struct { + + // 域名 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 协议(可取值htttps) + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + + // 开关状态(0:关闭,1:开启) + CCEnable *int64 `json:"CCEnable,omitempty" name:"CCEnable"` + + // cc防护阈值 + CCThreshold *int64 `json:"CCThreshold,omitempty" name:"CCThreshold"` +} + +type ModifyCCLevelPolicyRequest struct { + *tchttp.BaseRequest + + // 实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // Ip地址 + Ip *string `json:"Ip,omitempty" name:"Ip"` + + // 域名 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 协议,可取值HTTP,HTTPS + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + + // CC防护等级,可取值loose表示宽松,strict表示严格,normal表示适中, emergency表示攻击紧急, sup_loose表示超级宽松,default表示默认策略(无频控配置下发),customized表示自定义策略 + Level *string `json:"Level,omitempty" name:"Level"` +} + +func (r *ModifyCCLevelPolicyRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyCCLevelPolicyRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "Ip") + delete(f, "Domain") + delete(f, "Protocol") + delete(f, "Level") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyCCLevelPolicyRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyCCLevelPolicyResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyCCLevelPolicyResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyCCLevelPolicyResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ModifyCCPrecisionPolicyRequest struct { + *tchttp.BaseRequest + + // 实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // 策略Id + PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` + + // 策略方式,可取值alg表示验证码,drop表示丢弃 + PolicyAction *string `json:"PolicyAction,omitempty" name:"PolicyAction"` + + // 策略记录 + PolicyList []*CCPrecisionPlyRecord `json:"PolicyList,omitempty" name:"PolicyList"` +} + +func (r *ModifyCCPrecisionPolicyRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyCCPrecisionPolicyRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "PolicyId") + delete(f, "PolicyAction") + delete(f, "PolicyList") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyCCPrecisionPolicyRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyCCPrecisionPolicyResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyCCPrecisionPolicyResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyCCPrecisionPolicyResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ModifyCCReqLimitPolicyRequest struct { + *tchttp.BaseRequest + + // 实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // 策略Id + PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` + + // 策略项 + Policy *CCReqLimitPolicyRecord `json:"Policy,omitempty" name:"Policy"` +} + +func (r *ModifyCCReqLimitPolicyRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyCCReqLimitPolicyRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "PolicyId") + delete(f, "Policy") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyCCReqLimitPolicyRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyCCReqLimitPolicyResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyCCReqLimitPolicyResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyCCReqLimitPolicyResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type ModifyCCThresholdPolicyRequest struct { + *tchttp.BaseRequest + + // 实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // Ip地址 + Ip *string `json:"Ip,omitempty" name:"Ip"` + + // 域名 + Domain *string `json:"Domain,omitempty" name:"Domain"` + + // 协议,可取值HTTP,HTTPS + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + + // 清洗阈值,-1表示开启“默认”模式 + Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"` +} + +func (r *ModifyCCThresholdPolicyRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyCCThresholdPolicyRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "Ip") + delete(f, "Domain") + delete(f, "Protocol") + delete(f, "Threshold") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyCCThresholdPolicyRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyCCThresholdPolicyResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyCCThresholdPolicyResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyCCThresholdPolicyResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} - // 当证书来源为自有证书时,此字段必须填写证书内容;(因已不再支持自有证书,此字段已弃用,请不用填写此字段) - Cert *string `json:"Cert,omitempty" name:"Cert"` +type ModifyCcBlackWhiteIpListRequest struct { + *tchttp.BaseRequest - // HTTPS协议的CC防护等级 - CCLevel *string `json:"CCLevel,omitempty" name:"CCLevel"` + // 资源实例ID + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` - // 规则描述 - RuleName *string `json:"RuleName,omitempty" name:"RuleName"` + // IP列表 + IpList []*IpSegment `json:"IpList,omitempty" name:"IpList"` - // cc防护状态,取值[0(关闭), 1(开启)] - CCStatus *uint64 `json:"CCStatus,omitempty" name:"CCStatus"` + // IP类型,取值[black(黑名单IP), white(白名单IP)] + Type *string `json:"Type,omitempty" name:"Type"` - // 接入端口值 - // 注意:此字段可能返回 null,表示取不到有效值。 - VirtualPort *uint64 `json:"VirtualPort,omitempty" name:"VirtualPort"` + // 策略Id + PolicyId *string `json:"PolicyId,omitempty" name:"PolicyId"` +} - // 当证书来源为腾讯云托管证书时,此字段必须填写托管证书ID - SSLId *string `json:"SSLId,omitempty" name:"SSLId"` +func (r *ModifyCcBlackWhiteIpListRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 同ruleId - Id *string `json:"Id,omitempty" name:"Id"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyCcBlackWhiteIpListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "IpList") + delete(f, "Type") + delete(f, "PolicyId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyCcBlackWhiteIpListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) } -type Layer4Rule struct { +type ModifyCcBlackWhiteIpListResponse struct { + *tchttp.BaseResponse + Response *struct { - // 源站端口,取值1~65535 - BackendPort *uint64 `json:"BackendPort,omitempty" name:"BackendPort"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} - // 转发端口,取值1~65535 - FrontendPort *uint64 `json:"FrontendPort,omitempty" name:"FrontendPort"` +func (r *ModifyCcBlackWhiteIpListResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 转发协议,取值[ - // TCP(TCP协议) - // UDP(UDP协议) - // ] - Protocol *string `json:"Protocol,omitempty" name:"Protocol"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyCcBlackWhiteIpListResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} - // 源站列表 - RealServers []*SourceServer `json:"RealServers,omitempty" name:"RealServers"` +type ModifyDDoSBlackWhiteIpListRequest struct { + *tchttp.BaseRequest - // 规则所属的资源实例 - InstanceDetails []*InstanceRelation `json:"InstanceDetails,omitempty" name:"InstanceDetails"` -} + // 资源Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` -type Layer7Rule struct { + // 当前黑名单类型,取值black时黑名单;取值white时白名单 + OldIpType *string `json:"OldIpType,omitempty" name:"OldIpType"` - // 域名 - Domain *string `json:"Domain,omitempty" name:"Domain"` + // 当前配置的Ip段,包含ip与掩码 + OldIp *IpSegment `json:"OldIp,omitempty" name:"OldIp"` - // 转发类型列表 - ProxyTypeList []*ProxyTypeInfo `json:"ProxyTypeList,omitempty" name:"ProxyTypeList"` + // 修改后黑白名单类型,取值black时黑名单,取值white时白名单 + NewIpType *string `json:"NewIpType,omitempty" name:"NewIpType"` - // 源站列表 - RealServers []*SourceServer `json:"RealServers,omitempty" name:"RealServers"` + // 当前配置的Ip段,包含ip与掩码 + NewIp *IpSegment `json:"NewIp,omitempty" name:"NewIp"` +} - // 规则所属的资源实例 - InstanceDetails []*InstanceRelation `json:"InstanceDetails,omitempty" name:"InstanceDetails"` +func (r *ModifyDDoSBlackWhiteIpListRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) } -type ListenerCcThreholdConfig struct { +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyDDoSBlackWhiteIpListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "OldIpType") + delete(f, "OldIp") + delete(f, "NewIpType") + delete(f, "NewIp") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyDDoSBlackWhiteIpListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} - // 域名 - Domain *string `json:"Domain,omitempty" name:"Domain"` +type ModifyDDoSBlackWhiteIpListResponse struct { + *tchttp.BaseResponse + Response *struct { - // 协议(可取值htttps) - Protocol *string `json:"Protocol,omitempty" name:"Protocol"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} - // 开关状态(0:关闭,1:开启) - CCEnable *int64 `json:"CCEnable,omitempty" name:"CCEnable"` +func (r *ModifyDDoSBlackWhiteIpListResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // cc防护阈值 - CCThreshold *int64 `json:"CCThreshold,omitempty" name:"CCThreshold"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyDDoSBlackWhiteIpListResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) } type ModifyDDoSGeoIPBlockConfigRequest struct { @@ -3727,6 +5022,70 @@ func (r *ModifyDDoSGeoIPBlockConfigResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type ModifyDDoSLevelRequest struct { + *tchttp.BaseRequest + + // 资源ID + Id *string `json:"Id,omitempty" name:"Id"` + + // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) + Business *string `json:"Business,omitempty" name:"Business"` + + // =get表示读取防护等级;=set表示修改防护等级 + Method *string `json:"Method,omitempty" name:"Method"` + + // 防护等级,取值[low,middle,high];当Method=set时必填 + DDoSLevel *string `json:"DDoSLevel,omitempty" name:"DDoSLevel"` +} + +func (r *ModifyDDoSLevelRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyDDoSLevelRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Id") + delete(f, "Business") + delete(f, "Method") + delete(f, "DDoSLevel") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyDDoSLevelRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyDDoSLevelResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 防护等级,取值[low,middle,high] + DDoSLevel *string `json:"DDoSLevel,omitempty" name:"DDoSLevel"` + + // 资源ID + Id *string `json:"Id,omitempty" name:"Id"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyDDoSLevelResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyDDoSLevelResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type ModifyDDoSSpeedLimitConfigRequest struct { *tchttp.BaseRequest @@ -3777,6 +5136,64 @@ func (r *ModifyDDoSSpeedLimitConfigResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type ModifyDDoSThresholdRequest struct { + *tchttp.BaseRequest + + // DDoS清洗阈值,取值[0, 60, 80, 100, 150, 200, 250, 300, 400, 500, 700, 1000]; + // 当设置值为0时,表示采用默认值; + Threshold *uint64 `json:"Threshold,omitempty" name:"Threshold"` + + // 资源ID + Id *string `json:"Id,omitempty" name:"Id"` + + // 大禹子产品代号(bgpip表示高防IP;bgp表示独享包;bgp-multip表示共享包;net表示高防IP专业版) + Business *string `json:"Business,omitempty" name:"Business"` +} + +func (r *ModifyDDoSThresholdRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyDDoSThresholdRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Threshold") + delete(f, "Id") + delete(f, "Business") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyDDoSThresholdRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyDDoSThresholdResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 成功码 + Success *SuccessCode `json:"Success,omitempty" name:"Success"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyDDoSThresholdResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyDDoSThresholdResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type ModifyDomainUsrNameRequest struct { *tchttp.BaseRequest @@ -3991,6 +5408,60 @@ func (r *ModifyPacketFilterConfigResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type ModifyPortAclConfigRequest struct { + *tchttp.BaseRequest + + // 资源实例ID + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // 旧端口acl策略 + OldAclConfig *AclConfig `json:"OldAclConfig,omitempty" name:"OldAclConfig"` + + // 新端口acl策略 + NewAclConfig *AclConfig `json:"NewAclConfig,omitempty" name:"NewAclConfig"` +} + +func (r *ModifyPortAclConfigRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyPortAclConfigRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "OldAclConfig") + delete(f, "NewAclConfig") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyPortAclConfigRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyPortAclConfigResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyPortAclConfigResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyPortAclConfigResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type NewL7RuleEntry struct { // 会话保持时间,单位秒 diff --git a/tencentcloud/apcas/go.mod b/tencentcloud/apcas/go.mod index 75f5fb71eb..83e80bdedf 100644 --- a/tencentcloud/apcas/go.mod +++ b/tencentcloud/apcas/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apcas go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ape/go.mod b/tencentcloud/ape/go.mod index 130ebf072f..879c2d4bf2 100644 --- a/tencentcloud/ape/go.mod +++ b/tencentcloud/ape/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ape go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/api/go.mod b/tencentcloud/api/go.mod index 4bf6d40ed0..d9ef8deeff 100644 --- a/tencentcloud/api/go.mod +++ b/tencentcloud/api/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/api go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/apigateway/go.mod b/tencentcloud/apigateway/go.mod index d464079a17..3d00b67dfb 100644 --- a/tencentcloud/apigateway/go.mod +++ b/tencentcloud/apigateway/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apigateway go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/apigateway/v20180808/client.go b/tencentcloud/apigateway/v20180808/client.go index 1a9223dac5..a35f2f8108 100644 --- a/tencentcloud/apigateway/v20180808/client.go +++ b/tencentcloud/apigateway/v20180808/client.go @@ -706,6 +706,7 @@ func NewCreateApiResponse() (response *CreateApiResponse) { // INVALIDPARAMETERVALUE_PARAMETERNOTMATCH = "InvalidParameterValue.ParameterNotMatch" // INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded" // LIMITEXCEEDED_APICOUNTLIMITEXCEEDED = "LimitExceeded.ApiCountLimitExceeded" +// MISSINGPARAMETER = "MissingParameter" // RESOURCENOTFOUND_INVALIDOAUTHAPI = "ResourceNotFound.InvalidOauthApi" // UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" // UNSUPPORTEDOPERATION_INVALIDENDPOINTTYPE = "UnsupportedOperation.InvalidEndpointType" @@ -763,6 +764,7 @@ func (c *Client) CreateApi(request *CreateApiRequest) (response *CreateApiRespon // INVALIDPARAMETERVALUE_PARAMETERNOTMATCH = "InvalidParameterValue.ParameterNotMatch" // INVALIDPARAMETERVALUE_RANGEEXCEEDED = "InvalidParameterValue.RangeExceeded" // LIMITEXCEEDED_APICOUNTLIMITEXCEEDED = "LimitExceeded.ApiCountLimitExceeded" +// MISSINGPARAMETER = "MissingParameter" // RESOURCENOTFOUND_INVALIDOAUTHAPI = "ResourceNotFound.InvalidOauthApi" // UNSUPPORTEDOPERATION_INVALIDACTION = "UnsupportedOperation.InvalidAction" // UNSUPPORTEDOPERATION_INVALIDENDPOINTTYPE = "UnsupportedOperation.InvalidEndpointType" diff --git a/tencentcloud/apm/go.mod b/tencentcloud/apm/go.mod index 0110929ffb..4c7cd3520c 100644 --- a/tencentcloud/apm/go.mod +++ b/tencentcloud/apm/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/as/go.mod b/tencentcloud/as/go.mod index 551bfeeff3..562864d7e5 100644 --- a/tencentcloud/as/go.mod +++ b/tencentcloud/as/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/asr/go.mod b/tencentcloud/asr/go.mod index 73290599d4..6b96319afa 100644 --- a/tencentcloud/asr/go.mod +++ b/tencentcloud/asr/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asr go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/asr/v20190614/models.go b/tencentcloud/asr/v20190614/models.go index 29829a37ac..daad65c1ad 100644 --- a/tencentcloud/asr/v20190614/models.go +++ b/tencentcloud/asr/v20190614/models.go @@ -328,7 +328,8 @@ type CreateRecTaskRequest struct { // 语音数据来源。0:语音 URL;1:语音数据(post body)。 SourceType *uint64 `json:"SourceType,omitempty" name:"SourceType"` - // 是否开启说话人分离,0:不开启,1:开启(仅支持8k_zh,16k_zh,16k_zh_video引擎模型,单声道音频),默认值为 0。 + // 是否开启说话人分离,0:不开启,1:开启(仅支持8k_zh,16k_zh,16k_zh_video,单声道音频),默认值为 0。 + // 注意:8k电话场景建议使用双声道来区分通话双方,设置ChannelNum=2即可,不用开启说话人分离。 SpeakerDiarization *int64 `json:"SpeakerDiarization,omitempty" name:"SpeakerDiarization"` // 说话人分离人数(需配合开启说话人分离使用),取值范围:0-10,0代表自动分离(目前仅支持≤6个人),1-10代表指定说话人数分离。默认值为 0。 diff --git a/tencentcloud/asw/go.mod b/tencentcloud/asw/go.mod index 390d495a66..f962f5e41f 100644 --- a/tencentcloud/asw/go.mod +++ b/tencentcloud/asw/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asw go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ba/go.mod b/tencentcloud/ba/go.mod index 5641ea95db..399b537d6a 100644 --- a/tencentcloud/ba/go.mod +++ b/tencentcloud/ba/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ba go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/batch/go.mod b/tencentcloud/batch/go.mod index dddd40d1d3..5cd9d23c6f 100644 --- a/tencentcloud/batch/go.mod +++ b/tencentcloud/batch/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/batch go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/bda/go.mod b/tencentcloud/bda/go.mod index 9adc9d3c8b..0a51740b1d 100644 --- a/tencentcloud/bda/go.mod +++ b/tencentcloud/bda/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bda go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/bda/v20200324/client.go b/tencentcloud/bda/v20200324/client.go index 566d4ec70f..eb7bbf9eb2 100644 --- a/tencentcloud/bda/v20200324/client.go +++ b/tencentcloud/bda/v20200324/client.go @@ -187,6 +187,7 @@ func NewCreatePersonResponse() (response *CreatePersonResponse) { // 可能返回的错误码: // FAILEDOPERATION_BODYRECTILLEGAL = "FailedOperation.BodyRectIllegal" // FAILEDOPERATION_BODYRECTNUMILLEGAL = "FailedOperation.BodyRectNumIllegal" +// FAILEDOPERATION_IMAGEDOWNLOADERROR = "FailedOperation.ImageDownloadError" // FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError" // FAILEDOPERATION_REQUESTENTITYTOOLARGE = "FailedOperation.RequestEntityTooLarge" // FAILEDOPERATION_REQUESTTIMEOUT = "FailedOperation.RequestTimeout" @@ -238,6 +239,7 @@ func (c *Client) CreatePerson(request *CreatePersonRequest) (response *CreatePer // 可能返回的错误码: // FAILEDOPERATION_BODYRECTILLEGAL = "FailedOperation.BodyRectIllegal" // FAILEDOPERATION_BODYRECTNUMILLEGAL = "FailedOperation.BodyRectNumIllegal" +// FAILEDOPERATION_IMAGEDOWNLOADERROR = "FailedOperation.ImageDownloadError" // FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError" // FAILEDOPERATION_REQUESTENTITYTOOLARGE = "FailedOperation.RequestEntityTooLarge" // FAILEDOPERATION_REQUESTTIMEOUT = "FailedOperation.RequestTimeout" @@ -915,6 +917,7 @@ func NewGetPersonListResponse() (response *GetPersonListResponse) { // INVALIDPARAMETERVALUE_GROUPIDTOOLONG = "InvalidParameterValue.GroupIdTooLong" // INVALIDPARAMETERVALUE_LIMITEXCEED = "InvalidParameterValue.LimitExceed" // INVALIDPARAMETERVALUE_OFFSETEXCEED = "InvalidParameterValue.OffsetExceed" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" // RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" // UNSUPPORTEDOPERATION_UNKNOWMETHOD = "UnsupportedOperation.UnknowMethod" func (c *Client) GetPersonList(request *GetPersonListRequest) (response *GetPersonListResponse, err error) { @@ -941,6 +944,7 @@ func (c *Client) GetPersonList(request *GetPersonListRequest) (response *GetPers // INVALIDPARAMETERVALUE_GROUPIDTOOLONG = "InvalidParameterValue.GroupIdTooLong" // INVALIDPARAMETERVALUE_LIMITEXCEED = "InvalidParameterValue.LimitExceed" // INVALIDPARAMETERVALUE_OFFSETEXCEED = "InvalidParameterValue.OffsetExceed" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" // RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" // UNSUPPORTEDOPERATION_UNKNOWMETHOD = "UnsupportedOperation.UnknowMethod" func (c *Client) GetPersonListWithContext(ctx context.Context, request *GetPersonListRequest) (response *GetPersonListResponse, err error) { diff --git a/tencentcloud/billing/go.mod b/tencentcloud/billing/go.mod index 2ad5e1e96e..22a3d9b00e 100644 --- a/tencentcloud/billing/go.mod +++ b/tencentcloud/billing/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/billing go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/bizlive/go.mod b/tencentcloud/bizlive/go.mod index 21ba9ad5f7..cbd02f5239 100644 --- a/tencentcloud/bizlive/go.mod +++ b/tencentcloud/bizlive/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bizlive go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/bm/go.mod b/tencentcloud/bm/go.mod index fe4e6ce186..9cd8535c27 100644 --- a/tencentcloud/bm/go.mod +++ b/tencentcloud/bm/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bm go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/bmeip/go.mod b/tencentcloud/bmeip/go.mod index fb8d4bdb22..9f41234d44 100644 --- a/tencentcloud/bmeip/go.mod +++ b/tencentcloud/bmeip/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmeip go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/bmlb/go.mod b/tencentcloud/bmlb/go.mod index 6bef8df977..b13ffe96e3 100644 --- a/tencentcloud/bmlb/go.mod +++ b/tencentcloud/bmlb/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmlb go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/bmvpc/go.mod b/tencentcloud/bmvpc/go.mod index f049a91c73..e9646eba17 100644 --- a/tencentcloud/bmvpc/go.mod +++ b/tencentcloud/bmvpc/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmvpc go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/bri/go.mod b/tencentcloud/bri/go.mod index 71f76d0447..5244b07f29 100644 --- a/tencentcloud/bri/go.mod +++ b/tencentcloud/bri/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bri go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/btoe/go.mod b/tencentcloud/btoe/go.mod index e3dabe4826..cde9db9f29 100644 --- a/tencentcloud/btoe/go.mod +++ b/tencentcloud/btoe/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/btoe go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cam/go.mod b/tencentcloud/cam/go.mod index f4e1ae67fb..d1c4e3d844 100644 --- a/tencentcloud/cam/go.mod +++ b/tencentcloud/cam/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/captcha/go.mod b/tencentcloud/captcha/go.mod index 47389d33d3..fad571b321 100644 --- a/tencentcloud/captcha/go.mod +++ b/tencentcloud/captcha/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/captcha go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cat/go.mod b/tencentcloud/cat/go.mod index 19eb9fa6dc..e75e29df5e 100644 --- a/tencentcloud/cat/go.mod +++ b/tencentcloud/cat/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cbs/go.mod b/tencentcloud/cbs/go.mod index b9d1c845b0..947652eeb0 100644 --- a/tencentcloud/cbs/go.mod +++ b/tencentcloud/cbs/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ccc/go.mod b/tencentcloud/ccc/go.mod index 8bf5a86ec5..2436c11512 100644 --- a/tencentcloud/ccc/go.mod +++ b/tencentcloud/ccc/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ccc go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ccc/v20200210/client.go b/tencentcloud/ccc/v20200210/client.go index 7cfb45e825..dbbfa243f5 100644 --- a/tencentcloud/ccc/v20200210/client.go +++ b/tencentcloud/ccc/v20200210/client.go @@ -98,6 +98,60 @@ func (c *Client) BindStaffSkillGroupListWithContext(ctx context.Context, request return } +func NewCreateAutoCalloutTaskRequest() (request *CreateAutoCalloutTaskRequest) { + request = &CreateAutoCalloutTaskRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("ccc", APIVersion, "CreateAutoCalloutTask") + + + return +} + +func NewCreateAutoCalloutTaskResponse() (response *CreateAutoCalloutTaskResponse) { + response = &CreateAutoCalloutTaskResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateAutoCalloutTask +// 创建自动外呼任务 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBERROR = "InternalError.DBError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +func (c *Client) CreateAutoCalloutTask(request *CreateAutoCalloutTaskRequest) (response *CreateAutoCalloutTaskResponse, err error) { + if request == nil { + request = NewCreateAutoCalloutTaskRequest() + } + + response = NewCreateAutoCalloutTaskResponse() + err = c.Send(request, response) + return +} + +// CreateAutoCalloutTask +// 创建自动外呼任务 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INTERNALERROR_DBERROR = "InternalError.DBError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +func (c *Client) CreateAutoCalloutTaskWithContext(ctx context.Context, request *CreateAutoCalloutTaskRequest) (response *CreateAutoCalloutTaskResponse, err error) { + if request == nil { + request = NewCreateAutoCalloutTaskRequest() + } + request.SetContext(ctx) + + response = NewCreateAutoCalloutTaskResponse() + err = c.Send(request, response) + return +} + func NewCreateCallOutSessionRequest() (request *CreateCallOutSessionRequest) { request = &CreateCallOutSessionRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -123,6 +177,7 @@ func NewCreateCallOutSessionResponse() (response *CreateCallOutSessionResponse) // INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" // INVALIDPARAMETERVALUE = "InvalidParameterValue" // OPERATIONDENIED_NOTINWHITELIST = "OperationDenied.NotInWhiteList" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateCallOutSession(request *CreateCallOutSessionRequest) (response *CreateCallOutSessionResponse, err error) { if request == nil { request = NewCreateCallOutSessionRequest() @@ -141,6 +196,7 @@ func (c *Client) CreateCallOutSession(request *CreateCallOutSessionRequest) (res // INVALIDPARAMETER_INSTANCENOTEXIST = "InvalidParameter.InstanceNotExist" // INVALIDPARAMETERVALUE = "InvalidParameterValue" // OPERATIONDENIED_NOTINWHITELIST = "OperationDenied.NotInWhiteList" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" func (c *Client) CreateCallOutSessionWithContext(ctx context.Context, request *CreateCallOutSessionRequest) (response *CreateCallOutSessionResponse, err error) { if request == nil { request = NewCreateCallOutSessionRequest() @@ -372,6 +428,58 @@ func (c *Client) DeleteStaffWithContext(ctx context.Context, request *DeleteStaf return } +func NewDescribeAutoCalloutTaskRequest() (request *DescribeAutoCalloutTaskRequest) { + request = &DescribeAutoCalloutTaskRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("ccc", APIVersion, "DescribeAutoCalloutTask") + + + return +} + +func NewDescribeAutoCalloutTaskResponse() (response *DescribeAutoCalloutTaskResponse) { + response = &DescribeAutoCalloutTaskResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeAutoCalloutTask +// 查询自动外呼任务详情 +// +// 可能返回的错误码: +// INTERNALERROR_DBERROR = "InternalError.DBError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +func (c *Client) DescribeAutoCalloutTask(request *DescribeAutoCalloutTaskRequest) (response *DescribeAutoCalloutTaskResponse, err error) { + if request == nil { + request = NewDescribeAutoCalloutTaskRequest() + } + + response = NewDescribeAutoCalloutTaskResponse() + err = c.Send(request, response) + return +} + +// DescribeAutoCalloutTask +// 查询自动外呼任务详情 +// +// 可能返回的错误码: +// INTERNALERROR_DBERROR = "InternalError.DBError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +func (c *Client) DescribeAutoCalloutTaskWithContext(ctx context.Context, request *DescribeAutoCalloutTaskRequest) (response *DescribeAutoCalloutTaskResponse, err error) { + if request == nil { + request = NewDescribeAutoCalloutTaskRequest() + } + request.SetContext(ctx) + + response = NewDescribeAutoCalloutTaskResponse() + err = c.Send(request, response) + return +} + func NewDescribeAutoCalloutTasksRequest() (request *DescribeAutoCalloutTasksRequest) { request = &DescribeAutoCalloutTasksRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -1080,6 +1188,60 @@ func (c *Client) DescribeTelSessionWithContext(ctx context.Context, request *Des return } +func NewStopAutoCalloutTaskRequest() (request *StopAutoCalloutTaskRequest) { + request = &StopAutoCalloutTaskRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("ccc", APIVersion, "StopAutoCalloutTask") + + + return +} + +func NewStopAutoCalloutTaskResponse() (response *StopAutoCalloutTaskResponse) { + response = &StopAutoCalloutTaskResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// StopAutoCalloutTask +// 停止自动外呼任务 +// +// 可能返回的错误码: +// INTERNALERROR_DBERROR = "InternalError.DBError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) StopAutoCalloutTask(request *StopAutoCalloutTaskRequest) (response *StopAutoCalloutTaskResponse, err error) { + if request == nil { + request = NewStopAutoCalloutTaskRequest() + } + + response = NewStopAutoCalloutTaskResponse() + err = c.Send(request, response) + return +} + +// StopAutoCalloutTask +// 停止自动外呼任务 +// +// 可能返回的错误码: +// INTERNALERROR_DBERROR = "InternalError.DBError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) StopAutoCalloutTaskWithContext(ctx context.Context, request *StopAutoCalloutTaskRequest) (response *StopAutoCalloutTaskResponse, err error) { + if request == nil { + request = NewStopAutoCalloutTaskRequest() + } + request.SetContext(ctx) + + response = NewStopAutoCalloutTaskResponse() + err = c.Send(request, response) + return +} + func NewUnbindStaffSkillGroupListRequest() (request *UnbindStaffSkillGroupListRequest) { request = &UnbindStaffSkillGroupListRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/ccc/v20200210/errors.go b/tencentcloud/ccc/v20200210/errors.go index 6f63bb222e..42be8e1003 100644 --- a/tencentcloud/ccc/v20200210/errors.go +++ b/tencentcloud/ccc/v20200210/errors.go @@ -58,4 +58,7 @@ const ( // 未知参数错误。 UNKNOWNPARAMETER = "UnknownParameter" + + // 操作不支持。 + UNSUPPORTEDOPERATION = "UnsupportedOperation" ) diff --git a/tencentcloud/ccc/v20200210/models.go b/tencentcloud/ccc/v20200210/models.go index cfd08c0923..d7fd1f88e3 100644 --- a/tencentcloud/ccc/v20200210/models.go +++ b/tencentcloud/ccc/v20200210/models.go @@ -20,6 +20,15 @@ import ( tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http" ) +type AutoCalloutTaskCalleeInfo struct { + + // 被叫号码 + Callee *string `json:"Callee,omitempty" name:"Callee"` + + // 呼叫状态 0初始 1已接听 2未接听 3呼叫中 4待重试 + State *uint64 `json:"State,omitempty" name:"State"` +} + type AutoCalloutTaskInfo struct { // 任务名 @@ -159,6 +168,87 @@ type CallInSkillGroupMetrics struct { Name *string `json:"Name,omitempty" name:"Name"` } +type CreateAutoCalloutTaskRequest struct { + *tchttp.BaseRequest + + // 呼叫中心实例Id + SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` + + // 任务起始时间戳,Unix 秒级时间戳 + NotBefore *int64 `json:"NotBefore,omitempty" name:"NotBefore"` + + // 被叫号码列表 + Callees []*string `json:"Callees,omitempty" name:"Callees"` + + // 主叫号码列表 + Callers []*string `json:"Callers,omitempty" name:"Callers"` + + // 呼叫使用的Ivr + IvrId *uint64 `json:"IvrId,omitempty" name:"IvrId"` + + // 任务名 + Name *string `json:"Name,omitempty" name:"Name"` + + // 任务描述 + Description *string `json:"Description,omitempty" name:"Description"` + + // 任务停止时间戳,Unix 秒级时间戳 + NotAfter *int64 `json:"NotAfter,omitempty" name:"NotAfter"` + + // 最大尝试次数 + Tries *uint64 `json:"Tries,omitempty" name:"Tries"` +} + +func (r *CreateAutoCalloutTaskRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateAutoCalloutTaskRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "SdkAppId") + delete(f, "NotBefore") + delete(f, "Callees") + delete(f, "Callers") + delete(f, "IvrId") + delete(f, "Name") + delete(f, "Description") + delete(f, "NotAfter") + delete(f, "Tries") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateAutoCalloutTaskRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type CreateAutoCalloutTaskResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 任务Id + TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *CreateAutoCalloutTaskResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateAutoCalloutTaskResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type CreateCallOutSessionRequest struct { *tchttp.BaseRequest @@ -456,6 +546,81 @@ func (r *DeleteStaffResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type DescribeAutoCalloutTaskRequest struct { + *tchttp.BaseRequest + + // 呼叫中心实例Id + SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` + + // 任务Id + TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` +} + +func (r *DescribeAutoCalloutTaskRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeAutoCalloutTaskRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "SdkAppId") + delete(f, "TaskId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAutoCalloutTaskRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeAutoCalloutTaskResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 任务名 + Name *string `json:"Name,omitempty" name:"Name"` + + // 任务描述 + Description *string `json:"Description,omitempty" name:"Description"` + + // 任务起始时间戳 + NotBefore *int64 `json:"NotBefore,omitempty" name:"NotBefore"` + + // 任务结束时间戳 + // 注意:此字段可能返回 null,表示取不到有效值。 + NotAfter *int64 `json:"NotAfter,omitempty" name:"NotAfter"` + + // 主叫列表 + Callers []*string `json:"Callers,omitempty" name:"Callers"` + + // 被叫信息列表 + Callees []*AutoCalloutTaskCalleeInfo `json:"Callees,omitempty" name:"Callees"` + + // 任务使用的IvrId + IvrId *uint64 `json:"IvrId,omitempty" name:"IvrId"` + + // 任务状态 0初始 1运行中 2已完成 3结束中 4已终止 + State *uint64 `json:"State,omitempty" name:"State"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeAutoCalloutTaskResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeAutoCalloutTaskResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type DescribeAutoCalloutTasksRequest struct { *tchttp.BaseRequest @@ -1772,6 +1937,56 @@ type StaffStatusMetrics struct { ReserveNotReady *bool `json:"ReserveNotReady,omitempty" name:"ReserveNotReady"` } +type StopAutoCalloutTaskRequest struct { + *tchttp.BaseRequest + + // 呼叫中心实例Id + SdkAppId *uint64 `json:"SdkAppId,omitempty" name:"SdkAppId"` + + // 任务Id + TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` +} + +func (r *StopAutoCalloutTaskRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *StopAutoCalloutTaskRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "SdkAppId") + delete(f, "TaskId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "StopAutoCalloutTaskRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type StopAutoCalloutTaskResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *StopAutoCalloutTaskResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *StopAutoCalloutTaskResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type TelCdrInfo struct { // 主叫号码 @@ -1918,6 +2133,10 @@ type TelCdrInfo struct { // IVR按键信息(e.g. [{"Key":"1","Label":"非常满意"}]) // 注意:此字段可能返回 null,表示取不到有效值。 IVRKeyPressedEx []*IVRKeyPressedElement `json:"IVRKeyPressedEx,omitempty" name:"IVRKeyPressedEx"` + + // 获取录音ASR文本信息地址 + // 注意:此字段可能返回 null,表示取不到有效值。 + AsrUrl *string `json:"AsrUrl,omitempty" name:"AsrUrl"` } type UnbindStaffSkillGroupListRequest struct { diff --git a/tencentcloud/cdb/go.mod b/tencentcloud/cdb/go.mod index 68029360ef..a0f8faa892 100644 --- a/tencentcloud/cdb/go.mod +++ b/tencentcloud/cdb/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cdb/v20170320/client.go b/tencentcloud/cdb/v20170320/client.go index 3d29690a8c..cd4c3c7110 100644 --- a/tencentcloud/cdb/v20170320/client.go +++ b/tencentcloud/cdb/v20170320/client.go @@ -826,6 +826,7 @@ func NewCreateCloneInstanceResponse() (response *CreateCloneInstanceResponse) { // INTERNALERROR_TRADEERROR = "InternalError.TradeError" // INTERNALERROR_VPCERROR = "InternalError.VpcError" // INVALIDPARAMETER = "InvalidParameter" +// OPERATIONDENIED = "OperationDenied" // OPERATIONDENIED_OTHERODERINPROCESS = "OperationDenied.OtherOderInProcess" // OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" func (c *Client) CreateCloneInstance(request *CreateCloneInstanceRequest) (response *CreateCloneInstanceResponse, err error) { @@ -849,6 +850,7 @@ func (c *Client) CreateCloneInstance(request *CreateCloneInstanceRequest) (respo // INTERNALERROR_TRADEERROR = "InternalError.TradeError" // INTERNALERROR_VPCERROR = "InternalError.VpcError" // INVALIDPARAMETER = "InvalidParameter" +// OPERATIONDENIED = "OperationDenied" // OPERATIONDENIED_OTHERODERINPROCESS = "OperationDenied.OtherOderInProcess" // OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" func (c *Client) CreateCloneInstanceWithContext(ctx context.Context, request *CreateCloneInstanceRequest) (response *CreateCloneInstanceResponse, err error) { @@ -4103,6 +4105,7 @@ func NewDescribeInstanceParamsResponse() (response *DescribeInstanceParamsRespon // 该接口(DescribeInstanceParams)用于查询实例的参数列表。 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" // CDBERROR = "CdbError" // INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" // INTERNALERROR_PARAMERROR = "InternalError.ParamError" @@ -4122,6 +4125,7 @@ func (c *Client) DescribeInstanceParams(request *DescribeInstanceParamsRequest) // 该接口(DescribeInstanceParams)用于查询实例的参数列表。 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" // CDBERROR = "CdbError" // INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" // INTERNALERROR_PARAMERROR = "InternalError.ParamError" @@ -4159,6 +4163,7 @@ func NewDescribeLocalBinlogConfigResponse() (response *DescribeLocalBinlogConfig // 该接口用于查询实例本地binlog保留策略。 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" // CDBERROR = "CdbError" // INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" // INTERNALERROR_PARAMERROR = "InternalError.ParamError" @@ -4178,6 +4183,7 @@ func (c *Client) DescribeLocalBinlogConfig(request *DescribeLocalBinlogConfigReq // 该接口用于查询实例本地binlog保留策略。 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" // CDBERROR = "CdbError" // INTERNALERROR_DATABASEACCESSERROR = "InternalError.DatabaseAccessError" // INTERNALERROR_PARAMERROR = "InternalError.ParamError" diff --git a/tencentcloud/cdb/v20170320/models.go b/tencentcloud/cdb/v20170320/models.go index f88b459f9e..91f0c08411 100644 --- a/tencentcloud/cdb/v20170320/models.go +++ b/tencentcloud/cdb/v20170320/models.go @@ -4452,6 +4452,9 @@ type DescribeDefaultParamsRequest struct { // mysql版本,目前支持 ["5.1", "5.5", "5.6", "5.7"]。 EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` + + // 默认参数模板类型。支持值包括:"HIGH_STABILITY" - 高稳定模版,"HIGH_PERFORMANCE" - 高性能模版。 + TemplateType *string `json:"TemplateType,omitempty" name:"TemplateType"` } func (r *DescribeDefaultParamsRequest) ToJsonString() string { @@ -4467,6 +4470,7 @@ func (r *DescribeDefaultParamsRequest) FromJsonString(s string) error { return err } delete(f, "EngineVersion") + delete(f, "TemplateType") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDefaultParamsRequest has unknown keys!", "") } @@ -6845,7 +6849,7 @@ type ModifyAccountPrivilegesRequest struct { // 数据库的账号,包括用户名和域名。 Accounts []*Account `json:"Accounts,omitempty" name:"Accounts"` - // 全局权限。其中,GlobalPrivileges 中权限的可选值为:"SELECT","INSERT","UPDATE","DELETE","CREATE", "PROCESS", "DROP","REFERENCES","INDEX","ALTER","SHOW DATABASES","CREATE TEMPORARY TABLES","LOCK TABLES","EXECUTE","CREATE VIEW","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EVENT","TRIGGER"。 + // 全局权限。其中,GlobalPrivileges 中权限的可选值为:"SELECT","INSERT","UPDATE","DELETE","CREATE", "PROCESS", "DROP","REFERENCES","INDEX","ALTER","SHOW DATABASES","CREATE TEMPORARY TABLES","LOCK TABLES","EXECUTE","CREATE VIEW","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EVENT","TRIGGER","CREATE USER","RELOAD","REPLICATION CLIENT","REPLICATION SLAVE","UPDATE"。 // 注意,不传该参数表示清除该权限。 GlobalPrivileges []*string `json:"GlobalPrivileges,omitempty" name:"GlobalPrivileges"` @@ -10254,7 +10258,7 @@ type ZoneConf struct { type ZoneSellConf struct { - // 可用区状态。可能的返回值为:0-未上线;1-上线;2-开放;3-停售;4-不展示 + // 可用区状态。可能的返回值为:1-上线;3-停售;4-不展示 Status *int64 `json:"Status,omitempty" name:"Status"` // 可用区中文名称 @@ -10302,4 +10306,15 @@ type ZoneSellConf struct { // 可支持的跨可用区只读区信息 // 注意:此字段可能返回 null,表示取不到有效值。 RemoteRoZone []*string `json:"RemoteRoZone,omitempty" name:"RemoteRoZone"` + + // 独享型可用区状态。可能的返回值为:1-上线;3-停售;4-不展示 + ExClusterStatus *int64 `json:"ExClusterStatus,omitempty" name:"ExClusterStatus"` + + // 独享型可支持的跨可用区只读区信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + ExClusterRemoteRoZone []*string `json:"ExClusterRemoteRoZone,omitempty" name:"ExClusterRemoteRoZone"` + + // 独享型多可用区信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + ExClusterZoneConf *ZoneConf `json:"ExClusterZoneConf,omitempty" name:"ExClusterZoneConf"` } diff --git a/tencentcloud/cdn/go.mod b/tencentcloud/cdn/go.mod index fc696e9bde..0c48686603 100644 --- a/tencentcloud/cdn/go.mod +++ b/tencentcloud/cdn/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cdn/v20180606/client.go b/tencentcloud/cdn/v20180606/client.go index d9bd74935c..488f85e416 100644 --- a/tencentcloud/cdn/v20180606/client.go +++ b/tencentcloud/cdn/v20180606/client.go @@ -2122,7 +2122,11 @@ func NewDescribeIpStatusResponse() (response *DescribeIpStatusResponse) { } // DescribeIpStatus -// DescribeIpStatus 用于查询域名所在加速平台的边缘节点、回源节点明细。注意事项:边缘节点(edge)尚未全量开放,未在内测名单中的账号不支持调用 +// DescribeIpStatus 用于查询域名所在加速平台的边缘节点、回源节点明细。注意事项:边缘节点(edge)尚未全量开放,未在内测名单中的账号不支持调用。 +// +// +// +// >? 若您的业务已迁移至 CDN 控制台,请参考 CDN 接口文档,使用 CDN 相关API 进行操作。 // // 可能返回的错误码: // INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError" @@ -2146,7 +2150,11 @@ func (c *Client) DescribeIpStatus(request *DescribeIpStatusRequest) (response *D } // DescribeIpStatus -// DescribeIpStatus 用于查询域名所在加速平台的边缘节点、回源节点明细。注意事项:边缘节点(edge)尚未全量开放,未在内测名单中的账号不支持调用 +// DescribeIpStatus 用于查询域名所在加速平台的边缘节点、回源节点明细。注意事项:边缘节点(edge)尚未全量开放,未在内测名单中的账号不支持调用。 +// +// +// +// >? 若您的业务已迁移至 CDN 控制台,请参考 CDN 接口文档,使用 CDN 相关API 进行操作。 // // 可能返回的错误码: // INTERNALERROR_CDNCONFIGERROR = "InternalError.CdnConfigError" @@ -3785,6 +3793,7 @@ func NewDuplicateDomainConfigResponse() (response *DuplicateDomainConfigResponse // RESOURCEUNAVAILABLE_CDNHOSTNOICP = "ResourceUnavailable.CdnHostNoIcp" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized" +// UNAUTHORIZEDOPERATION_CDNDOMAINRECORDNOTVERIFIED = "UnauthorizedOperation.CdnDomainRecordNotVerified" // UNAUTHORIZEDOPERATION_CDNHOSTEXISTSININTERNAL = "UnauthorizedOperation.CdnHostExistsInInternal" // UNAUTHORIZEDOPERATION_CDNHOSTISOWNEDBYOTHER = "UnauthorizedOperation.CdnHostIsOwnedByOther" // UNAUTHORIZEDOPERATION_CDNHOSTISTOAPPLYHOST = "UnauthorizedOperation.CdnHostIsToApplyHost" @@ -3832,6 +3841,7 @@ func (c *Client) DuplicateDomainConfig(request *DuplicateDomainConfigRequest) (r // RESOURCEUNAVAILABLE_CDNHOSTNOICP = "ResourceUnavailable.CdnHostNoIcp" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized" +// UNAUTHORIZEDOPERATION_CDNDOMAINRECORDNOTVERIFIED = "UnauthorizedOperation.CdnDomainRecordNotVerified" // UNAUTHORIZEDOPERATION_CDNHOSTEXISTSININTERNAL = "UnauthorizedOperation.CdnHostExistsInInternal" // UNAUTHORIZEDOPERATION_CDNHOSTISOWNEDBYOTHER = "UnauthorizedOperation.CdnHostIsOwnedByOther" // UNAUTHORIZEDOPERATION_CDNHOSTISTOAPPLYHOST = "UnauthorizedOperation.CdnHostIsToApplyHost" diff --git a/tencentcloud/cdn/v20180606/models.go b/tencentcloud/cdn/v20180606/models.go index 1520d43ac8..9082f5abb7 100644 --- a/tencentcloud/cdn/v20180606/models.go +++ b/tencentcloud/cdn/v20180606/models.go @@ -5015,10 +5015,12 @@ type DetailDomain struct { // 项目 ID,可前往腾讯云项目管理页面查看 ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` - // 域名业务类型 - // web:静态加速 - // download:下载加速 - // media:流媒体点播加速 + // 加速域名业务类型 + // web:网页小文件 + // download:下载大文件 + // media:音视频点播 + // hybrid: 动静加速 + // dynamic: 动态加速 ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // 域名创建时间 @@ -5246,6 +5248,10 @@ type DetailDomain struct { // 共享CNAME配置(白名单功能) // 注意:此字段可能返回 null,表示取不到有效值。 ShareCname *ShareCname `json:"ShareCname,omitempty" name:"ShareCname"` + + // 规则引擎 + // 注意:此字段可能返回 null,表示取不到有效值。 + RuleEngine *RuleEngine `json:"RuleEngine,omitempty" name:"RuleEngine"` } type DiagnoseData struct { @@ -8353,6 +8359,18 @@ type RuleCacheConfig struct { FollowOrigin *CacheConfigFollowOrigin `json:"FollowOrigin,omitempty" name:"FollowOrigin"` } +type RuleEngine struct { + + // 规则引擎配置开关 + // on:开启 + // off:关闭 + Switch *string `json:"Switch,omitempty" name:"Switch"` + + // 规则 + // 注意:此字段可能返回 null,表示取不到有效值。 + Content *string `json:"Content,omitempty" name:"Content"` +} + type RuleQueryString struct { // on | off CacheKey是否由QueryString组成 @@ -8932,6 +8950,10 @@ type ServerCert struct { // 证书备注信息 // 注意:此字段可能返回 null,表示取不到有效值。 Message *string `json:"Message,omitempty" name:"Message"` + + // 证书来源 + // 注意:此字段可能返回 null,表示取不到有效值。 + From *string `json:"From,omitempty" name:"From"` } type ShareCname struct { diff --git a/tencentcloud/cds/go.mod b/tencentcloud/cds/go.mod index 3c8d4923e0..f20d006d00 100644 --- a/tencentcloud/cds/go.mod +++ b/tencentcloud/cds/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cds go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cfs/go.mod b/tencentcloud/cfs/go.mod index a934c7c39b..0c1b2483a9 100644 --- a/tencentcloud/cfs/go.mod +++ b/tencentcloud/cfs/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfs go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cfw/go.mod b/tencentcloud/cfw/go.mod index c9f09c5aab..27a1c392e9 100644 --- a/tencentcloud/cfw/go.mod +++ b/tencentcloud/cfw/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfw go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/chdfs/go.mod b/tencentcloud/chdfs/go.mod index bc433e5ded..b827fa47b1 100644 --- a/tencentcloud/chdfs/go.mod +++ b/tencentcloud/chdfs/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cii/go.mod b/tencentcloud/cii/go.mod index 959ba80ddc..18820c67f6 100644 --- a/tencentcloud/cii/go.mod +++ b/tencentcloud/cii/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cii go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cii/v20210408/client.go b/tencentcloud/cii/v20210408/client.go index 163ccddca9..1bc03510c7 100644 --- a/tencentcloud/cii/v20210408/client.go +++ b/tencentcloud/cii/v20210408/client.go @@ -62,7 +62,7 @@ func NewAddSubStructureTasksResponse() (response *AddSubStructureTasksResponse) } // AddSubStructureTasks -// 中银三星需求,基于主任务批量添加结构化子任务 +// 如果主任务下的报告不满足需求,可以基于主任务批量添加子任务 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -80,7 +80,7 @@ func (c *Client) AddSubStructureTasks(request *AddSubStructureTasksRequest) (res } // AddSubStructureTasks -// 中银三星需求,基于主任务批量添加结构化子任务 +// 如果主任务下的报告不满足需求,可以基于主任务批量添加子任务 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -334,6 +334,62 @@ func (c *Client) DescribeMachineUnderwriteWithContext(ctx context.Context, reque return } +func NewDescribeQualityScoreRequest() (request *DescribeQualityScoreRequest) { + request = &DescribeQualityScoreRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("cii", APIVersion, "DescribeQualityScore") + + + return +} + +func NewDescribeQualityScoreResponse() (response *DescribeQualityScoreResponse) { + response = &DescribeQualityScoreResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeQualityScore +// 获取图片质量分 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +func (c *Client) DescribeQualityScore(request *DescribeQualityScoreRequest) (response *DescribeQualityScoreResponse, err error) { + if request == nil { + request = NewDescribeQualityScoreRequest() + } + + response = NewDescribeQualityScoreResponse() + err = c.Send(request, response) + return +} + +// DescribeQualityScore +// 获取图片质量分 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +func (c *Client) DescribeQualityScoreWithContext(ctx context.Context, request *DescribeQualityScoreRequest) (response *DescribeQualityScoreResponse, err error) { + if request == nil { + request = NewDescribeQualityScoreRequest() + } + request.SetContext(ctx) + + response = NewDescribeQualityScoreResponse() + err = c.Send(request, response) + return +} + func NewDescribeReportClassifyRequest() (request *DescribeReportClassifyRequest) { request = &DescribeReportClassifyRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -352,7 +408,7 @@ func NewDescribeReportClassifyResponse() (response *DescribeReportClassifyRespon } // DescribeReportClassify -// saas页面集成了自动分类功能,该接口提供自动分类结果 +// 辅助用户对批量报告自动分类 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -368,7 +424,7 @@ func (c *Client) DescribeReportClassify(request *DescribeReportClassifyRequest) } // DescribeReportClassify -// saas页面集成了自动分类功能,该接口提供自动分类结果 +// 辅助用户对批量报告自动分类 // // 可能返回的错误码: // INTERNALERROR = "InternalError" diff --git a/tencentcloud/cii/v20210408/models.go b/tencentcloud/cii/v20210408/models.go index db2046e2c2..2b8b0c2e77 100644 --- a/tencentcloud/cii/v20210408/models.go +++ b/tencentcloud/cii/v20210408/models.go @@ -416,7 +416,10 @@ type DescribeMachineUnderwriteResponse struct { // 核保任务ID UnderwriteTaskId *string `json:"UnderwriteTaskId,omitempty" name:"UnderwriteTaskId"` - // 状态码 + // 结果状态: + // 0:返回成功 + // 1:结果未生成 + // 2:结果生成失败 Status *uint64 `json:"Status,omitempty" name:"Status"` // 机器核保结果 @@ -438,10 +441,61 @@ func (r *DescribeMachineUnderwriteResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type DescribeQualityScoreRequest struct { + *tchttp.BaseRequest + + // 文件二进制数据 + File *string `json:"File,omitempty" name:"File"` +} + +func (r *DescribeQualityScoreRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeQualityScoreRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "File") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeQualityScoreRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeQualityScoreResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 质量分 + QualityScore *float64 `json:"QualityScore,omitempty" name:"QualityScore"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeQualityScoreResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeQualityScoreResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type DescribeReportClassifyRequest struct { *tchttp.BaseRequest - // 服务类型(Structured/Underwrite) + // 服务类型 + // Structured 仅结构化 + // Underwrite 结构化+核保 ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"` // 文件地址数组 @@ -804,7 +858,10 @@ type DescribeUnderwriteTaskResponse struct { // 核保任务ID UnderwriteTaskId *string `json:"UnderwriteTaskId,omitempty" name:"UnderwriteTaskId"` - // 状态码 + // 结果状态: + // 0:返回成功 + // 1:结果未生成 + // 2:结果生成失败 Status *uint64 `json:"Status,omitempty" name:"Status"` // 核保结果 @@ -950,6 +1007,9 @@ type StructureResultObject struct { // 子任务ID SubTaskId *string `json:"SubTaskId,omitempty" name:"SubTaskId"` + + // 任务文件列表 + TaskFiles []*string `json:"TaskFiles,omitempty" name:"TaskFiles"` } type UnderwriteConclusion struct { @@ -974,6 +1034,34 @@ type UnderwriteItem struct { // 风险值或者说明 Value *string `json:"Value,omitempty" name:"Value"` + + // 参考范围 + // 注意:此字段可能返回 null,表示取不到有效值。 + Range *string `json:"Range,omitempty" name:"Range"` + + // 报告时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + ReportDate []*string `json:"ReportDate,omitempty" name:"ReportDate"` + + // 文件类型 + // 注意:此字段可能返回 null,表示取不到有效值。 + FileType *string `json:"FileType,omitempty" name:"FileType"` + + // 检查项目 + // 注意:此字段可能返回 null,表示取不到有效值。 + InspectProject *string `json:"InspectProject,omitempty" name:"InspectProject"` + + // 单位 + // 注意:此字段可能返回 null,表示取不到有效值。 + Unit *string `json:"Unit,omitempty" name:"Unit"` + + // 原名 + // 注意:此字段可能返回 null,表示取不到有效值。 + OriginName *string `json:"OriginName,omitempty" name:"OriginName"` + + // 阴阳性 + // 注意:此字段可能返回 null,表示取不到有效值。 + YinYang *string `json:"YinYang,omitempty" name:"YinYang"` } type UnderwriteOutput struct { diff --git a/tencentcloud/cim/go.mod b/tencentcloud/cim/go.mod index 79115c7416..0fdc503bd1 100644 --- a/tencentcloud/cim/go.mod +++ b/tencentcloud/cim/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cim go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cis/go.mod b/tencentcloud/cis/go.mod index 6c39b45432..82d3699695 100644 --- a/tencentcloud/cis/go.mod +++ b/tencentcloud/cis/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cis go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ckafka/go.mod b/tencentcloud/ckafka/go.mod index 0ac59c4ce2..8fbdc8da3b 100644 --- a/tencentcloud/ckafka/go.mod +++ b/tencentcloud/ckafka/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/clb/go.mod b/tencentcloud/clb/go.mod index 7f2b1195cf..1bfa3e8b70 100644 --- a/tencentcloud/clb/go.mod +++ b/tencentcloud/clb/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cloudaudit/go.mod b/tencentcloud/cloudaudit/go.mod index d266601c56..ec6af8809e 100644 --- a/tencentcloud/cloudaudit/go.mod +++ b/tencentcloud/cloudaudit/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cloudaudit/v20190319/client.go b/tencentcloud/cloudaudit/v20190319/client.go index e959da3ec5..c89b1da894 100644 --- a/tencentcloud/cloudaudit/v20190319/client.go +++ b/tencentcloud/cloudaudit/v20190319/client.go @@ -250,6 +250,60 @@ func (c *Client) DescribeAuditWithContext(ctx context.Context, request *Describe return } +func NewDescribeAuditTracksRequest() (request *DescribeAuditTracksRequest) { + request = &DescribeAuditTracksRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("cloudaudit", APIVersion, "DescribeAuditTracks") + + + return +} + +func NewDescribeAuditTracksResponse() (response *DescribeAuditTracksResponse) { + response = &DescribeAuditTracksResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeAuditTracks +// 查询云审计跟踪集列表 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_ALIASALREADYEXISTS = "InvalidParameterValue.AliasAlreadyExists" +// LIMITEXCEEDED_OVERAMOUNT = "LimitExceeded.OverAmount" +func (c *Client) DescribeAuditTracks(request *DescribeAuditTracksRequest) (response *DescribeAuditTracksResponse, err error) { + if request == nil { + request = NewDescribeAuditTracksRequest() + } + + response = NewDescribeAuditTracksResponse() + err = c.Send(request, response) + return +} + +// DescribeAuditTracks +// 查询云审计跟踪集列表 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE_ALIASALREADYEXISTS = "InvalidParameterValue.AliasAlreadyExists" +// LIMITEXCEEDED_OVERAMOUNT = "LimitExceeded.OverAmount" +func (c *Client) DescribeAuditTracksWithContext(ctx context.Context, request *DescribeAuditTracksRequest) (response *DescribeAuditTracksResponse, err error) { + if request == nil { + request = NewDescribeAuditTracksRequest() + } + request.SetContext(ctx) + + response = NewDescribeAuditTracksResponse() + err = c.Send(request, response) + return +} + func NewDescribeEventsRequest() (request *DescribeEventsRequest) { request = &DescribeEventsRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/cloudaudit/v20190319/errors.go b/tencentcloud/cloudaudit/v20190319/errors.go index 6955c0edc0..cad043a770 100644 --- a/tencentcloud/cloudaudit/v20190319/errors.go +++ b/tencentcloud/cloudaudit/v20190319/errors.go @@ -68,6 +68,9 @@ const ( // 必须包含开始时间和结束时间,且必须为整形时间戳(精确到秒) INVALIDPARAMETER_TIME = "InvalidParameter.Time" + // 别名已经存在 + INVALIDPARAMETERVALUE_ALIASALREADYEXISTS = "InvalidParameterValue.AliasAlreadyExists" + // 跟踪集名称不符合规则 INVALIDPARAMETERVALUE_AUDITNAMEERROR = "InvalidParameterValue.AuditNameError" diff --git a/tencentcloud/cloudaudit/v20190319/models.go b/tencentcloud/cloudaudit/v20190319/models.go index abe3b70307..6da197aec0 100644 --- a/tencentcloud/cloudaudit/v20190319/models.go +++ b/tencentcloud/cloudaudit/v20190319/models.go @@ -302,6 +302,48 @@ func (r *DescribeAuditResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type DescribeAuditTracksRequest struct { + *tchttp.BaseRequest +} + +func (r *DescribeAuditTracksRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeAuditTracksRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAuditTracksRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeAuditTracksResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeAuditTracksResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeAuditTracksResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type DescribeEventsRequest struct { *tchttp.BaseRequest diff --git a/tencentcloud/cloudhsm/go.mod b/tencentcloud/cloudhsm/go.mod index 11b17ae171..968bbf0c7e 100644 --- a/tencentcloud/cloudhsm/go.mod +++ b/tencentcloud/cloudhsm/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudhsm go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cls/go.mod b/tencentcloud/cls/go.mod index 6929912c38..9ec1e24ef4 100644 --- a/tencentcloud/cls/go.mod +++ b/tencentcloud/cls/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cls/v20201016/client.go b/tencentcloud/cls/v20201016/client.go index bad3edfbb2..68949911af 100644 --- a/tencentcloud/cls/v20201016/client.go +++ b/tencentcloud/cls/v20201016/client.go @@ -1226,7 +1226,7 @@ func NewDeleteIndexResponse() (response *DeleteIndexResponse) { } // DeleteIndex -// 本接口用于日志主题的索引配置 +// 本接口用于删除日志主题的索引配置,删除索引配置后将无法检索和查询采集到的日志。 // // 可能返回的错误码: // FAILEDOPERATION = "FailedOperation" @@ -1251,7 +1251,7 @@ func (c *Client) DeleteIndex(request *DeleteIndexRequest) (response *DeleteIndex } // DeleteIndex -// 本接口用于日志主题的索引配置 +// 本接口用于删除日志主题的索引配置,删除索引配置后将无法检索和查询采集到的日志。 // // 可能返回的错误码: // FAILEDOPERATION = "FailedOperation" diff --git a/tencentcloud/cme/go.mod b/tencentcloud/cme/go.mod index 73213f7e75..bf0043d7d0 100644 --- a/tencentcloud/cme/go.mod +++ b/tencentcloud/cme/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cme go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cmq/go.mod b/tencentcloud/cmq/go.mod index 0ea38c3bd2..25dc726e01 100644 --- a/tencentcloud/cmq/go.mod +++ b/tencentcloud/cmq/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cms/go.mod b/tencentcloud/cms/go.mod index d7e0c9db62..ba39bafa6a 100644 --- a/tencentcloud/cms/go.mod +++ b/tencentcloud/cms/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cms go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/common/http/request.go b/tencentcloud/common/http/request.go index 951f1ccba5..21f7d34d3d 100644 --- a/tencentcloud/common/http/request.go +++ b/tencentcloud/common/http/request.go @@ -240,7 +240,7 @@ func CompleteCommonParams(request Request, region string) { params["Action"] = request.GetAction() params["Timestamp"] = strconv.FormatInt(time.Now().Unix(), 10) params["Nonce"] = strconv.Itoa(rand.Int()) - params["RequestClient"] = "SDK_GO_1.0.342" + params["RequestClient"] = "SDK_GO_1.0.350" } func ConstructParams(req Request) (err error) { diff --git a/tencentcloud/cpdp/go.mod b/tencentcloud/cpdp/go.mod index 2adde1a90b..1828c1517d 100644 --- a/tencentcloud/cpdp/go.mod +++ b/tencentcloud/cpdp/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cpdp/v20190820/client.go b/tencentcloud/cpdp/v20190820/client.go index a2e80a24b2..7e6226c1f0 100644 --- a/tencentcloud/cpdp/v20190820/client.go +++ b/tencentcloud/cpdp/v20190820/client.go @@ -6729,6 +6729,7 @@ func NewRefundResponse() (response *RefundResponse) { // FAILEDOPERATION_NORECORD = "FailedOperation.NoRecord" // FAILEDOPERATION_ORDERLOCKED = "FailedOperation.OrderLocked" // FAILEDOPERATION_PORTALERROR = "FailedOperation.PortalError" +// FAILEDOPERATION_REFUNDTRANSACTIONCLOSED = "FailedOperation.RefundTransactionClosed" // FAILEDOPERATION_REFUNDTRANSACTIONFINISHED = "FailedOperation.RefundTransactionFinished" // FAILEDOPERATION_WXCRTNOTSET = "FailedOperation.WxCrtNotSet" // INVALIDPARAMETER = "InvalidParameter" @@ -6758,6 +6759,7 @@ func (c *Client) Refund(request *RefundRequest) (response *RefundResponse, err e // FAILEDOPERATION_NORECORD = "FailedOperation.NoRecord" // FAILEDOPERATION_ORDERLOCKED = "FailedOperation.OrderLocked" // FAILEDOPERATION_PORTALERROR = "FailedOperation.PortalError" +// FAILEDOPERATION_REFUNDTRANSACTIONCLOSED = "FailedOperation.RefundTransactionClosed" // FAILEDOPERATION_REFUNDTRANSACTIONFINISHED = "FailedOperation.RefundTransactionFinished" // FAILEDOPERATION_WXCRTNOTSET = "FailedOperation.WxCrtNotSet" // INVALIDPARAMETER = "InvalidParameter" @@ -6793,6 +6795,7 @@ func NewRefundMemberTransactionResponse() (response *RefundMemberTransactionResp // 会员间交易退款 // // 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" // FAILEDOPERATION_ACTIONINVALID = "FailedOperation.ActionInvalid" // FAILEDOPERATION_PABANKERROR = "FailedOperation.PABankError" func (c *Client) RefundMemberTransaction(request *RefundMemberTransactionRequest) (response *RefundMemberTransactionResponse, err error) { @@ -6809,6 +6812,7 @@ func (c *Client) RefundMemberTransaction(request *RefundMemberTransactionRequest // 会员间交易退款 // // 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" // FAILEDOPERATION_ACTIONINVALID = "FailedOperation.ActionInvalid" // FAILEDOPERATION_PABANKERROR = "FailedOperation.PABankError" func (c *Client) RefundMemberTransactionWithContext(ctx context.Context, request *RefundMemberTransactionRequest) (response *RefundMemberTransactionResponse, err error) { diff --git a/tencentcloud/cpdp/v20190820/errors.go b/tencentcloud/cpdp/v20190820/errors.go index 04dfd4e33b..da28b8b0c2 100644 --- a/tencentcloud/cpdp/v20190820/errors.go +++ b/tencentcloud/cpdp/v20190820/errors.go @@ -263,6 +263,9 @@ const ( // 超出商户单日转账额度。 FAILEDOPERATION_QUOTAEXCEED = "FailedOperation.QuotaExceed" + // 退款交易已结束。 + FAILEDOPERATION_REFUNDTRANSACTIONCLOSED = "FailedOperation.RefundTransactionClosed" + // 退款交易已完成,请勿重复操作。 FAILEDOPERATION_REFUNDTRANSACTIONFINISHED = "FailedOperation.RefundTransactionFinished" diff --git a/tencentcloud/cr/go.mod b/tencentcloud/cr/go.mod index 3d35b81908..9c97e73b05 100644 --- a/tencentcloud/cr/go.mod +++ b/tencentcloud/cr/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cr go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cvm/go.mod b/tencentcloud/cvm/go.mod index 942fda0339..11ebf30a7d 100644 --- a/tencentcloud/cvm/go.mod +++ b/tencentcloud/cvm/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cvm/v20170312/client.go b/tencentcloud/cvm/v20170312/client.go index cdc3a2de64..6b90a97570 100644 --- a/tencentcloud/cvm/v20170312/client.go +++ b/tencentcloud/cvm/v20170312/client.go @@ -384,6 +384,7 @@ func NewCreateImageResponse() (response *CreateImageResponse) { // INVALIDPARAMETER_SYSTEMSNAPSHOTNOTFOUND = "InvalidParameter.SystemSnapshotNotFound" // INVALIDPARAMETER_VALUETOOLARGE = "InvalidParameter.ValueTooLarge" // INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" // INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" // INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" // MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" @@ -430,6 +431,7 @@ func (c *Client) CreateImage(request *CreateImageRequest) (response *CreateImage // INVALIDPARAMETER_SYSTEMSNAPSHOTNOTFOUND = "InvalidParameter.SystemSnapshotNotFound" // INVALIDPARAMETER_VALUETOOLARGE = "InvalidParameter.ValueTooLarge" // INVALIDPARAMETERCONFLICT = "InvalidParameterConflict" +// INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" // INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" // INVALIDPARAMETERVALUE_TOOLARGE = "InvalidParameterValue.TooLarge" // MUTEXOPERATION_TASKRUNNING = "MutexOperation.TaskRunning" @@ -3798,6 +3800,7 @@ func NewInquiryPriceResetInstancesTypeResponse() (response *InquiryPriceResetIns // INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" // INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" // INVALIDPERMISSION = "InvalidPermission" +// LIMITEXCEEDED_ENINUMLIMIT = "LimitExceeded.EniNumLimit" // LIMITEXCEEDED_INSTANCETYPEBANDWIDTH = "LimitExceeded.InstanceTypeBandwidth" // MISSINGPARAMETER = "MissingParameter" // RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" @@ -3842,6 +3845,7 @@ func (c *Client) InquiryPriceResetInstancesType(request *InquiryPriceResetInstan // INVALIDPARAMETERVALUE_INVALIDAPPIDFORMAT = "InvalidParameterValue.InvalidAppIdFormat" // INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" // INVALIDPERMISSION = "InvalidPermission" +// LIMITEXCEEDED_ENINUMLIMIT = "LimitExceeded.EniNumLimit" // LIMITEXCEEDED_INSTANCETYPEBANDWIDTH = "LimitExceeded.InstanceTypeBandwidth" // MISSINGPARAMETER = "MissingParameter" // RESOURCEINSUFFICIENT_CLOUDDISKUNAVAILABLE = "ResourceInsufficient.CloudDiskUnavailable" @@ -5579,6 +5583,7 @@ func NewRenewInstancesResponse() (response *RenewInstancesResponse) { // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" // UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// UNSUPPORTEDOPERATION_INSTANCESTATEBANNING = "UnsupportedOperation.InstanceStateBanning" // UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" // UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" // UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" @@ -5619,6 +5624,7 @@ func (c *Client) RenewInstances(request *RenewInstancesRequest) (response *Renew // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED_INSTANCEOPERATIONINPROGRESS = "OperationDenied.InstanceOperationInProgress" // UNSUPPORTEDOPERATION_INSTANCECHARGETYPE = "UnsupportedOperation.InstanceChargeType" +// UNSUPPORTEDOPERATION_INSTANCESTATEBANNING = "UnsupportedOperation.InstanceStateBanning" // UNSUPPORTEDOPERATION_INSTANCESTATEFREEZING = "UnsupportedOperation.InstanceStateFreezing" // UNSUPPORTEDOPERATION_INSTANCESTATEREBOOTING = "UnsupportedOperation.InstanceStateRebooting" // UNSUPPORTEDOPERATION_INSTANCESTATESTOPPING = "UnsupportedOperation.InstanceStateStopping" diff --git a/tencentcloud/cwp/go.mod b/tencentcloud/cwp/go.mod index 901efc29f2..e61e50382f 100644 --- a/tencentcloud/cwp/go.mod +++ b/tencentcloud/cwp/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cws/go.mod b/tencentcloud/cws/go.mod index 739f385551..84ec5d8550 100644 --- a/tencentcloud/cws/go.mod +++ b/tencentcloud/cws/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cws go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cynosdb/go.mod b/tencentcloud/cynosdb/go.mod index d3c6515a9d..ea325b24d6 100644 --- a/tencentcloud/cynosdb/go.mod +++ b/tencentcloud/cynosdb/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/cynosdb/v20190107/client.go b/tencentcloud/cynosdb/v20190107/client.go index f36c5d3283..218cc28c53 100644 --- a/tencentcloud/cynosdb/v20190107/client.go +++ b/tencentcloud/cynosdb/v20190107/client.go @@ -44,6 +44,74 @@ func NewClient(credential common.CredentialIface, region string, clientProfile * } +func NewActivateInstanceRequest() (request *ActivateInstanceRequest) { + request = &ActivateInstanceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("cynosdb", APIVersion, "ActivateInstance") + + + return +} + +func NewActivateInstanceResponse() (response *ActivateInstanceResponse) { + response = &ActivateInstanceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ActivateInstance +// 本接口(ActivateInstance)用于恢复已隔离的实例访问。 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" +// INVALIDPARAMETERVALUE_PREPAYPAYMODEERROR = "InvalidParameterValue.PrePayPayModeError" +// OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) ActivateInstance(request *ActivateInstanceRequest) (response *ActivateInstanceResponse, err error) { + if request == nil { + request = NewActivateInstanceRequest() + } + + response = NewActivateInstanceResponse() + err = c.Send(request, response) + return +} + +// ActivateInstance +// 本接口(ActivateInstance)用于恢复已隔离的实例访问。 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" +// INVALIDPARAMETERVALUE_PREPAYPAYMODEERROR = "InvalidParameterValue.PrePayPayModeError" +// OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) ActivateInstanceWithContext(ctx context.Context, request *ActivateInstanceRequest) (response *ActivateInstanceResponse, err error) { + if request == nil { + request = NewActivateInstanceRequest() + } + request.SetContext(ctx) + + response = NewActivateInstanceResponse() + err = c.Send(request, response) + return +} + func NewAddInstancesRequest() (request *AddInstancesRequest) { request = &AddInstancesRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -130,6 +198,62 @@ func (c *Client) AddInstancesWithContext(ctx context.Context, request *AddInstan return } +func NewAssociateSecurityGroupsRequest() (request *AssociateSecurityGroupsRequest) { + request = &AssociateSecurityGroupsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("cynosdb", APIVersion, "AssociateSecurityGroups") + + + return +} + +func NewAssociateSecurityGroupsResponse() (response *AssociateSecurityGroupsResponse) { + response = &AssociateSecurityGroupsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// AssociateSecurityGroups +// 安全组批量绑定云资源 +// +// 可能返回的错误码: +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" +// INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) AssociateSecurityGroups(request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error) { + if request == nil { + request = NewAssociateSecurityGroupsRequest() + } + + response = NewAssociateSecurityGroupsResponse() + err = c.Send(request, response) + return +} + +// AssociateSecurityGroups +// 安全组批量绑定云资源 +// +// 可能返回的错误码: +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" +// INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) AssociateSecurityGroupsWithContext(ctx context.Context, request *AssociateSecurityGroupsRequest) (response *AssociateSecurityGroupsResponse, err error) { + if request == nil { + request = NewAssociateSecurityGroupsRequest() + } + request.SetContext(ctx) + + response = NewAssociateSecurityGroupsResponse() + err = c.Send(request, response) + return +} + func NewCreateClustersRequest() (request *CreateClustersRequest) { request = &CreateClustersRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -220,6 +344,122 @@ func (c *Client) CreateClustersWithContext(ctx context.Context, request *CreateC return } +func NewDescribeAccountAllGrantPrivilegesRequest() (request *DescribeAccountAllGrantPrivilegesRequest) { + request = &DescribeAccountAllGrantPrivilegesRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("cynosdb", APIVersion, "DescribeAccountAllGrantPrivileges") + + + return +} + +func NewDescribeAccountAllGrantPrivilegesResponse() (response *DescribeAccountAllGrantPrivilegesResponse) { + response = &DescribeAccountAllGrantPrivilegesResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeAccountAllGrantPrivileges +// 账号所有权限 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" +// INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" +// INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" +// INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" +// INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" +// INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" +// INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" +// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" +// INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" +// INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" +// INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" +// INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" +// INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" +// INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" +// INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" +// INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" +// INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" +// INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" +// INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" +// INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" +// INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" +// INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" +// INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" +// INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" +// LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" +// OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" +// OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) DescribeAccountAllGrantPrivileges(request *DescribeAccountAllGrantPrivilegesRequest) (response *DescribeAccountAllGrantPrivilegesResponse, err error) { + if request == nil { + request = NewDescribeAccountAllGrantPrivilegesRequest() + } + + response = NewDescribeAccountAllGrantPrivilegesResponse() + err = c.Send(request, response) + return +} + +// DescribeAccountAllGrantPrivileges +// 账号所有权限 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" +// INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" +// INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" +// INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" +// INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" +// INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" +// INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" +// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" +// INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" +// INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" +// INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" +// INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" +// INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" +// INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" +// INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" +// INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" +// INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" +// INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" +// INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" +// INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" +// INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" +// INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" +// INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" +// INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" +// LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" +// OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" +// OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) DescribeAccountAllGrantPrivilegesWithContext(ctx context.Context, request *DescribeAccountAllGrantPrivilegesRequest) (response *DescribeAccountAllGrantPrivilegesResponse, err error) { + if request == nil { + request = NewDescribeAccountAllGrantPrivilegesRequest() + } + request.SetContext(ctx) + + response = NewDescribeAccountAllGrantPrivilegesResponse() + err = c.Send(request, response) + return +} + func NewDescribeAccountsRequest() (request *DescribeAccountsRequest) { request = &DescribeAccountsRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -534,6 +774,62 @@ func (c *Client) DescribeClusterInstanceGrpsWithContext(ctx context.Context, req return } +func NewDescribeClusterParamLogsRequest() (request *DescribeClusterParamLogsRequest) { + request = &DescribeClusterParamLogsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("cynosdb", APIVersion, "DescribeClusterParamLogs") + + + return +} + +func NewDescribeClusterParamLogsResponse() (response *DescribeClusterParamLogsResponse) { + response = &DescribeClusterParamLogsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeClusterParamLogs +// 本接口(DescribeClusterParamLogs)查询参数修改日志 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_FLOWNOTFOUNDERROR = "FailedOperation.FlowNotFoundError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) DescribeClusterParamLogs(request *DescribeClusterParamLogsRequest) (response *DescribeClusterParamLogsResponse, err error) { + if request == nil { + request = NewDescribeClusterParamLogsRequest() + } + + response = NewDescribeClusterParamLogsResponse() + err = c.Send(request, response) + return +} + +// DescribeClusterParamLogs +// 本接口(DescribeClusterParamLogs)查询参数修改日志 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_FLOWNOTFOUNDERROR = "FailedOperation.FlowNotFoundError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) DescribeClusterParamLogsWithContext(ctx context.Context, request *DescribeClusterParamLogsRequest) (response *DescribeClusterParamLogsResponse, err error) { + if request == nil { + request = NewDescribeClusterParamLogsRequest() + } + request.SetContext(ctx) + + response = NewDescribeClusterParamLogsResponse() + err = c.Send(request, response) + return +} + func NewDescribeClustersRequest() (request *DescribeClustersRequest) { request = &DescribeClustersRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -1114,64 +1410,236 @@ func (c *Client) DescribeRollbackTimeValidityWithContext(ctx context.Context, re return } -func NewIsolateClusterRequest() (request *IsolateClusterRequest) { - request = &IsolateClusterRequest{ +func NewDisassociateSecurityGroupsRequest() (request *DisassociateSecurityGroupsRequest) { + request = &DisassociateSecurityGroupsRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("cynosdb", APIVersion, "IsolateCluster") + request.Init().WithApiInfo("cynosdb", APIVersion, "DisassociateSecurityGroups") return } -func NewIsolateClusterResponse() (response *IsolateClusterResponse) { - response = &IsolateClusterResponse{ +func NewDisassociateSecurityGroupsResponse() (response *DisassociateSecurityGroupsResponse) { + response = &DisassociateSecurityGroupsResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// IsolateCluster -// 隔离集群 +// DisassociateSecurityGroups +// 安全组批量解绑云资源 // // 可能返回的错误码: -// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" -// FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" -// FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" -// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" -// INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" -// INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" -// INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" -// INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError" -// OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" -// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" -// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" -// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" +// INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" // UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" -func (c *Client) IsolateCluster(request *IsolateClusterRequest) (response *IsolateClusterResponse, err error) { +func (c *Client) DisassociateSecurityGroups(request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error) { if request == nil { - request = NewIsolateClusterRequest() + request = NewDisassociateSecurityGroupsRequest() } - response = NewIsolateClusterResponse() + response = NewDisassociateSecurityGroupsResponse() err = c.Send(request, response) return } -// IsolateCluster -// 隔离集群 +// DisassociateSecurityGroups +// 安全组批量解绑云资源 // // 可能返回的错误码: -// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" -// FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" -// FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" -// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" -// INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" -// INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" -// INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" -// INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError" -// OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" -// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" +// INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) DisassociateSecurityGroupsWithContext(ctx context.Context, request *DisassociateSecurityGroupsRequest) (response *DisassociateSecurityGroupsResponse, err error) { + if request == nil { + request = NewDisassociateSecurityGroupsRequest() + } + request.SetContext(ctx) + + response = NewDisassociateSecurityGroupsResponse() + err = c.Send(request, response) + return +} + +func NewGrantAccountPrivilegesRequest() (request *GrantAccountPrivilegesRequest) { + request = &GrantAccountPrivilegesRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("cynosdb", APIVersion, "GrantAccountPrivileges") + + + return +} + +func NewGrantAccountPrivilegesResponse() (response *GrantAccountPrivilegesResponse) { + response = &GrantAccountPrivilegesResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// GrantAccountPrivileges +// 批量授权账号权限 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" +// INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" +// INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" +// INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" +// INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" +// INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" +// INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" +// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" +// INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" +// INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" +// INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" +// INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" +// INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" +// INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" +// INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" +// INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" +// INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" +// INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" +// INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" +// INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" +// INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" +// INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" +// INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" +// INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" +// LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" +// OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" +// OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) GrantAccountPrivileges(request *GrantAccountPrivilegesRequest) (response *GrantAccountPrivilegesResponse, err error) { + if request == nil { + request = NewGrantAccountPrivilegesRequest() + } + + response = NewGrantAccountPrivilegesResponse() + err = c.Send(request, response) + return +} + +// GrantAccountPrivileges +// 批量授权账号权限 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" +// INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" +// INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" +// INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" +// INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" +// INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" +// INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" +// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" +// INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" +// INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" +// INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" +// INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" +// INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" +// INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" +// INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" +// INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" +// INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" +// INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" +// INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" +// INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" +// INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" +// INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" +// INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" +// INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" +// LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" +// OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" +// OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) GrantAccountPrivilegesWithContext(ctx context.Context, request *GrantAccountPrivilegesRequest) (response *GrantAccountPrivilegesResponse, err error) { + if request == nil { + request = NewGrantAccountPrivilegesRequest() + } + request.SetContext(ctx) + + response = NewGrantAccountPrivilegesResponse() + err = c.Send(request, response) + return +} + +func NewIsolateClusterRequest() (request *IsolateClusterRequest) { + request = &IsolateClusterRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("cynosdb", APIVersion, "IsolateCluster") + + + return +} + +func NewIsolateClusterResponse() (response *IsolateClusterResponse) { + response = &IsolateClusterResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// IsolateCluster +// 隔离集群 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" +// FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" +// INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" +// INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" +// INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError" +// OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) IsolateCluster(request *IsolateClusterRequest) (response *IsolateClusterResponse, err error) { + if request == nil { + request = NewIsolateClusterRequest() + } + + response = NewIsolateClusterResponse() + err = c.Send(request, response) + return +} + +// IsolateCluster +// 隔离集群 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" +// FAILEDOPERATION_TRADECREATEORDERERROR = "FailedOperation.TradeCreateOrderError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" +// INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" +// INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUEERROR = "InvalidParameterValue.InvalidParameterValueError" +// INVALIDPARAMETERVALUE_INVALIDREGIONIDERROR = "InvalidParameterValue.InvalidRegionIdError" +// OPERATIONDENIED_CLUSTEROPNOTALLOWEDERROR = "OperationDenied.ClusterOpNotAllowedError" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" // RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" // RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" // UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" @@ -1252,6 +1720,122 @@ func (c *Client) IsolateInstanceWithContext(ctx context.Context, request *Isolat return } +func NewModifyAccountParamsRequest() (request *ModifyAccountParamsRequest) { + request = &ModifyAccountParamsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("cynosdb", APIVersion, "ModifyAccountParams") + + + return +} + +func NewModifyAccountParamsResponse() (response *ModifyAccountParamsResponse) { + response = &ModifyAccountParamsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ModifyAccountParams +// 修改账号参数 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" +// INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" +// INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" +// INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" +// INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" +// INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" +// INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" +// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" +// INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" +// INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" +// INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" +// INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" +// INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" +// INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" +// INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" +// INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" +// INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" +// INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" +// INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" +// INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" +// INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" +// INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" +// INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" +// INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" +// LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" +// OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" +// OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) ModifyAccountParams(request *ModifyAccountParamsRequest) (response *ModifyAccountParamsResponse, err error) { + if request == nil { + request = NewModifyAccountParamsRequest() + } + + response = NewModifyAccountParamsResponse() + err = c.Send(request, response) + return +} + +// ModifyAccountParams +// 修改账号参数 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" +// INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" +// INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" +// INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" +// INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" +// INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" +// INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" +// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" +// INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" +// INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" +// INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" +// INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" +// INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" +// INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" +// INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" +// INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" +// INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" +// INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" +// INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" +// INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" +// INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" +// INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" +// INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" +// INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" +// LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" +// OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" +// OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) ModifyAccountParamsWithContext(ctx context.Context, request *ModifyAccountParamsRequest) (response *ModifyAccountParamsResponse, err error) { + if request == nil { + request = NewModifyAccountParamsRequest() + } + request.SetContext(ctx) + + response = NewModifyAccountParamsResponse() + err = c.Send(request, response) + return +} + func NewModifyBackupConfigRequest() (request *ModifyBackupConfigRequest) { request = &ModifyBackupConfigRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -1612,6 +2196,312 @@ func (c *Client) OfflineInstanceWithContext(ctx context.Context, request *Offlin return } +func NewPauseServerlessRequest() (request *PauseServerlessRequest) { + request = &PauseServerlessRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("cynosdb", APIVersion, "PauseServerless") + + + return +} + +func NewPauseServerlessResponse() (response *PauseServerlessResponse) { + response = &PauseServerlessResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// PauseServerless +// 暂停serverless集群 +// +// 可能返回的错误码: +// FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" +// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" +// INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" +// INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError" +// INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" +// OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +func (c *Client) PauseServerless(request *PauseServerlessRequest) (response *PauseServerlessResponse, err error) { + if request == nil { + request = NewPauseServerlessRequest() + } + + response = NewPauseServerlessResponse() + err = c.Send(request, response) + return +} + +// PauseServerless +// 暂停serverless集群 +// +// 可能返回的错误码: +// FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" +// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" +// INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" +// INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError" +// INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" +// OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +func (c *Client) PauseServerlessWithContext(ctx context.Context, request *PauseServerlessRequest) (response *PauseServerlessResponse, err error) { + if request == nil { + request = NewPauseServerlessRequest() + } + request.SetContext(ctx) + + response = NewPauseServerlessResponse() + err = c.Send(request, response) + return +} + +func NewResumeServerlessRequest() (request *ResumeServerlessRequest) { + request = &ResumeServerlessRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("cynosdb", APIVersion, "ResumeServerless") + + + return +} + +func NewResumeServerlessResponse() (response *ResumeServerlessResponse) { + response = &ResumeServerlessResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ResumeServerless +// 恢复serverless集群 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" +// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" +// INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" +// INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" +// INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError" +// INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" +// OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" +// OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) ResumeServerless(request *ResumeServerlessRequest) (response *ResumeServerlessResponse, err error) { + if request == nil { + request = NewResumeServerlessRequest() + } + + response = NewResumeServerlessResponse() + err = c.Send(request, response) + return +} + +// ResumeServerless +// 恢复serverless集群 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" +// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" +// INTERNALERROR_UNKNOWNERROR = "InternalError.UnknownError" +// INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" +// INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError" +// INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" +// OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" +// OPERATIONDENIED_SERVERLESSCLUSTERSTATUSDENIED = "OperationDenied.ServerlessClusterStatusDenied" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) ResumeServerlessWithContext(ctx context.Context, request *ResumeServerlessRequest) (response *ResumeServerlessResponse, err error) { + if request == nil { + request = NewResumeServerlessRequest() + } + request.SetContext(ctx) + + response = NewResumeServerlessResponse() + err = c.Send(request, response) + return +} + +func NewRevokeAccountPrivilegesRequest() (request *RevokeAccountPrivilegesRequest) { + request = &RevokeAccountPrivilegesRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("cynosdb", APIVersion, "RevokeAccountPrivileges") + + + return +} + +func NewRevokeAccountPrivilegesResponse() (response *RevokeAccountPrivilegesResponse) { + response = &RevokeAccountPrivilegesResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// RevokeAccountPrivileges +// 批量回收账号权限 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" +// INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" +// INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" +// INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" +// INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" +// INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" +// INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" +// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" +// INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" +// INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" +// INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" +// INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" +// INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" +// INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" +// INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" +// INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" +// INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" +// INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" +// INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" +// INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" +// INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" +// INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" +// INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" +// INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" +// LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" +// OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" +// OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) RevokeAccountPrivileges(request *RevokeAccountPrivilegesRequest) (response *RevokeAccountPrivilegesResponse, err error) { + if request == nil { + request = NewRevokeAccountPrivilegesRequest() + } + + response = NewRevokeAccountPrivilegesResponse() + err = c.Send(request, response) + return +} + +// RevokeAccountPrivileges +// 批量回收账号权限 +// +// 可能返回的错误码: +// FAILEDOPERATION_DATABASEACCESSERROR = "FailedOperation.DatabaseAccessError" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" +// INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" +// INTERNALERROR_GETVPCFAILED = "InternalError.GetVpcFailed" +// INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" +// INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" +// INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" +// INTERNALERROR_QUERYDATABASEFAILED = "InternalError.QueryDatabaseFailed" +// INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" +// INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" +// INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" +// INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" +// INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" +// INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" +// INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" +// INVALIDPARAMETERVALUE_ILLEGALORDERBY = "InvalidParameterValue.IllegalOrderBy" +// INVALIDPARAMETERVALUE_ILLEGALPASSWORD = "InvalidParameterValue.IllegalPassword" +// INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" +// INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" +// INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" +// INVALIDPARAMETERVALUE_INVALIDSPEC = "InvalidParameterValue.InvalidSpec" +// INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" +// INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" +// INVALIDPARAMETERVALUE_STORAGEPOOLNOTFOUND = "InvalidParameterValue.StoragePoolNotFound" +// INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" +// INVALIDPARAMETERVALUE_VPCNOTFOUND = "InvalidParameterValue.VpcNotFound" +// LIMITEXCEEDED_USERINSTANCELIMIT = "LimitExceeded.UserInstanceLimit" +// OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" +// OPERATIONDENIED_SERVERLESSINSTANCESTATUSDENIED = "OperationDenied.ServerlessInstanceStatusDenied" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) RevokeAccountPrivilegesWithContext(ctx context.Context, request *RevokeAccountPrivilegesRequest) (response *RevokeAccountPrivilegesResponse, err error) { + if request == nil { + request = NewRevokeAccountPrivilegesRequest() + } + request.SetContext(ctx) + + response = NewRevokeAccountPrivilegesResponse() + err = c.Send(request, response) + return +} + +func NewRollBackClusterRequest() (request *RollBackClusterRequest) { + request = &RollBackClusterRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("cynosdb", APIVersion, "RollBackCluster") + + + return +} + +func NewRollBackClusterResponse() (response *RollBackClusterResponse) { + response = &RollBackClusterResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// RollBackCluster +// 本接口(RollBackCluster)用于回档集群 +// +// 可能返回的错误码: +// FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) RollBackCluster(request *RollBackClusterRequest) (response *RollBackClusterResponse, err error) { + if request == nil { + request = NewRollBackClusterRequest() + } + + response = NewRollBackClusterResponse() + err = c.Send(request, response) + return +} + +// RollBackCluster +// 本接口(RollBackCluster)用于回档集群 +// +// 可能返回的错误码: +// FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" +// FAILEDOPERATION_OPERATIONFAILEDERROR = "FailedOperation.OperationFailedError" +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND_CLUSTERNOTFOUNDERROR = "ResourceNotFound.ClusterNotFoundError" +// RESOURCEUNAVAILABLE_INSTANCELOCKFAIL = "ResourceUnavailable.InstanceLockFail" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) RollBackClusterWithContext(ctx context.Context, request *RollBackClusterRequest) (response *RollBackClusterResponse, err error) { + if request == nil { + request = NewRollBackClusterRequest() + } + request.SetContext(ctx) + + response = NewRollBackClusterResponse() + err = c.Send(request, response) + return +} + func NewSetRenewFlagRequest() (request *SetRenewFlagRequest) { request = &SetRenewFlagRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/cynosdb/v20190107/errors.go b/tencentcloud/cynosdb/v20190107/errors.go index 6c3a625cd7..37238fe304 100644 --- a/tencentcloud/cynosdb/v20190107/errors.go +++ b/tencentcloud/cynosdb/v20190107/errors.go @@ -32,6 +32,9 @@ const ( // 创建流程{{1}}失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_FLOWCREATEERROR = "FailedOperation.FlowCreateError" + // Flow不存在。 + FAILEDOPERATION_FLOWNOTFOUNDERROR = "FailedOperation.FlowNotFoundError" + // 获取备份策略失败,请稍后重试。如果持续不成功,请联系客服进行处理。 FAILEDOPERATION_GETBACKUPSTRATEGYERROR = "FailedOperation.GetBackupStrategyError" @@ -65,6 +68,9 @@ const ( // 安全组查询实例失败。 INTERNALERROR_LISTINSTANCEFAILED = "InternalError.ListInstanceFailed" + // 操作外网失败。 + INTERNALERROR_OPERATEWANFAIL = "InternalError.OperateWanFail" + // 操作不支持。 INTERNALERROR_OPERATIONNOTSUPPORT = "InternalError.OperationNotSupport" @@ -83,15 +89,30 @@ const ( // 当前实例不可隔离。 INVALIDPARAMETER_ISOLATENOTALLOWED = "InvalidParameter.IsolateNotAllowed" + // 参数取值错误。 + INVALIDPARAMETERVALUE = "InvalidParameterValue" + + // 账号已存在。 + INVALIDPARAMETERVALUE_ACCOUNTEXIST = "InvalidParameterValue.AccountExist" + + // 实例{{1}}不存在账号{{2}}。 + INVALIDPARAMETERVALUE_ACCOUNTNOTEXISTERROR = "InvalidParameterValue.AccountNotExistError" + // 未查询到集群。 INVALIDPARAMETERVALUE_CLUSTERNOTFOUND = "InvalidParameterValue.ClusterNotFound" // 不支持的实例类型。 INVALIDPARAMETERVALUE_DBTYPENOTFOUND = "InvalidParameterValue.DBTypeNotFound" + // 集群类型必须为serverless。 + INVALIDPARAMETERVALUE_DBMODENOTSERVERLESSERROR = "InvalidParameterValue.DbModeNotServerlessError" + // 未查询到订单id。 INVALIDPARAMETERVALUE_DEALNAMENOTFOUND = "InvalidParameterValue.DealNameNotFound" + // 任务流ID不存在。 + INVALIDPARAMETERVALUE_FLOWNOTFOUND = "InvalidParameterValue.FlowNotFound" + // 实例名称字符非法。 INVALIDPARAMETERVALUE_ILLEGALINSTANCENAME = "InvalidParameterValue.IllegalInstanceName" @@ -104,6 +125,9 @@ const ( // 实例不存在。 INVALIDPARAMETERVALUE_INSTANCENOTFOUND = "InvalidParameterValue.InstanceNotFound" + // 内置账号不允许操作。 + INVALIDPARAMETERVALUE_INTERNALACCOUNT = "InvalidParameterValue.InternalAccount" + // 实例版本非法。 INVALIDPARAMETERVALUE_INVALIDDBVERSION = "InvalidParameterValue.InvalidDBVersion" @@ -125,6 +149,9 @@ const ( // 参数错误。 INVALIDPARAMETERVALUE_PARAMERROR = "InvalidParameterValue.ParamError" + // 预付费类型不允许该操作。 + INVALIDPARAMETERVALUE_PREPAYPAYMODEERROR = "InvalidParameterValue.PrePayPayModeError" + // 所选地域和可用区不可用。 INVALIDPARAMETERVALUE_REGIONZONEUNAVAILABLE = "InvalidParameterValue.RegionZoneUnavailable" @@ -146,6 +173,9 @@ const ( // 集群{{1}}当前状态不允许该操作。 OPERATIONDENIED_CLUSTERSTATUSDENIEDERROR = "OperationDenied.ClusterStatusDeniedError" + // 实例{{1}}当前状态不允许该操作。 + OPERATIONDENIED_INSTANCESTATUSDENIEDERROR = "OperationDenied.InstanceStatusDeniedError" + // 账号余额不足。 OPERATIONDENIED_INSUFFICIENTBALANCEERROR = "OperationDenied.InsufficientBalanceError" diff --git a/tencentcloud/cynosdb/v20190107/models.go b/tencentcloud/cynosdb/v20190107/models.go index 0b098cc98f..dcfec503f6 100644 --- a/tencentcloud/cynosdb/v20190107/models.go +++ b/tencentcloud/cynosdb/v20190107/models.go @@ -38,6 +38,68 @@ type Account struct { Host *string `json:"Host,omitempty" name:"Host"` } +type AccountParam struct { + + // 参数名称,当前仅支持参数:max_user_connections + ParamName *string `json:"ParamName,omitempty" name:"ParamName"` + + // 参数值 + ParamValue *string `json:"ParamValue,omitempty" name:"ParamValue"` +} + +type ActivateInstanceRequest struct { + *tchttp.BaseRequest + + // 集群ID + ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` + + // 实例ID数组 + InstanceIdList []*string `json:"InstanceIdList,omitempty" name:"InstanceIdList"` +} + +func (r *ActivateInstanceRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ActivateInstanceRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ClusterId") + delete(f, "InstanceIdList") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ActivateInstanceRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ActivateInstanceResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 任务流id + FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ActivateInstanceResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ActivateInstanceResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type AddInstancesRequest struct { *tchttp.BaseRequest @@ -158,6 +220,60 @@ type Addr struct { Port *int64 `json:"Port,omitempty" name:"Port"` } +type AssociateSecurityGroupsRequest struct { + *tchttp.BaseRequest + + // 实例组ID数组 + InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` + + // 要修改的安全组ID列表,一个或者多个安全组Id组成的数组。 + SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` + + // 可用区 + Zone *string `json:"Zone,omitempty" name:"Zone"` +} + +func (r *AssociateSecurityGroupsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *AssociateSecurityGroupsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceIds") + delete(f, "SecurityGroupIds") + delete(f, "Zone") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AssociateSecurityGroupsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type AssociateSecurityGroupsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *AssociateSecurityGroupsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *AssociateSecurityGroupsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type BackupFileInfo struct { // 快照文件ID,用于回滚 @@ -224,6 +340,27 @@ type ClusterInstanceDetail struct { InstanceStorage *int64 `json:"InstanceStorage,omitempty" name:"InstanceStorage"` } +type ClusterParamModifyLog struct { + + // 参数名称 + ParamName *string `json:"ParamName,omitempty" name:"ParamName"` + + // 当前值 + CurrentValue *string `json:"CurrentValue,omitempty" name:"CurrentValue"` + + // 修改后的值 + UpdateValue *string `json:"UpdateValue,omitempty" name:"UpdateValue"` + + // 修改状态 + Status *string `json:"Status,omitempty" name:"Status"` + + // 创建时间 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 更新时间 + UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` +} + type CreateClustersRequest struct { *tchttp.BaseRequest @@ -936,6 +1073,90 @@ type CynosdbInstanceGrp struct { InstanceSet []*CynosdbInstance `json:"InstanceSet,omitempty" name:"InstanceSet"` } +type DatabasePrivileges struct { + + // 数据库 + Db *string `json:"Db,omitempty" name:"Db"` + + // 权限列表 + Privileges []*string `json:"Privileges,omitempty" name:"Privileges"` +} + +type DbTable struct { + + // 数据库名称 + Db *string `json:"Db,omitempty" name:"Db"` + + // 数据库表名称 + TableName *string `json:"TableName,omitempty" name:"TableName"` +} + +type DescribeAccountAllGrantPrivilegesRequest struct { + *tchttp.BaseRequest + + // 集群id + ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` + + // 账号信息 + Account *InputAccount `json:"Account,omitempty" name:"Account"` +} + +func (r *DescribeAccountAllGrantPrivilegesRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeAccountAllGrantPrivilegesRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ClusterId") + delete(f, "Account") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAccountAllGrantPrivilegesRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeAccountAllGrantPrivilegesResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 权限语句 + // 注意:此字段可能返回 null,表示取不到有效值。 + PrivilegeStatements []*string `json:"PrivilegeStatements,omitempty" name:"PrivilegeStatements"` + + // 全局权限 + // 注意:此字段可能返回 null,表示取不到有效值。 + GlobalPrivileges []*string `json:"GlobalPrivileges,omitempty" name:"GlobalPrivileges"` + + // 数据库权限 + // 注意:此字段可能返回 null,表示取不到有效值。 + DatabasePrivileges []*DatabasePrivileges `json:"DatabasePrivileges,omitempty" name:"DatabasePrivileges"` + + // 数据库表权限 + // 注意:此字段可能返回 null,表示取不到有效值。 + TablePrivileges []*TablePrivileges `json:"TablePrivileges,omitempty" name:"TablePrivileges"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeAccountAllGrantPrivilegesResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeAccountAllGrantPrivilegesResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type DescribeAccountsRequest struct { *tchttp.BaseRequest @@ -1223,6 +1444,67 @@ func (r *DescribeClusterInstanceGrpsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type DescribeClusterParamLogsRequest struct { + *tchttp.BaseRequest + + // 集群ID + ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` + + // 返回数量,默认为 20,最大值为 100 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` + + // 记录偏移量,默认值为0 + Offset *int64 `json:"Offset,omitempty" name:"Offset"` +} + +func (r *DescribeClusterParamLogsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeClusterParamLogsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ClusterId") + delete(f, "Limit") + delete(f, "Offset") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeClusterParamLogsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeClusterParamLogsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 记录总数 + TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 参数修改记录 + // 注意:此字段可能返回 null,表示取不到有效值。 + ClusterParamLogs []*ClusterParamModifyLog `json:"ClusterParamLogs,omitempty" name:"ClusterParamLogs"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeClusterParamLogsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeClusterParamLogsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type DescribeClustersRequest struct { *tchttp.BaseRequest @@ -1809,53 +2091,174 @@ func (r *DescribeRollbackTimeValidityResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type InstanceSpec struct { - - // 实例CPU,单位:核 - Cpu *uint64 `json:"Cpu,omitempty" name:"Cpu"` - - // 实例内存,单位:GB - Memory *uint64 `json:"Memory,omitempty" name:"Memory"` - - // 实例最大可用存储,单位:GB - MaxStorageSize *uint64 `json:"MaxStorageSize,omitempty" name:"MaxStorageSize"` - - // 实例最小可用存储,单位:GB - MinStorageSize *uint64 `json:"MinStorageSize,omitempty" name:"MinStorageSize"` -} - -type IsolateClusterRequest struct { +type DisassociateSecurityGroupsRequest struct { *tchttp.BaseRequest - // 集群ID - ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` + // 实例组ID数组 + InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` - // 数据库类型,取值范围: - //
  • MYSQL
  • - DbType *string `json:"DbType,omitempty" name:"DbType"` + // 要修改的安全组ID列表,一个或者多个安全组Id组成的数组。 + SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds"` + + // 可用区 + Zone *string `json:"Zone,omitempty" name:"Zone"` } -func (r *IsolateClusterRequest) ToJsonString() string { +func (r *DisassociateSecurityGroupsRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *IsolateClusterRequest) FromJsonString(s string) error { +func (r *DisassociateSecurityGroupsRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "ClusterId") - delete(f, "DbType") + delete(f, "InstanceIds") + delete(f, "SecurityGroupIds") + delete(f, "Zone") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "IsolateClusterRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DisassociateSecurityGroupsRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type IsolateClusterResponse struct { +type DisassociateSecurityGroupsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DisassociateSecurityGroupsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DisassociateSecurityGroupsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type GrantAccountPrivilegesRequest struct { + *tchttp.BaseRequest + + // 集群id + ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` + + // 账号信息 + Account *InputAccount `json:"Account,omitempty" name:"Account"` + + // 数据库表权限码数组 + DbTablePrivileges []*string `json:"DbTablePrivileges,omitempty" name:"DbTablePrivileges"` + + // 数据库表信息 + DbTables []*DbTable `json:"DbTables,omitempty" name:"DbTables"` +} + +func (r *GrantAccountPrivilegesRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GrantAccountPrivilegesRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ClusterId") + delete(f, "Account") + delete(f, "DbTablePrivileges") + delete(f, "DbTables") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GrantAccountPrivilegesRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type GrantAccountPrivilegesResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *GrantAccountPrivilegesResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *GrantAccountPrivilegesResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type InputAccount struct { + + // 账号 + AccountName *string `json:"AccountName,omitempty" name:"AccountName"` + + // 主机,默认‘%’ + Host *string `json:"Host,omitempty" name:"Host"` +} + +type InstanceSpec struct { + + // 实例CPU,单位:核 + Cpu *uint64 `json:"Cpu,omitempty" name:"Cpu"` + + // 实例内存,单位:GB + Memory *uint64 `json:"Memory,omitempty" name:"Memory"` + + // 实例最大可用存储,单位:GB + MaxStorageSize *uint64 `json:"MaxStorageSize,omitempty" name:"MaxStorageSize"` + + // 实例最小可用存储,单位:GB + MinStorageSize *uint64 `json:"MinStorageSize,omitempty" name:"MinStorageSize"` +} + +type IsolateClusterRequest struct { + *tchttp.BaseRequest + + // 集群ID + ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` + + // 数据库类型,取值范围: + //
  • MYSQL
  • + DbType *string `json:"DbType,omitempty" name:"DbType"` +} + +func (r *IsolateClusterRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *IsolateClusterRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ClusterId") + delete(f, "DbType") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "IsolateClusterRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type IsolateClusterResponse struct { *tchttp.BaseResponse Response *struct { @@ -1945,6 +2348,60 @@ func (r *IsolateInstanceResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type ModifyAccountParamsRequest struct { + *tchttp.BaseRequest + + // 集群id + ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` + + // 账号信息 + Account *InputAccount `json:"Account,omitempty" name:"Account"` + + // 数据库表权限数组,当前仅支持参数:max_user_connections + AccountParams []*AccountParam `json:"AccountParams,omitempty" name:"AccountParams"` +} + +func (r *ModifyAccountParamsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyAccountParamsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ClusterId") + delete(f, "Account") + delete(f, "AccountParams") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyAccountParamsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ModifyAccountParamsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ModifyAccountParamsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ModifyAccountParamsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type ModifyBackupConfigRequest struct { *tchttp.BaseRequest @@ -2019,6 +2476,9 @@ type ModifyClusterParamRequest struct { // 修改参数列表 ParamList []*ParamItem `json:"ParamList,omitempty" name:"ParamList"` + + // 维护期间执行-yes,立即执行-no + IsInMaintainPeriod *string `json:"IsInMaintainPeriod,omitempty" name:"IsInMaintainPeriod"` } func (r *ModifyClusterParamRequest) ToJsonString() string { @@ -2035,6 +2495,7 @@ func (r *ModifyClusterParamRequest) FromJsonString(s string) error { } delete(f, "ClusterId") delete(f, "ParamList") + delete(f, "IsInMaintainPeriod") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyClusterParamRequest has unknown keys!", "") } @@ -2336,6 +2797,59 @@ type ParamItem struct { OldValue *string `json:"OldValue,omitempty" name:"OldValue"` } +type PauseServerlessRequest struct { + *tchttp.BaseRequest + + // 集群id + ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` + + // 是否强制暂停,忽略当前的用户链接 0:不强制 1:强制, 默认为1 + ForcePause *int64 `json:"ForcePause,omitempty" name:"ForcePause"` +} + +func (r *PauseServerlessRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *PauseServerlessRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ClusterId") + delete(f, "ForcePause") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "PauseServerlessRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type PauseServerlessResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 异步流程Id + FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *PauseServerlessResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *PauseServerlessResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type PolicyRule struct { // 策略,ACCEPT或者DROP @@ -2378,6 +2892,213 @@ type QueryFilter struct { Name *string `json:"Name,omitempty" name:"Name"` } +type ResumeServerlessRequest struct { + *tchttp.BaseRequest + + // 集群id + ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` +} + +func (r *ResumeServerlessRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ResumeServerlessRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ClusterId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ResumeServerlessRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type ResumeServerlessResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 异步流程Id + FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *ResumeServerlessResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *ResumeServerlessResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type RevokeAccountPrivilegesRequest struct { + *tchttp.BaseRequest + + // 集群id + ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` + + // 账号信息 + Account *InputAccount `json:"Account,omitempty" name:"Account"` + + // 数据库表权限数组 + DbTablePrivileges []*string `json:"DbTablePrivileges,omitempty" name:"DbTablePrivileges"` + + // 数据库表信息 + DbTables []*DbTable `json:"DbTables,omitempty" name:"DbTables"` +} + +func (r *RevokeAccountPrivilegesRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *RevokeAccountPrivilegesRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ClusterId") + delete(f, "Account") + delete(f, "DbTablePrivileges") + delete(f, "DbTables") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RevokeAccountPrivilegesRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type RevokeAccountPrivilegesResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *RevokeAccountPrivilegesResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *RevokeAccountPrivilegesResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type RollBackClusterRequest struct { + *tchttp.BaseRequest + + // 集群ID + ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` + + // 回档策略 timeRollback-按时间点回档 snapRollback-按备份文件回档 + RollbackStrategy *string `json:"RollbackStrategy,omitempty" name:"RollbackStrategy"` + + // 回档ID + RollbackId *uint64 `json:"RollbackId,omitempty" name:"RollbackId"` + + // 期望回档时间 + ExpectTime *string `json:"ExpectTime,omitempty" name:"ExpectTime"` + + // 期望阈值 + ExpectTimeThresh *uint64 `json:"ExpectTimeThresh,omitempty" name:"ExpectTimeThresh"` + + // 回档数据库列表 + RollbackDatabases []*RollbackDatabase `json:"RollbackDatabases,omitempty" name:"RollbackDatabases"` + + // 回档数据库表 + RollbackTables []*RollbackTable `json:"RollbackTables,omitempty" name:"RollbackTables"` +} + +func (r *RollBackClusterRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *RollBackClusterRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ClusterId") + delete(f, "RollbackStrategy") + delete(f, "RollbackId") + delete(f, "ExpectTime") + delete(f, "ExpectTimeThresh") + delete(f, "RollbackDatabases") + delete(f, "RollbackTables") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RollBackClusterRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type RollBackClusterResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 任务流ID + FlowId *int64 `json:"FlowId,omitempty" name:"FlowId"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *RollBackClusterResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *RollBackClusterResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type RollbackDatabase struct { + + // 旧数据库 + OldDatabase *string `json:"OldDatabase,omitempty" name:"OldDatabase"` + + // 新数据库 + NewDatabase *string `json:"NewDatabase,omitempty" name:"NewDatabase"` +} + +type RollbackTable struct { + + // 数据库名称 + Database *string `json:"Database,omitempty" name:"Database"` + + // 数据库表 + Tables []*RollbackTableInfo `json:"Tables,omitempty" name:"Tables"` +} + +type RollbackTableInfo struct { + + // 旧表名称 + OldTable *string `json:"OldTable,omitempty" name:"OldTable"` + + // 新表名称 + NewTable *string `json:"NewTable,omitempty" name:"NewTable"` +} + type SecurityGroup struct { // 项目ID @@ -2455,6 +3176,18 @@ func (r *SetRenewFlagResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type TablePrivileges struct { + + // 数据库名 + Db *string `json:"Db,omitempty" name:"Db"` + + // 表名 + TableName *string `json:"TableName,omitempty" name:"TableName"` + + // 权限列表 + Privileges []*string `json:"Privileges,omitempty" name:"Privileges"` +} + type Tag struct { // 标签键 diff --git a/tencentcloud/dayu/go.mod b/tencentcloud/dayu/go.mod index 25e1bf2597..0015968d9a 100644 --- a/tencentcloud/dayu/go.mod +++ b/tencentcloud/dayu/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dayu go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/dbbrain/go.mod b/tencentcloud/dbbrain/go.mod index 2539d841dd..7868a2b2a2 100644 --- a/tencentcloud/dbbrain/go.mod +++ b/tencentcloud/dbbrain/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbbrain go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/dbbrain/v20210527/client.go b/tencentcloud/dbbrain/v20210527/client.go index b184d86851..4549447787 100644 --- a/tencentcloud/dbbrain/v20210527/client.go +++ b/tencentcloud/dbbrain/v20210527/client.go @@ -1490,6 +1490,90 @@ func (c *Client) DescribeMySqlProcessListWithContext(ctx context.Context, reques return } +func NewDescribeProxySessionKillTasksRequest() (request *DescribeProxySessionKillTasksRequest) { + request = &DescribeProxySessionKillTasksRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("dbbrain", APIVersion, "DescribeProxySessionKillTasks") + + + return +} + +func NewDescribeProxySessionKillTasksResponse() (response *DescribeProxySessionKillTasksResponse) { + response = &DescribeProxySessionKillTasksResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeProxySessionKillTasks +// 用于查询 redis 执行 kill 会话任务后代理节点的执行结果,入参异步任务 ID 从接口 CreateProxySessionKillTask 调用成功后取得。当前 product 只支持:redis。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeProxySessionKillTasks(request *DescribeProxySessionKillTasksRequest) (response *DescribeProxySessionKillTasksResponse, err error) { + if request == nil { + request = NewDescribeProxySessionKillTasksRequest() + } + + response = NewDescribeProxySessionKillTasksResponse() + err = c.Send(request, response) + return +} + +// DescribeProxySessionKillTasks +// 用于查询 redis 执行 kill 会话任务后代理节点的执行结果,入参异步任务 ID 从接口 CreateProxySessionKillTask 调用成功后取得。当前 product 只支持:redis。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// OPERATIONDENIED_USERHASNOSTRATEGY = "OperationDenied.UserHasNoStrategy" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeProxySessionKillTasksWithContext(ctx context.Context, request *DescribeProxySessionKillTasksRequest) (response *DescribeProxySessionKillTasksResponse, err error) { + if request == nil { + request = NewDescribeProxySessionKillTasksRequest() + } + request.SetContext(ctx) + + response = NewDescribeProxySessionKillTasksResponse() + err = c.Send(request, response) + return +} + func NewDescribeSecurityAuditLogDownloadUrlsRequest() (request *DescribeSecurityAuditLogDownloadUrlsRequest) { request = &DescribeSecurityAuditLogDownloadUrlsRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/dbbrain/v20210527/errors.go b/tencentcloud/dbbrain/v20210527/errors.go index b6229fadd6..7673f0bd46 100644 --- a/tencentcloud/dbbrain/v20210527/errors.go +++ b/tencentcloud/dbbrain/v20210527/errors.go @@ -20,6 +20,9 @@ const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" + // DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。 + DRYRUNOPERATION = "DryRunOperation" + // 操作失败。 FAILEDOPERATION = "FailedOperation" @@ -47,9 +50,21 @@ const ( // 请求的次数超过了频率限制。 REQUESTLIMITEXCEEDED = "RequestLimitExceeded" + // 资源被占用。 + RESOURCEINUSE = "ResourceInUse" + + // 资源不足。 + RESOURCEINSUFFICIENT = "ResourceInsufficient" + // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" + // 资源不可用。 + RESOURCEUNAVAILABLE = "ResourceUnavailable" + + // 资源售罄。 + RESOURCESSOLDOUT = "ResourcesSoldOut" + // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" diff --git a/tencentcloud/dbbrain/v20210527/models.go b/tencentcloud/dbbrain/v20210527/models.go index 12b0fe228c..581ce31f09 100644 --- a/tencentcloud/dbbrain/v20210527/models.go +++ b/tencentcloud/dbbrain/v20210527/models.go @@ -1384,6 +1384,66 @@ func (r *DescribeMySqlProcessListResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type DescribeProxySessionKillTasksRequest struct { + *tchttp.BaseRequest + + // 实例ID。 + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // kill 会话异步任务 ID, 接口 CreateProxySessionKillTask 调用成功后获取。 + AsyncRequestIds []*int64 `json:"AsyncRequestIds,omitempty" name:"AsyncRequestIds"` + + // 服务产品类型,支持值包括: "redis" - 云数据库 Redis。 + Product *string `json:"Product,omitempty" name:"Product"` +} + +func (r *DescribeProxySessionKillTasksRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeProxySessionKillTasksRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "AsyncRequestIds") + delete(f, "Product") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeProxySessionKillTasksRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeProxySessionKillTasksResponse struct { + *tchttp.BaseResponse + Response *struct { + + // kill 任务的详情。 + Tasks []*TaskInfo `json:"Tasks,omitempty" name:"Tasks"` + + // 任务总数。 + TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeProxySessionKillTasksResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeProxySessionKillTasksResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type DescribeSecurityAuditLogDownloadUrlsRequest struct { *tchttp.BaseRequest @@ -2811,6 +2871,42 @@ type TableSpaceTimeSeries struct { SeriesData *MonitorFloatMetricSeriesData `json:"SeriesData,omitempty" name:"SeriesData"` } +type TaskInfo struct { + + // 异步任务 ID。 + AsyncRequestId *int64 `json:"AsyncRequestId,omitempty" name:"AsyncRequestId"` + + // 当前实例所有 proxy 列表。 + InstProxyList []*string `json:"InstProxyList,omitempty" name:"InstProxyList"` + + // 当前实例所有 proxy 数量。 + InstProxyCount *int64 `json:"InstProxyCount,omitempty" name:"InstProxyCount"` + + // 任务创建时间。 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 任务启动时间。 + StartTime *string `json:"StartTime,omitempty" name:"StartTime"` + + // 任务的状态,支持的取值包括:"created" - 新建;"chosen" - 待执行; "running" - 执行中;"failed" - 失败;"finished" - 已完成。 + TaskStatus *string `json:"TaskStatus,omitempty" name:"TaskStatus"` + + // 完成 kill 任务的 proxyId。 + FinishedProxyList []*string `json:"FinishedProxyList,omitempty" name:"FinishedProxyList"` + + // kill 任务实行失败的 proxyId。 + FailedProxyList []*string `json:"FailedProxyList,omitempty" name:"FailedProxyList"` + + // 任务结束时间。 + EndTime *string `json:"EndTime,omitempty" name:"EndTime"` + + // 任务执行进度。 + Progress *int64 `json:"Progress,omitempty" name:"Progress"` + + // 实例 ID。 + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` +} + type TimeSlice struct { // 总数 diff --git a/tencentcloud/dc/go.mod b/tencentcloud/dc/go.mod index 9a4700ec95..1bd7360818 100644 --- a/tencentcloud/dc/go.mod +++ b/tencentcloud/dc/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dc go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/dcdb/go.mod b/tencentcloud/dcdb/go.mod index 81aec50598..ec664edda2 100644 --- a/tencentcloud/dcdb/go.mod +++ b/tencentcloud/dcdb/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dcdb go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/dcdb/v20180411/client.go b/tencentcloud/dcdb/v20180411/client.go index ec856defbc..041d2df7ed 100644 --- a/tencentcloud/dcdb/v20180411/client.go +++ b/tencentcloud/dcdb/v20180411/client.go @@ -1026,6 +1026,68 @@ func (c *Client) DescribeDBSecurityGroupsWithContext(ctx context.Context, reques return } +func NewDescribeDBSlowLogsRequest() (request *DescribeDBSlowLogsRequest) { + request = &DescribeDBSlowLogsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("dcdb", APIVersion, "DescribeDBSlowLogs") + + + return +} + +func NewDescribeDBSlowLogsResponse() (response *DescribeDBSlowLogsResponse) { + response = &DescribeDBSlowLogsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDBSlowLogs +// 本接口(DescribeDBSlowLogs)用于查询慢查询日志列表。 +// +// 可能返回的错误码: +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_GETINSTANCEINFOFAILED = "InternalError.GetInstanceInfoFailed" +// INTERNALERROR_GETSLOWLOGFAILED = "InternalError.GetSlowLogFailed" +// INTERNALERROR_INNERSYSTEMERROR = "InternalError.InnerSystemError" +// INVALIDPARAMETER_ILLEGALTIME = "InvalidParameter.IllegalTime" +// RESOURCEUNAVAILABLE_INSTANCEALREADYDELETED = "ResourceUnavailable.InstanceAlreadyDeleted" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) DescribeDBSlowLogs(request *DescribeDBSlowLogsRequest) (response *DescribeDBSlowLogsResponse, err error) { + if request == nil { + request = NewDescribeDBSlowLogsRequest() + } + + response = NewDescribeDBSlowLogsResponse() + err = c.Send(request, response) + return +} + +// DescribeDBSlowLogs +// 本接口(DescribeDBSlowLogs)用于查询慢查询日志列表。 +// +// 可能返回的错误码: +// INTERNALERROR_DBOPERATIONFAILED = "InternalError.DbOperationFailed" +// INTERNALERROR_GETINSTANCEINFOFAILED = "InternalError.GetInstanceInfoFailed" +// INTERNALERROR_GETSLOWLOGFAILED = "InternalError.GetSlowLogFailed" +// INTERNALERROR_INNERSYSTEMERROR = "InternalError.InnerSystemError" +// INVALIDPARAMETER_ILLEGALTIME = "InvalidParameter.IllegalTime" +// RESOURCEUNAVAILABLE_INSTANCEALREADYDELETED = "ResourceUnavailable.InstanceAlreadyDeleted" +// RESOURCEUNAVAILABLE_INSTANCESTATUSABNORMAL = "ResourceUnavailable.InstanceStatusAbnormal" +// UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied" +func (c *Client) DescribeDBSlowLogsWithContext(ctx context.Context, request *DescribeDBSlowLogsRequest) (response *DescribeDBSlowLogsResponse, err error) { + if request == nil { + request = NewDescribeDBSlowLogsRequest() + } + request.SetContext(ctx) + + response = NewDescribeDBSlowLogsResponse() + err = c.Send(request, response) + return +} + func NewDescribeDBSyncModeRequest() (request *DescribeDBSyncModeRequest) { request = &DescribeDBSyncModeRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/dcdb/v20180411/errors.go b/tencentcloud/dcdb/v20180411/errors.go index cc5bd00bab..d0cd1500a4 100644 --- a/tencentcloud/dcdb/v20180411/errors.go +++ b/tencentcloud/dcdb/v20180411/errors.go @@ -122,6 +122,9 @@ const ( // 拉圈安全组详情失败。 INTERNALERROR_GETSECURITYGROUPDETAILFAILED = "InternalError.GetSecurityGroupDetailFailed" + // 查询慢日志DB失败。 + INTERNALERROR_GETSLOWLOGFAILED = "InternalError.GetSlowLogFailed" + // 查询虚拟私有网络子网信息失败。 INTERNALERROR_GETSUBNETFAILED = "InternalError.GetSubnetFailed" @@ -206,6 +209,9 @@ const ( // 非法参数。 INVALIDPARAMETER_ILLEGALPARAMETERERROR = "InvalidParameter.IllegalParameterError" + // 错误的时间参数。 + INVALIDPARAMETER_ILLEGALTIME = "InvalidParameter.IllegalTime" + // 未找到请求的实例。 INVALIDPARAMETER_INSTANCENOTFOUND = "InvalidParameter.InstanceNotFound" diff --git a/tencentcloud/dcdb/v20180411/models.go b/tencentcloud/dcdb/v20180411/models.go index fc3e8f8f52..02e712b556 100644 --- a/tencentcloud/dcdb/v20180411/models.go +++ b/tencentcloud/dcdb/v20180411/models.go @@ -1485,6 +1485,103 @@ func (r *DescribeDBSecurityGroupsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type DescribeDBSlowLogsRequest struct { + *tchttp.BaseRequest + + // 实例 ID,形如:dcdbt-hw0qj6m1 + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // 从结果的第几条数据开始返回 + Offset *uint64 `json:"Offset,omitempty" name:"Offset"` + + // 返回的结果条数 + Limit *uint64 `json:"Limit,omitempty" name:"Limit"` + + // 查询的起始时间,形如2016-07-23 14:55:20 + StartTime *string `json:"StartTime,omitempty" name:"StartTime"` + + // 实例的分片ID,形如shard-53ima8ln + ShardId *string `json:"ShardId,omitempty" name:"ShardId"` + + // 查询的结束时间,形如2016-08-22 14:55:20。如果不填,那么查询结束时间就是当前时间 + EndTime *string `json:"EndTime,omitempty" name:"EndTime"` + + // 要查询的具体数据库名称 + Db *string `json:"Db,omitempty" name:"Db"` + + // 排序指标,取值为query_time_sum或者query_count。不填默认按照query_time_sum排序 + OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"` + + // 排序类型,desc(降序)或者asc(升序)。不填默认desc排序 + OrderByType *string `json:"OrderByType,omitempty" name:"OrderByType"` + + // 是否查询从机的慢查询,0-主机; 1-从机。不填默认查询主机慢查询 + Slave *int64 `json:"Slave,omitempty" name:"Slave"` +} + +func (r *DescribeDBSlowLogsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDBSlowLogsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + delete(f, "Offset") + delete(f, "Limit") + delete(f, "StartTime") + delete(f, "ShardId") + delete(f, "EndTime") + delete(f, "Db") + delete(f, "OrderBy") + delete(f, "OrderByType") + delete(f, "Slave") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDBSlowLogsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDBSlowLogsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 所有语句锁时间总和 + LockTimeSum *float64 `json:"LockTimeSum,omitempty" name:"LockTimeSum"` + + // 所有语句查询总次数 + QueryCount *int64 `json:"QueryCount,omitempty" name:"QueryCount"` + + // 总记录数 + Total *int64 `json:"Total,omitempty" name:"Total"` + + // 所有语句查询时间总和 + QueryTimeSum *float64 `json:"QueryTimeSum,omitempty" name:"QueryTimeSum"` + + // 慢查询日志数据 + Data []*SlowLogData `json:"Data,omitempty" name:"Data"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDBSlowLogsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDBSlowLogsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type DescribeDBSyncModeRequest struct { *tchttp.BaseRequest @@ -3855,6 +3952,68 @@ type ShardZoneChooseInfo struct { SlaveZones []*ZonesInfo `json:"SlaveZones,omitempty" name:"SlaveZones"` } +type SlowLogData struct { + + // 语句校验和,用于查询详情 + CheckSum *string `json:"CheckSum,omitempty" name:"CheckSum"` + + // 数据库名称 + Db *string `json:"Db,omitempty" name:"Db"` + + // 抽象的SQL语句 + FingerPrint *string `json:"FingerPrint,omitempty" name:"FingerPrint"` + + // 平均的锁时间 + LockTimeAvg *string `json:"LockTimeAvg,omitempty" name:"LockTimeAvg"` + + // 最大锁时间 + LockTimeMax *string `json:"LockTimeMax,omitempty" name:"LockTimeMax"` + + // 最小锁时间 + LockTimeMin *string `json:"LockTimeMin,omitempty" name:"LockTimeMin"` + + // 锁时间总和 + LockTimeSum *string `json:"LockTimeSum,omitempty" name:"LockTimeSum"` + + // 查询次数 + QueryCount *string `json:"QueryCount,omitempty" name:"QueryCount"` + + // 平均查询时间 + QueryTimeAvg *string `json:"QueryTimeAvg,omitempty" name:"QueryTimeAvg"` + + // 最大查询时间 + QueryTimeMax *string `json:"QueryTimeMax,omitempty" name:"QueryTimeMax"` + + // 最小查询时间 + QueryTimeMin *string `json:"QueryTimeMin,omitempty" name:"QueryTimeMin"` + + // 查询时间总和 + QueryTimeSum *string `json:"QueryTimeSum,omitempty" name:"QueryTimeSum"` + + // 扫描行数 + RowsExaminedSum *string `json:"RowsExaminedSum,omitempty" name:"RowsExaminedSum"` + + // 发送行数 + RowsSentSum *string `json:"RowsSentSum,omitempty" name:"RowsSentSum"` + + // 最后执行时间 + TsMax *string `json:"TsMax,omitempty" name:"TsMax"` + + // 首次执行时间 + TsMin *string `json:"TsMin,omitempty" name:"TsMin"` + + // 帐号 + User *string `json:"User,omitempty" name:"User"` + + // 样例Sql + // 注意:此字段可能返回 null,表示取不到有效值。 + ExampleSql *string `json:"ExampleSql,omitempty" name:"ExampleSql"` + + // 账户的域名 + // 注意:此字段可能返回 null,表示取不到有效值。 + Host *string `json:"Host,omitempty" name:"Host"` +} + type SpecConfig struct { // 规格机型 diff --git a/tencentcloud/dlc/go.mod b/tencentcloud/dlc/go.mod index 3a86effb64..256f12c31d 100644 --- a/tencentcloud/dlc/go.mod +++ b/tencentcloud/dlc/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dlc go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/dnspod/go.mod b/tencentcloud/dnspod/go.mod index 5c65199067..8a3a34ca41 100644 --- a/tencentcloud/dnspod/go.mod +++ b/tencentcloud/dnspod/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/dnspod/v20210323/client.go b/tencentcloud/dnspod/v20210323/client.go index 049b458467..b38b056938 100644 --- a/tencentcloud/dnspod/v20210323/client.go +++ b/tencentcloud/dnspod/v20210323/client.go @@ -2808,6 +2808,7 @@ func NewModifySubdomainStatusResponse() (response *ModifySubdomainStatusResponse // INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" // INVALIDPARAMETER_MOBILENOTVERIFIED = "InvalidParameter.MobileNotVerified" // INVALIDPARAMETER_RECORDIDINVALID = "InvalidParameter.RecordIdInvalid" +// INVALIDPARAMETER_RECORDTYPEINVALID = "InvalidParameter.RecordTypeInvalid" // INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" // INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" // INVALIDPARAMETER_STATUSCODEINVALID = "InvalidParameter.StatusCodeInvalid" @@ -2866,6 +2867,7 @@ func (c *Client) ModifySubdomainStatus(request *ModifySubdomainStatusRequest) (r // INVALIDPARAMETER_LOGINTOKENVALIDATEFAILED = "InvalidParameter.LoginTokenValidateFailed" // INVALIDPARAMETER_MOBILENOTVERIFIED = "InvalidParameter.MobileNotVerified" // INVALIDPARAMETER_RECORDIDINVALID = "InvalidParameter.RecordIdInvalid" +// INVALIDPARAMETER_RECORDTYPEINVALID = "InvalidParameter.RecordTypeInvalid" // INVALIDPARAMETER_RECORDVALUEINVALID = "InvalidParameter.RecordValueInvalid" // INVALIDPARAMETER_REQUESTIPLIMITED = "InvalidParameter.RequestIpLimited" // INVALIDPARAMETER_STATUSCODEINVALID = "InvalidParameter.StatusCodeInvalid" diff --git a/tencentcloud/domain/go.mod b/tencentcloud/domain/go.mod index 994a6b569b..92de05692d 100644 --- a/tencentcloud/domain/go.mod +++ b/tencentcloud/domain/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/domain go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/drm/go.mod b/tencentcloud/drm/go.mod index 3fbe827a04..501586273d 100644 --- a/tencentcloud/drm/go.mod +++ b/tencentcloud/drm/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/drm go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ds/go.mod b/tencentcloud/ds/go.mod index 065bbceba0..d1f06ef29c 100644 --- a/tencentcloud/ds/go.mod +++ b/tencentcloud/ds/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ds go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/dtf/go.mod b/tencentcloud/dtf/go.mod index 8accb040c5..94db64433b 100644 --- a/tencentcloud/dtf/go.mod +++ b/tencentcloud/dtf/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dtf go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/dts/go.mod b/tencentcloud/dts/go.mod index aba5060232..e2e0c7c538 100644 --- a/tencentcloud/dts/go.mod +++ b/tencentcloud/dts/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dts go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/eb/go.mod b/tencentcloud/eb/go.mod index 8caa0343bc..50ca4d2bfa 100644 --- a/tencentcloud/eb/go.mod +++ b/tencentcloud/eb/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eb go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/eb/v20210416/client.go b/tencentcloud/eb/v20210416/client.go index eeeb7372d2..756e61a63e 100644 --- a/tencentcloud/eb/v20210416/client.go +++ b/tencentcloud/eb/v20210416/client.go @@ -395,6 +395,7 @@ func NewCreateTargetResponse() (response *CreateTargetResponse) { // LIMITEXCEEDED_TARGET = "LimitExceeded.Target" // LIMITEXCEEDED_TRIGGER = "LimitExceeded.Trigger" // OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" +// OPERATIONDENIED_DEFAULTCLSRESOURCEUNSUPPORTED = "OperationDenied.DefaultCLSResourceUnsupported" // RESOURCENOTFOUND_EVENTBUS = "ResourceNotFound.EventBus" // RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function" // RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace" @@ -437,6 +438,7 @@ func (c *Client) CreateTarget(request *CreateTargetRequest) (response *CreateTar // LIMITEXCEEDED_TARGET = "LimitExceeded.Target" // LIMITEXCEEDED_TRIGGER = "LimitExceeded.Trigger" // OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" +// OPERATIONDENIED_DEFAULTCLSRESOURCEUNSUPPORTED = "OperationDenied.DefaultCLSResourceUnsupported" // RESOURCENOTFOUND_EVENTBUS = "ResourceNotFound.EventBus" // RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function" // RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace" @@ -497,6 +499,7 @@ func NewCreateTransformationResponse() (response *CreateTransformationResponse) // LIMITEXCEEDED_TARGET = "LimitExceeded.Target" // LIMITEXCEEDED_TRIGGER = "LimitExceeded.Trigger" // OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" +// OPERATIONDENIED_DEFAULTCLSRESOURCEUNSUPPORTED = "OperationDenied.DefaultCLSResourceUnsupported" // RESOURCENOTFOUND_EVENTBUS = "ResourceNotFound.EventBus" // RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function" // RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace" @@ -539,6 +542,7 @@ func (c *Client) CreateTransformation(request *CreateTransformationRequest) (res // LIMITEXCEEDED_TARGET = "LimitExceeded.Target" // LIMITEXCEEDED_TRIGGER = "LimitExceeded.Trigger" // OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" +// OPERATIONDENIED_DEFAULTCLSRESOURCEUNSUPPORTED = "OperationDenied.DefaultCLSResourceUnsupported" // RESOURCENOTFOUND_EVENTBUS = "ResourceNotFound.EventBus" // RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function" // RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace" diff --git a/tencentcloud/eb/v20210416/errors.go b/tencentcloud/eb/v20210416/errors.go index f0a2686c3a..72e8b46028 100644 --- a/tencentcloud/eb/v20210416/errors.go +++ b/tencentcloud/eb/v20210416/errors.go @@ -158,6 +158,9 @@ const ( // 投递目标创建失败,检测到当前账号不存在,请确认您的账号状态。 OPERATIONDENIED_ACCOUNTNOTEXISTS = "OperationDenied.AccountNotExists" + // 不允许在自定义事件集上创建基于EB默认日志集的CLS事件目标。 + OPERATIONDENIED_DEFAULTCLSRESOURCEUNSUPPORTED = "OperationDenied.DefaultCLSResourceUnsupported" + // 操作失败,该资源不可修改或删除。 OPERATIONDENIED_RESOURCEIMMUTABLE = "OperationDenied.ResourceImmutable" diff --git a/tencentcloud/ecc/go.mod b/tencentcloud/ecc/go.mod index b633984f31..57b9aae172 100644 --- a/tencentcloud/ecc/go.mod +++ b/tencentcloud/ecc/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecc go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ecdn/go.mod b/tencentcloud/ecdn/go.mod index 8bfe6b91fa..5a9ccedf9b 100644 --- a/tencentcloud/ecdn/go.mod +++ b/tencentcloud/ecdn/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecdn go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ecdn/v20191012/client.go b/tencentcloud/ecdn/v20191012/client.go index f055cc097f..c0cf9aca87 100644 --- a/tencentcloud/ecdn/v20191012/client.go +++ b/tencentcloud/ecdn/v20191012/client.go @@ -166,7 +166,11 @@ func NewCreateVerifyRecordResponse() (response *CreateVerifyRecordResponse) { } // CreateVerifyRecord -// 生成一条子域名解析,提示客户添加到域名解析上,用于泛域名及域名取回校验归属权 +// 生成一条子域名解析,提示客户添加到域名解析上,用于泛域名及域名取回校验归属权。 +// +// +// +// >? 若您的业务已迁移至 CDN 控制台,请参考 CDN 接口文档,使用 CDN 相关API 进行操作。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -189,7 +193,11 @@ func (c *Client) CreateVerifyRecord(request *CreateVerifyRecordRequest) (respons } // CreateVerifyRecord -// 生成一条子域名解析,提示客户添加到域名解析上,用于泛域名及域名取回校验归属权 +// 生成一条子域名解析,提示客户添加到域名解析上,用于泛域名及域名取回校验归属权。 +// +// +// +// >? 若您的业务已迁移至 CDN 控制台,请参考 CDN 接口文档,使用 CDN 相关API 进行操作。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -534,7 +542,11 @@ func NewDescribeEcdnDomainStatisticsResponse() (response *DescribeEcdnDomainStat } // DescribeEcdnDomainStatistics -// 本接口(DescribeEcdnDomainStatistics)用于查询指定时间段内的域名访问统计指标 +// 本接口(DescribeEcdnDomainStatistics)用于查询指定时间段内的域名访问统计指标。 +// +// +// +// >? 若您的业务已迁移至 CDN 控制台,请参考 CDN 接口文档,使用 CDN 相关API 进行操作。 // // 可能返回的错误码: // INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError" @@ -575,7 +587,11 @@ func (c *Client) DescribeEcdnDomainStatistics(request *DescribeEcdnDomainStatist } // DescribeEcdnDomainStatistics -// 本接口(DescribeEcdnDomainStatistics)用于查询指定时间段内的域名访问统计指标 +// 本接口(DescribeEcdnDomainStatistics)用于查询指定时间段内的域名访问统计指标。 +// +// +// +// >? 若您的业务已迁移至 CDN 控制台,请参考 CDN 接口文档,使用 CDN 相关API 进行操作。 // // 可能返回的错误码: // INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError" diff --git a/tencentcloud/ecm/go.mod b/tencentcloud/ecm/go.mod index 17b101e624..b23ac9c7b4 100644 --- a/tencentcloud/ecm/go.mod +++ b/tencentcloud/ecm/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecm go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/eiam/go.mod b/tencentcloud/eiam/go.mod index d08550a993..ace3df56d7 100644 --- a/tencentcloud/eiam/go.mod +++ b/tencentcloud/eiam/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eiam go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/eiam/v20210420/client.go b/tencentcloud/eiam/v20210420/client.go index 9fde365633..fe7613f543 100644 --- a/tencentcloud/eiam/v20210420/client.go +++ b/tencentcloud/eiam/v20210420/client.go @@ -69,7 +69,7 @@ func NewAddAccountToAccountGroupResponse() (response *AddAccountToAccountGroupRe // FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted" // FAILEDOPERATION_ACCOUNTIDSISNULL = "FailedOperation.AccountIdsIsNull" // FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -91,7 +91,7 @@ func (c *Client) AddAccountToAccountGroup(request *AddAccountToAccountGroupReque // FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted" // FAILEDOPERATION_ACCOUNTIDSISNULL = "FailedOperation.AccountIdsIsNull" // FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -186,7 +186,7 @@ func NewCreateAccountGroupResponse() (response *CreateAccountGroupResponse) { // // 可能返回的错误码: // FAILEDOPERATION_ACCOUNTGROUPNAMEEXISTED = "FailedOperation.AccountGroupNameExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) CreateAccountGroup(request *CreateAccountGroupRequest) (response *CreateAccountGroupResponse, err error) { @@ -204,7 +204,7 @@ func (c *Client) CreateAccountGroup(request *CreateAccountGroupRequest) (respons // // 可能返回的错误码: // FAILEDOPERATION_ACCOUNTGROUPNAMEEXISTED = "FailedOperation.AccountGroupNameExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) CreateAccountGroupWithContext(ctx context.Context, request *CreateAccountGroupRequest) (response *CreateAccountGroupResponse, err error) { @@ -241,7 +241,7 @@ func NewCreateAppAccountResponse() (response *CreateAppAccountResponse) { // 可能返回的错误码: // FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted" // FAILEDOPERATION_ACCOUNTNAMEEXISTED = "FailedOperation.AccountNameExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) CreateAppAccount(request *CreateAppAccountRequest) (response *CreateAppAccountResponse, err error) { @@ -260,7 +260,7 @@ func (c *Client) CreateAppAccount(request *CreateAppAccountRequest) (response *C // 可能返回的错误码: // FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted" // FAILEDOPERATION_ACCOUNTNAMEEXISTED = "FailedOperation.AccountNameExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) CreateAppAccountWithContext(ctx context.Context, request *CreateAppAccountRequest) (response *CreateAppAccountResponse, err error) { @@ -483,7 +483,7 @@ func NewDeleteAccountGroupResponse() (response *DeleteAccountGroupResponse) { // 可能返回的错误码: // FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted" // FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -503,7 +503,7 @@ func (c *Client) DeleteAccountGroup(request *DeleteAccountGroupRequest) (respons // 可能返回的错误码: // FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted" // FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -541,7 +541,7 @@ func NewDeleteAppAccountResponse() (response *DeleteAppAccountResponse) { // 可能返回的错误码: // FAILEDOPERATION_ACCOUNTIDSISNULL = "FailedOperation.AccountIdsIsNull" // FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -561,7 +561,7 @@ func (c *Client) DeleteAppAccount(request *DeleteAppAccountRequest) (response *D // 可能返回的错误码: // FAILEDOPERATION_ACCOUNTIDSISNULL = "FailedOperation.AccountIdsIsNull" // FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -823,7 +823,7 @@ func NewDescribeAccountGroupResponse() (response *DescribeAccountGroupResponse) // 查询账号组列表 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) DescribeAccountGroup(request *DescribeAccountGroupRequest) (response *DescribeAccountGroupResponse, err error) { @@ -840,7 +840,7 @@ func (c *Client) DescribeAccountGroup(request *DescribeAccountGroupRequest) (res // 查询账号组列表 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) DescribeAccountGroupWithContext(ctx context.Context, request *DescribeAccountGroupRequest) (response *DescribeAccountGroupResponse, err error) { @@ -875,7 +875,7 @@ func NewDescribeAppAccountResponse() (response *DescribeAppAccountResponse) { // 查询应用账号列表 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) DescribeAppAccount(request *DescribeAppAccountRequest) (response *DescribeAppAccountResponse, err error) { @@ -892,7 +892,7 @@ func (c *Client) DescribeAppAccount(request *DescribeAppAccountRequest) (respons // 查询应用账号列表 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) DescribeAppAccountWithContext(ctx context.Context, request *DescribeAppAccountRequest) (response *DescribeAppAccountResponse, err error) { @@ -927,7 +927,7 @@ func NewDescribeApplicationResponse() (response *DescribeApplicationResponse) { // 获取一个应用的信息。 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) DescribeApplication(request *DescribeApplicationRequest) (response *DescribeApplicationResponse, err error) { @@ -944,7 +944,7 @@ func (c *Client) DescribeApplication(request *DescribeApplicationRequest) (respo // 获取一个应用的信息。 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) DescribeApplicationWithContext(ctx context.Context, request *DescribeApplicationRequest) (response *DescribeApplicationResponse, err error) { @@ -1035,7 +1035,7 @@ func NewDescribeOrgResourcesAuthorizationResponse() (response *DescribeOrgResour // 查询指定机构下的资源授权列表 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -1053,7 +1053,7 @@ func (c *Client) DescribeOrgResourcesAuthorization(request *DescribeOrgResources // 查询指定机构下的资源授权列表 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // FAILEDOPERATION_ORGNODENOTEXIST = "FailedOperation.OrgNodeNotExist" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -1195,7 +1195,7 @@ func NewDescribeUserGroupResourcesAuthorizationResponse() (response *DescribeUse // 查询指定用户组下的资源授权列表 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -1213,7 +1213,7 @@ func (c *Client) DescribeUserGroupResourcesAuthorization(request *DescribeUserGr // 查询指定用户组下的资源授权列表 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_GROUPIDNOTFOUND = "FailedOperation.GroupIdNotFound" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -1305,7 +1305,7 @@ func NewDescribeUserResourcesAuthorizationResponse() (response *DescribeUserReso // 查询指定用户下的资源授权列表 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -1323,7 +1323,7 @@ func (c *Client) DescribeUserResourcesAuthorization(request *DescribeUserResourc // 查询指定用户下的资源授权列表 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // FAILEDOPERATION_PERSONNOTFOUND = "FailedOperation.PersonNotFound" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -1416,7 +1416,7 @@ func NewListAccountInAccountGroupResponse() (response *ListAccountInAccountGroup // // 可能返回的错误码: // FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) ListAccountInAccountGroup(request *ListAccountInAccountGroupRequest) (response *ListAccountInAccountGroupResponse, err error) { @@ -1434,7 +1434,7 @@ func (c *Client) ListAccountInAccountGroup(request *ListAccountInAccountGroupReq // // 可能返回的错误码: // FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) ListAccountInAccountGroupWithContext(ctx context.Context, request *ListAccountInAccountGroupRequest) (response *ListAccountInAccountGroupResponse, err error) { @@ -2024,7 +2024,7 @@ func NewModifyAccountGroupResponse() (response *ModifyAccountGroupResponse) { // FAILEDOPERATION_ACCOUNTGROUPNAMEEXISTED = "FailedOperation.AccountGroupNameExisted" // FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted" // FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) ModifyAccountGroup(request *ModifyAccountGroupRequest) (response *ModifyAccountGroupResponse, err error) { @@ -2044,7 +2044,7 @@ func (c *Client) ModifyAccountGroup(request *ModifyAccountGroupRequest) (respons // FAILEDOPERATION_ACCOUNTGROUPNAMEEXISTED = "FailedOperation.AccountGroupNameExisted" // FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted" // FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) ModifyAccountGroupWithContext(ctx context.Context, request *ModifyAccountGroupRequest) (response *ModifyAccountGroupResponse, err error) { @@ -2081,7 +2081,7 @@ func NewModifyAppAccountResponse() (response *ModifyAppAccountResponse) { // 可能返回的错误码: // FAILEDOPERATION_ACCOUNTNAMEEXISTED = "FailedOperation.AccountNameExisted" // FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) ModifyAppAccount(request *ModifyAppAccountRequest) (response *ModifyAppAccountResponse, err error) { @@ -2100,7 +2100,7 @@ func (c *Client) ModifyAppAccount(request *ModifyAppAccountRequest) (response *M // 可能返回的错误码: // FAILEDOPERATION_ACCOUNTNAMEEXISTED = "FailedOperation.AccountNameExisted" // FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" func (c *Client) ModifyAppAccountWithContext(ctx context.Context, request *ModifyAppAccountRequest) (response *ModifyAppAccountResponse, err error) { @@ -2135,7 +2135,7 @@ func NewModifyApplicationResponse() (response *ModifyApplicationResponse) { // 更新一个应用的信息 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_APPDISPLAYNAMEEXISTED = "InvalidParameter.AppDisplayNameExisted" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -2153,7 +2153,7 @@ func (c *Client) ModifyApplication(request *ModifyApplicationRequest) (response // 更新一个应用的信息 // // 可能返回的错误码: -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_APPDISPLAYNAMEEXISTED = "InvalidParameter.AppDisplayNameExisted" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -2284,7 +2284,7 @@ func NewRemoveAccountFromAccountGroupResponse() (response *RemoveAccountFromAcco // FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted" // FAILEDOPERATION_ACCOUNTIDSISNULL = "FailedOperation.AccountIdsIsNull" // FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" @@ -2305,7 +2305,7 @@ func (c *Client) RemoveAccountFromAccountGroup(request *RemoveAccountFromAccount // FAILEDOPERATION_ACCOUNTGROUPNOTEXISTED = "FailedOperation.AccountGroupNotExisted" // FAILEDOPERATION_ACCOUNTIDSISNULL = "FailedOperation.AccountIdsIsNull" // FAILEDOPERATION_ACCOUNTNOTEXISTED = "FailedOperation.AccountNotExisted" -// FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" +// FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // FAILEDOPERATION_ITEMSEXCEEDMAXNUMBER = "FailedOperation.ItemsExceedMaxNumber" // FAILEDOPERATION_OPERATIONFAILURE = "FailedOperation.OperationFailure" // INVALIDPARAMETER_PARAMETERILLEGAL = "InvalidParameter.ParameterIllegal" diff --git a/tencentcloud/eiam/v20210420/errors.go b/tencentcloud/eiam/v20210420/errors.go index e819a83c71..d385785ce5 100644 --- a/tencentcloud/eiam/v20210420/errors.go +++ b/tencentcloud/eiam/v20210420/errors.go @@ -45,7 +45,7 @@ const ( FAILEDOPERATION_APPIDNOTFOUND = "FailedOperation.AppIdNotFound" // 应用不存在。 - FAILEDOPERATION_APPNOTEXISTED = "FailedOperation.AppNotExisted" + FAILEDOPERATION_APPNOTEXIST = "FailedOperation.AppNotExist" // 同一组织下不能存在相同名称的子组织机构。 FAILEDOPERATION_CHILDORGNODENAMEEXISTS = "FailedOperation.ChildOrgNodeNameExists" diff --git a/tencentcloud/eis/go.mod b/tencentcloud/eis/go.mod index 42e24385e7..d7960e4de0 100644 --- a/tencentcloud/eis/go.mod +++ b/tencentcloud/eis/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eis go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/emr/go.mod b/tencentcloud/emr/go.mod index 46cba21a82..e0806cf6d0 100644 --- a/tencentcloud/emr/go.mod +++ b/tencentcloud/emr/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/emr go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/emr/v20190103/client.go b/tencentcloud/emr/v20190103/client.go index c91176b7a6..fba131b439 100644 --- a/tencentcloud/emr/v20190103/client.go +++ b/tencentcloud/emr/v20190103/client.go @@ -752,8 +752,10 @@ func NewInquiryPriceCreateInstanceResponse() (response *InquiryPriceCreateInstan // INVALIDPARAMETER_HALESSMASTERCOUNT = "InvalidParameter.HALessMasterCount" // INVALIDPARAMETER_INCORRECTCOMMONCOUNT = "InvalidParameter.IncorrectCommonCount" // INVALIDPARAMETER_INCORRECTMASTERCOUNT = "InvalidParameter.IncorrectMasterCount" +// INVALIDPARAMETER_INVALIDCOMMONDISKTYPE = "InvalidParameter.InvalidCommonDiskType" // INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" // INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" +// INVALIDPARAMETER_INVALIDMASTERDISKTYPE = "InvalidParameter.InvalidMasterDiskType" // INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" // INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName" // INVALIDPARAMETER_INVALIDUNIFYMETA = "InvalidParameter.InvalidUnifyMeta" @@ -804,8 +806,10 @@ func (c *Client) InquiryPriceCreateInstance(request *InquiryPriceCreateInstanceR // INVALIDPARAMETER_HALESSMASTERCOUNT = "InvalidParameter.HALessMasterCount" // INVALIDPARAMETER_INCORRECTCOMMONCOUNT = "InvalidParameter.IncorrectCommonCount" // INVALIDPARAMETER_INCORRECTMASTERCOUNT = "InvalidParameter.IncorrectMasterCount" +// INVALIDPARAMETER_INVALIDCOMMONDISKTYPE = "InvalidParameter.InvalidCommonDiskType" // INVALIDPARAMETER_INVALIDCORECOUNT = "InvalidParameter.InvalidCoreCount" // INVALIDPARAMETER_INVALIDINSTANCETYPE = "InvalidParameter.InvalidInstanceType" +// INVALIDPARAMETER_INVALIDMASTERDISKTYPE = "InvalidParameter.InvalidMasterDiskType" // INVALIDPARAMETER_INVALIDRESOURCESPEC = "InvalidParameter.InvalidResourceSpec" // INVALIDPARAMETER_INVALIDSOFTWARENAME = "InvalidParameter.InvalidSoftWareName" // INVALIDPARAMETER_INVALIDUNIFYMETA = "InvalidParameter.InvalidUnifyMeta" diff --git a/tencentcloud/emr/v20190103/errors.go b/tencentcloud/emr/v20190103/errors.go index d26b6f4da6..7aa31060e4 100644 --- a/tencentcloud/emr/v20190103/errors.go +++ b/tencentcloud/emr/v20190103/errors.go @@ -119,6 +119,9 @@ const ( // 无效参数,ClusterId。 INVALIDPARAMETER_INVALIDCLUSTERID = "InvalidParameter.InvalidClusterId" + // 参数错误。 + INVALIDPARAMETER_INVALIDCOMMONDISKTYPE = "InvalidParameter.InvalidCommonDiskType" + // 无效的组件。 INVALIDPARAMETER_INVALIDCOMPONENT = "InvalidParameter.InvalidComponent" @@ -167,6 +170,9 @@ const ( // 无效的登录设置。 INVALIDPARAMETER_INVALIDLOGINSETTING = "InvalidParameter.InvalidLoginSetting" + // 参数错误。 + INVALIDPARAMETER_INVALIDMASTERDISKTYPE = "InvalidParameter.InvalidMasterDiskType" + // 无效的元数据表类型。 INVALIDPARAMETER_INVALIDMETATYPE = "InvalidParameter.InvalidMetaType" diff --git a/tencentcloud/es/go.mod b/tencentcloud/es/go.mod index 03cd08d2d1..e1f0578888 100644 --- a/tencentcloud/es/go.mod +++ b/tencentcloud/es/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/es go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/es/v20180416/models.go b/tencentcloud/es/v20180416/models.go index 5c05c7e955..3adf4f96c3 100644 --- a/tencentcloud/es/v20180416/models.go +++ b/tencentcloud/es/v20180416/models.go @@ -1031,6 +1031,14 @@ type InstanceInfo struct { // 集群健康状态 -1 未知;0 Green; 1 Yellow; 2 Red // 注意:此字段可能返回 null,表示取不到有效值。 HealthStatus *int64 `json:"HealthStatus,omitempty" name:"HealthStatus"` + + // https集群内网url + // 注意:此字段可能返回 null,表示取不到有效值。 + EsPrivateUrl *string `json:"EsPrivateUrl,omitempty" name:"EsPrivateUrl"` + + // https集群内网域名 + // 注意:此字段可能返回 null,表示取不到有效值。 + EsPrivateDomain *string `json:"EsPrivateDomain,omitempty" name:"EsPrivateDomain"` } type InstanceLog struct { diff --git a/tencentcloud/essbasic/go.mod b/tencentcloud/essbasic/go.mod index 4d8abda30c..28a6d53c54 100644 --- a/tencentcloud/essbasic/go.mod +++ b/tencentcloud/essbasic/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/essbasic go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/essbasic/v20210526/client.go b/tencentcloud/essbasic/v20210526/client.go index 9fe565ee6d..8aedce1bb4 100644 --- a/tencentcloud/essbasic/v20210526/client.go +++ b/tencentcloud/essbasic/v20210526/client.go @@ -779,6 +779,7 @@ func NewPrepareFlowsResponse() (response *PrepareFlowsResponse) { // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // RESOURCENOTFOUND_APPLICATION = "ResourceNotFound.Application" +// RESOURCENOTFOUND_ORGANIZATION = "ResourceNotFound.Organization" // RESOURCENOTFOUND_TEMPLATE = "ResourceNotFound.Template" func (c *Client) PrepareFlows(request *PrepareFlowsRequest) (response *PrepareFlowsResponse, err error) { if request == nil { @@ -806,6 +807,7 @@ func (c *Client) PrepareFlows(request *PrepareFlowsRequest) (response *PrepareFl // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" // RESOURCENOTFOUND_APPLICATION = "ResourceNotFound.Application" +// RESOURCENOTFOUND_ORGANIZATION = "ResourceNotFound.Organization" // RESOURCENOTFOUND_TEMPLATE = "ResourceNotFound.Template" func (c *Client) PrepareFlowsWithContext(ctx context.Context, request *PrepareFlowsRequest) (response *PrepareFlowsResponse, err error) { if request == nil { diff --git a/tencentcloud/essbasic/v20210526/errors.go b/tencentcloud/essbasic/v20210526/errors.go index fe77c27828..c848e7ea42 100644 --- a/tencentcloud/essbasic/v20210526/errors.go +++ b/tencentcloud/essbasic/v20210526/errors.go @@ -101,6 +101,9 @@ const ( // 应用号不存在。 RESOURCENOTFOUND_APPLICATION = "ResourceNotFound.Application" + // 机构不存在。 + RESOURCENOTFOUND_ORGANIZATION = "ResourceNotFound.Organization" + // 模板不存在。 RESOURCENOTFOUND_TEMPLATE = "ResourceNotFound.Template" diff --git a/tencentcloud/essbasic/v20210526/models.go b/tencentcloud/essbasic/v20210526/models.go index 12674c4324..e1d8ab6fcb 100644 --- a/tencentcloud/essbasic/v20210526/models.go +++ b/tencentcloud/essbasic/v20210526/models.go @@ -690,10 +690,10 @@ type FlowApproverInfo struct { // 流程签署人在模板中对应的签署人Id;在非单方签署、以及非B2C签署的场景下必传,用于指定当前签署方在流程中的位置; RecipientId *string `json:"RecipientId,omitempty" name:"RecipientId"` - // 同一渠道下其他合作企业OpenId,签署人为非发起方企业员工场景下必传; + // 企业签署方工商营业执照上的企业名称,签署方为非发起方企业场景下必传; OrganizationName *string `json:"OrganizationName,omitempty" name:"OrganizationName"` - // 同一渠道下其他合作企业OpenId,签署人为非发起方企业员工场景下必传; + // 企业签署方在同一渠道下的其他合作企业OpenId,签署方为非发起方企业场景下必传; OrganizationOpenId *string `json:"OrganizationOpenId,omitempty" name:"OrganizationOpenId"` } diff --git a/tencentcloud/facefusion/go.mod b/tencentcloud/facefusion/go.mod index 482ef77f7a..3ae45514fa 100644 --- a/tencentcloud/facefusion/go.mod +++ b/tencentcloud/facefusion/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/facefusion go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/faceid/go.mod b/tencentcloud/faceid/go.mod index 9f3ccb2bfa..bcb387d3ec 100644 --- a/tencentcloud/faceid/go.mod +++ b/tencentcloud/faceid/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/faceid go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/fmu/go.mod b/tencentcloud/fmu/go.mod index 3b48cd4a26..7ca0150d76 100644 --- a/tencentcloud/fmu/go.mod +++ b/tencentcloud/fmu/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/fmu go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ft/go.mod b/tencentcloud/ft/go.mod index a877bcdfc9..2eb3b6fae9 100644 --- a/tencentcloud/ft/go.mod +++ b/tencentcloud/ft/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ft go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/gaap/go.mod b/tencentcloud/gaap/go.mod index 03f0caef15..506366a45c 100644 --- a/tencentcloud/gaap/go.mod +++ b/tencentcloud/gaap/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gaap go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/gaap/v20180529/client.go b/tencentcloud/gaap/v20180529/client.go index c5ca1c9123..50db8f0b1d 100644 --- a/tencentcloud/gaap/v20180529/client.go +++ b/tencentcloud/gaap/v20180529/client.go @@ -146,6 +146,7 @@ func NewBindListenerRealServersResponse() (response *BindListenerRealServersResp // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist" // INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong" // MISSINGPARAMETER = "MissingParameter" // RESOURCENOTFOUND = "ResourceNotFound" @@ -176,6 +177,7 @@ func (c *Client) BindListenerRealServers(request *BindListenerRealServersRequest // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist" // INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong" // MISSINGPARAMETER = "MissingParameter" // RESOURCENOTFOUND = "ResourceNotFound" @@ -224,6 +226,7 @@ func NewBindRuleRealServersResponse() (response *BindRuleRealServersResponse) { // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist" // INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong" // MISSINGPARAMETER = "MissingParameter" // RESOURCENOTFOUND = "ResourceNotFound" @@ -254,6 +257,7 @@ func (c *Client) BindRuleRealServers(request *BindRuleRealServersRequest) (respo // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist" // INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong" // MISSINGPARAMETER = "MissingParameter" // RESOURCENOTFOUND = "ResourceNotFound" @@ -717,6 +721,7 @@ func NewCreateDomainResponse() (response *CreateDomainResponse) { // INVALIDPARAMETERVALUE = "InvalidParameterValue" // INVALIDPARAMETERVALUE_DOMAININICPBLACKLIST = "InvalidParameterValue.DomainInIcpBlacklist" // INVALIDPARAMETERVALUE_DOMAINNOTREGISTER = "InvalidParameterValue.DomainNotRegister" +// INVALIDPARAMETERVALUE_L7DOMAINHITBANBLACKLIST = "InvalidParameterValue.L7DomainHitBanBlacklist" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" func (c *Client) CreateDomain(request *CreateDomainRequest) (response *CreateDomainResponse, err error) { @@ -747,6 +752,7 @@ func (c *Client) CreateDomain(request *CreateDomainRequest) (response *CreateDom // INVALIDPARAMETERVALUE = "InvalidParameterValue" // INVALIDPARAMETERVALUE_DOMAININICPBLACKLIST = "InvalidParameterValue.DomainInIcpBlacklist" // INVALIDPARAMETERVALUE_DOMAINNOTREGISTER = "InvalidParameterValue.DomainNotRegister" +// INVALIDPARAMETERVALUE_L7DOMAINHITBANBLACKLIST = "InvalidParameterValue.L7DomainHitBanBlacklist" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" func (c *Client) CreateDomainWithContext(ctx context.Context, request *CreateDomainRequest) (response *CreateDomainResponse, err error) { diff --git a/tencentcloud/gaap/v20180529/errors.go b/tencentcloud/gaap/v20180529/errors.go index 09bfe2b604..27dcf2c9b1 100644 --- a/tencentcloud/gaap/v20180529/errors.go +++ b/tencentcloud/gaap/v20180529/errors.go @@ -158,6 +158,9 @@ const ( // 无法同时开启所设置的特性。 INVALIDPARAMETERVALUE_FEATURECONFLICT = "InvalidParameterValue.FeatureConflict" + // 资源已被录入封禁黑名单。 + INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist" + // header黑名单限制。 INVALIDPARAMETERVALUE_HITBLACKLIST = "InvalidParameterValue.HitBlacklist" @@ -182,6 +185,9 @@ const ( // 未找到或无权限访问该标签 INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags" + // 该域名被封禁,无法添加。 + INVALIDPARAMETERVALUE_L7DOMAINHITBANBLACKLIST = "InvalidParameterValue.L7DomainHitBanBlacklist" + // 项目不属于该用户。 INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong" diff --git a/tencentcloud/gaap/v20180529/models.go b/tencentcloud/gaap/v20180529/models.go index c0af419c34..39e94b5a68 100644 --- a/tencentcloud/gaap/v20180529/models.go +++ b/tencentcloud/gaap/v20180529/models.go @@ -1335,8 +1335,14 @@ type CreateRuleRequest struct { // 不传递该字段时表示使用对应监听器的ForwardProtocol。 ForwardProtocol *string `json:"ForwardProtocol,omitempty" name:"ForwardProtocol"` - // 加速通道转发到远照的host,不设置该参数时,使用默认的host设置,即客户端发起的http请求的host。 + // 回源Host。加速通道转发到远照的host,不设置该参数时,使用默认的host设置,即客户端发起的http请求的host。 ForwardHost *string `json:"ForwardHost,omitempty" name:"ForwardHost"` + + // 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。 + ServerNameIndicationSwitch *string `json:"ServerNameIndicationSwitch,omitempty" name:"ServerNameIndicationSwitch"` + + // 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。 + ServerNameIndication *string `json:"ServerNameIndication,omitempty" name:"ServerNameIndication"` } func (r *CreateRuleRequest) ToJsonString() string { @@ -1360,6 +1366,8 @@ func (r *CreateRuleRequest) FromJsonString(s string) error { delete(f, "CheckParams") delete(f, "ForwardProtocol") delete(f, "ForwardHost") + delete(f, "ServerNameIndicationSwitch") + delete(f, "ServerNameIndication") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateRuleRequest has unknown keys!", "") } @@ -3337,7 +3345,7 @@ type DescribeProxyGroupListRequest struct { // 过滤条件。 // 每次请求的Filter.Values的上限为5。 // RealServerRegion - String - 是否必填:否 -(过滤条件)按照源站地域过滤,可参考DescribeDestRegions接口返回结果中的RegionId。 - // PackageType - String - 是否必填:否 - (过滤条件)通道组类型,Thunder表示标准通道组,Accelerator表示游戏加速器通道。 + // PackageType - String - 是否必填:否 - (过滤条件)通道组类型,Thunder表示标准通道组,Accelerator表示银牌加速通道组。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 标签列表,当存在该字段时,拉取对应标签下的资源列表。 @@ -5487,9 +5495,15 @@ type ModifyRuleAttributeRequest struct { // 当ForwardProtocol=default时,表示使用对应监听器的ForwardProtocol。 ForwardProtocol *string `json:"ForwardProtocol,omitempty" name:"ForwardProtocol"` - // 加速通道转发到源站的请求中携带的host。 + // 回源Host。加速通道转发到源站的请求中携带的host。 // 当ForwardHost=default时,使用规则的域名,其他情况为该字段所设置的值。 ForwardHost *string `json:"ForwardHost,omitempty" name:"ForwardHost"` + + // 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。 + ServerNameIndicationSwitch *string `json:"ServerNameIndicationSwitch,omitempty" name:"ServerNameIndicationSwitch"` + + // 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。 + ServerNameIndication *string `json:"ServerNameIndication,omitempty" name:"ServerNameIndication"` } func (r *ModifyRuleAttributeRequest) ToJsonString() string { @@ -5512,6 +5526,8 @@ func (r *ModifyRuleAttributeRequest) FromJsonString(s string) error { delete(f, "Path") delete(f, "ForwardProtocol") delete(f, "ForwardHost") + delete(f, "ServerNameIndicationSwitch") + delete(f, "ServerNameIndication") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyRuleAttributeRequest has unknown keys!", "") } @@ -6007,7 +6023,7 @@ type ProxyGroupDetail struct { // 注意:此字段可能返回 null,表示取不到有效值。 IPAddressVersion *string `json:"IPAddressVersion,omitempty" name:"IPAddressVersion"` - // 通道组套餐类型:Thunder表示标准通道组,Accelerator表示游戏加速器通道组,CrossBorder表示跨境通道组。 + // 通道组套餐类型:Thunder表示标准通道组,Accelerator表示银牌加速通道组,CrossBorder表示跨境通道组。 // 注意:此字段可能返回 null,表示取不到有效值。 PackageType *string `json:"PackageType,omitempty" name:"PackageType"` @@ -6187,7 +6203,7 @@ type ProxyInfo struct { // 注意:此字段可能返回 null,表示取不到有效值。 NetworkType *string `json:"NetworkType,omitempty" name:"NetworkType"` - // 通道套餐类型:Thunder表示标准通道,Accelerator表示游戏加速器通道, + // 通道套餐类型:Thunder表示标准通道,Accelerator表示银牌加速通道, // CrossBorder表示跨境通道。 // 注意:此字段可能返回 null,表示取不到有效值。 PackageType *string `json:"PackageType,omitempty" name:"PackageType"` @@ -6205,6 +6221,10 @@ type ProxyInfo struct { // 1表示启用。 // 注意:此字段可能返回 null,表示取不到有效值。 Http3Supported *int64 `json:"Http3Supported,omitempty" name:"Http3Supported"` + + // 是否在封禁黑名单中,其中:0表示不在黑名单中,1表示在黑名单中。 + // 注意:此字段可能返回 null,表示取不到有效值。 + InBanBlacklist *int64 `json:"InBanBlacklist,omitempty" name:"InBanBlacklist"` } type ProxySimpleInfo struct { @@ -6251,6 +6271,9 @@ type RealServer struct { // 项目ID ProjectId *uint64 `json:"ProjectId,omitempty" name:"ProjectId"` + + // 是否在封禁黑名单中,其中:0表示不在黑名单中,1表示在黑名单中。 + InBanBlacklist *int64 `json:"InBanBlacklist,omitempty" name:"InBanBlacklist"` } type RealServerBindSetReq struct { @@ -6439,6 +6462,16 @@ type RuleInfo struct { // 通道转发到源站的请求所携带的host,其中default表示直接转发接收到的host。 // 注意:此字段可能返回 null,表示取不到有效值。 ForwardHost *string `json:"ForwardHost,omitempty" name:"ForwardHost"` + + // 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。 + // 注意:此字段可能返回 null,表示取不到有效值。 + // 注意:此字段可能返回 null,表示取不到有效值。 + ServerNameIndicationSwitch *string `json:"ServerNameIndicationSwitch,omitempty" name:"ServerNameIndicationSwitch"` + + // 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。 + // 注意:此字段可能返回 null,表示取不到有效值。 + // 注意:此字段可能返回 null,表示取不到有效值。 + ServerNameIndication *string `json:"ServerNameIndication,omitempty" name:"ServerNameIndication"` } type SecurityPolicyRuleIn struct { @@ -6526,7 +6559,7 @@ type SetAuthenticationRequest struct { // 源站CA证书ID,从证书管理页获取。源站认证时,填写该参数或RealServerCertificateId参数 RealServerCertificateId *string `json:"RealServerCertificateId,omitempty" name:"RealServerCertificateId"` - // 源站证书域名。 + // 该字段已废弃,请使用创建规则和修改规则中的SNI功能。 RealServerCertificateDomain *string `json:"RealServerCertificateDomain,omitempty" name:"RealServerCertificateDomain"` // 多源站CA证书ID,从证书管理页获取。源站认证时,填写该参数或RealServerCertificateId参数 diff --git a/tencentcloud/gme/go.mod b/tencentcloud/gme/go.mod index 9fa340d2d2..1f0fb118e6 100644 --- a/tencentcloud/gme/go.mod +++ b/tencentcloud/gme/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gme go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/gpm/go.mod b/tencentcloud/gpm/go.mod index 28f59d974c..78e1c2537b 100644 --- a/tencentcloud/gpm/go.mod +++ b/tencentcloud/gpm/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gpm go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/gs/go.mod b/tencentcloud/gs/go.mod index 3a328f8e4d..a84de88450 100644 --- a/tencentcloud/gs/go.mod +++ b/tencentcloud/gs/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gs go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/gs/v20191118/client.go b/tencentcloud/gs/v20191118/client.go index ac0ee1e963..8e106907bb 100644 --- a/tencentcloud/gs/v20191118/client.go +++ b/tencentcloud/gs/v20191118/client.go @@ -308,6 +308,7 @@ func NewStopGameResponse() (response *StopGameResponse) { // FAILEDOPERATION_PROCESSTIMEOUT = "FailedOperation.ProcessTimeout" // INTERNALERROR = "InternalError" // INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" +// RESOURCEUNAVAILABLE_ACCESSFAILED = "ResourceUnavailable.AccessFailed" func (c *Client) StopGame(request *StopGameRequest) (response *StopGameResponse, err error) { if request == nil { request = NewStopGameRequest() @@ -325,6 +326,7 @@ func (c *Client) StopGame(request *StopGameRequest) (response *StopGameResponse, // FAILEDOPERATION_PROCESSTIMEOUT = "FailedOperation.ProcessTimeout" // INTERNALERROR = "InternalError" // INVALIDPARAMETER_JSONPARSEERROR = "InvalidParameter.JsonParseError" +// RESOURCEUNAVAILABLE_ACCESSFAILED = "ResourceUnavailable.AccessFailed" func (c *Client) StopGameWithContext(ctx context.Context, request *StopGameRequest) (response *StopGameResponse, err error) { if request == nil { request = NewStopGameRequest() diff --git a/tencentcloud/gs/v20191118/errors.go b/tencentcloud/gs/v20191118/errors.go index 7554e786ca..ee384e0005 100644 --- a/tencentcloud/gs/v20191118/errors.go +++ b/tencentcloud/gs/v20191118/errors.go @@ -26,7 +26,7 @@ const ( // 请降低访问频率。 FAILEDOPERATION_SLOWDOWN = "FailedOperation.SlowDown" - // 锁定机器超时或未调用TrylockWorker。 + // 操作超时。 FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout" // 请求太频繁。 @@ -53,6 +53,9 @@ const ( // 会话未找到。 RESOURCENOTFOUND_SESSIONNOTFOUND = "ResourceNotFound.SessionNotFound" + // 访问并发实例失败。 + RESOURCEUNAVAILABLE_ACCESSFAILED = "ResourceUnavailable.AccessFailed" + // 机器还在初始化中。 RESOURCEUNAVAILABLE_INITIALIZATION = "ResourceUnavailable.Initialization" diff --git a/tencentcloud/gse/go.mod b/tencentcloud/gse/go.mod index 2cc04590a0..fc5e7a4214 100644 --- a/tencentcloud/gse/go.mod +++ b/tencentcloud/gse/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gse go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/habo/go.mod b/tencentcloud/habo/go.mod index 7278a0e8ca..80b6509a17 100644 --- a/tencentcloud/habo/go.mod +++ b/tencentcloud/habo/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/habo go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/hcm/go.mod b/tencentcloud/hcm/go.mod index 99caf39929..1e15178801 100644 --- a/tencentcloud/hcm/go.mod +++ b/tencentcloud/hcm/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hcm go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/hcm/v20181106/client.go b/tencentcloud/hcm/v20181106/client.go index c77edab95b..364b6a4248 100644 --- a/tencentcloud/hcm/v20181106/client.go +++ b/tencentcloud/hcm/v20181106/client.go @@ -66,6 +66,7 @@ func NewEvaluationResponse() (response *EvaluationResponse) { // // 可能返回的错误码: // FAILEDOPERATION_CHARGECOUNTERROR = "FailedOperation.ChargeCountError" +// INTERNALERROR_ENGINEREQUESTFAILED = "InternalError.EngineRequestFailed" // INTERNALERROR_ENGINERESULTERROR = "InternalError.EngineResultError" // INTERNALERROR_INITIALPARAMETERERROR = "InternalError.InitialParameterError" // INTERNALERROR_SERVERINTERNALERROR = "InternalError.ServerInternalError" @@ -94,6 +95,7 @@ func (c *Client) Evaluation(request *EvaluationRequest) (response *EvaluationRes // // 可能返回的错误码: // FAILEDOPERATION_CHARGECOUNTERROR = "FailedOperation.ChargeCountError" +// INTERNALERROR_ENGINEREQUESTFAILED = "InternalError.EngineRequestFailed" // INTERNALERROR_ENGINERESULTERROR = "InternalError.EngineResultError" // INTERNALERROR_INITIALPARAMETERERROR = "InternalError.InitialParameterError" // INTERNALERROR_SERVERINTERNALERROR = "InternalError.ServerInternalError" diff --git a/tencentcloud/hcm/v20181106/errors.go b/tencentcloud/hcm/v20181106/errors.go index a79cc9d701..f3f55b539f 100644 --- a/tencentcloud/hcm/v20181106/errors.go +++ b/tencentcloud/hcm/v20181106/errors.go @@ -20,6 +20,9 @@ const ( // 计费次数统计失败。 FAILEDOPERATION_CHARGECOUNTERROR = "FailedOperation.ChargeCountError" + // 引擎请求失败。 + INTERNALERROR_ENGINEREQUESTFAILED = "InternalError.EngineRequestFailed" + // 引擎识别失败。 INTERNALERROR_ENGINERESULTERROR = "InternalError.EngineResultError" diff --git a/tencentcloud/iai/go.mod b/tencentcloud/iai/go.mod index e3ba19feaf..90447651f3 100644 --- a/tencentcloud/iai/go.mod +++ b/tencentcloud/iai/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iai go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ic/go.mod b/tencentcloud/ic/go.mod index de2b698b88..4ddc9e3fce 100644 --- a/tencentcloud/ic/go.mod +++ b/tencentcloud/ic/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ic go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ie/go.mod b/tencentcloud/ie/go.mod index a080d6e828..75c601ded3 100644 --- a/tencentcloud/ie/go.mod +++ b/tencentcloud/ie/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ie go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/iecp/go.mod b/tencentcloud/iecp/go.mod index 3cba169e7d..b9baee1a37 100644 --- a/tencentcloud/iecp/go.mod +++ b/tencentcloud/iecp/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iecp go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/iecp/v20210914/models.go b/tencentcloud/iecp/v20210914/models.go index 563f9e87af..db1dc24c61 100644 --- a/tencentcloud/iecp/v20210914/models.go +++ b/tencentcloud/iecp/v20210914/models.go @@ -64,6 +64,10 @@ type ApplicationBasicInfo struct { // 创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 是否允许可视化修改 + // 注意:此字段可能返回 null,表示取不到有效值。 + AllowVisualModify *bool `json:"AllowVisualModify,omitempty" name:"AllowVisualModify"` } type ApplicationDeployMode struct { diff --git a/tencentcloud/iir/go.mod b/tencentcloud/iir/go.mod index 50d1acc40d..84100e13be 100644 --- a/tencentcloud/iir/go.mod +++ b/tencentcloud/iir/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iir go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ims/go.mod b/tencentcloud/ims/go.mod index 13696016b2..2784da5c53 100644 --- a/tencentcloud/ims/go.mod +++ b/tencentcloud/ims/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ims go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/iot/go.mod b/tencentcloud/iot/go.mod index 21a26ce0fe..c085133d55 100644 --- a/tencentcloud/iot/go.mod +++ b/tencentcloud/iot/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iot go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/iotcloud/go.mod b/tencentcloud/iotcloud/go.mod index 8efc1b9808..bcffa041c9 100644 --- a/tencentcloud/iotcloud/go.mod +++ b/tencentcloud/iotcloud/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotcloud go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/iotexplorer/go.mod b/tencentcloud/iotexplorer/go.mod index 1d4f88ade2..0961bba239 100644 --- a/tencentcloud/iotexplorer/go.mod +++ b/tencentcloud/iotexplorer/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotexplorer go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/iotexplorer/v20190423/client.go b/tencentcloud/iotexplorer/v20190423/client.go index db9c011a75..74c2e02859 100644 --- a/tencentcloud/iotexplorer/v20190423/client.go +++ b/tencentcloud/iotexplorer/v20190423/client.go @@ -2470,6 +2470,66 @@ func (c *Client) DescribeGatewayBindDevicesWithContext(ctx context.Context, requ return } +func NewDescribeGatewaySubDeviceListRequest() (request *DescribeGatewaySubDeviceListRequest) { + request = &DescribeGatewaySubDeviceListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("iotexplorer", APIVersion, "DescribeGatewaySubDeviceList") + + + return +} + +func NewDescribeGatewaySubDeviceListResponse() (response *DescribeGatewaySubDeviceListResponse) { + response = &DescribeGatewaySubDeviceListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeGatewaySubDeviceList +// 查询绑定到家庭的网关设备的子设备列表 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND_DEVICENOTBIND = "ResourceNotFound.DeviceNotBind" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct" +func (c *Client) DescribeGatewaySubDeviceList(request *DescribeGatewaySubDeviceListRequest) (response *DescribeGatewaySubDeviceListResponse, err error) { + if request == nil { + request = NewDescribeGatewaySubDeviceListRequest() + } + + response = NewDescribeGatewaySubDeviceListResponse() + err = c.Send(request, response) + return +} + +// DescribeGatewaySubDeviceList +// 查询绑定到家庭的网关设备的子设备列表 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND_DEVICENOTBIND = "ResourceNotFound.DeviceNotBind" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct" +func (c *Client) DescribeGatewaySubDeviceListWithContext(ctx context.Context, request *DescribeGatewaySubDeviceListRequest) (response *DescribeGatewaySubDeviceListResponse, err error) { + if request == nil { + request = NewDescribeGatewaySubDeviceListRequest() + } + request.SetContext(ctx) + + response = NewDescribeGatewaySubDeviceListResponse() + err = c.Send(request, response) + return +} + func NewDescribeGatewaySubProductsRequest() (request *DescribeGatewaySubProductsRequest) { request = &DescribeGatewaySubProductsRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/iotexplorer/v20190423/models.go b/tencentcloud/iotexplorer/v20190423/models.go index c5ee68371e..552b095482 100644 --- a/tencentcloud/iotexplorer/v20190423/models.go +++ b/tencentcloud/iotexplorer/v20190423/models.go @@ -2438,6 +2438,72 @@ func (r *DescribeGatewayBindDevicesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type DescribeGatewaySubDeviceListRequest struct { + *tchttp.BaseRequest + + // 网关产品ID + GatewayProductId *string `json:"GatewayProductId,omitempty" name:"GatewayProductId"` + + // 网关设备名称 + GatewayDeviceName *string `json:"GatewayDeviceName,omitempty" name:"GatewayDeviceName"` + + // 分页偏移 + Offset *uint64 `json:"Offset,omitempty" name:"Offset"` + + // 分页的大小 + Limit *uint64 `json:"Limit,omitempty" name:"Limit"` +} + +func (r *DescribeGatewaySubDeviceListRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeGatewaySubDeviceListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "GatewayProductId") + delete(f, "GatewayDeviceName") + delete(f, "Offset") + delete(f, "Limit") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeGatewaySubDeviceListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeGatewaySubDeviceListResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 设备的总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + Total *int64 `json:"Total,omitempty" name:"Total"` + + // 设备列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + DeviceList []*FamilySubDevice `json:"DeviceList,omitempty" name:"DeviceList"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeGatewaySubDeviceListResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeGatewaySubDeviceListResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type DescribeGatewaySubProductsRequest struct { *tchttp.BaseRequest diff --git a/tencentcloud/iottid/go.mod b/tencentcloud/iottid/go.mod index 070ae6600f..7bf2c1811d 100644 --- a/tencentcloud/iottid/go.mod +++ b/tencentcloud/iottid/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iottid go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/iotvideo/go.mod b/tencentcloud/iotvideo/go.mod index d55f7016c1..721fb83a3c 100644 --- a/tencentcloud/iotvideo/go.mod +++ b/tencentcloud/iotvideo/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideo go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/iotvideoindustry/go.mod b/tencentcloud/iotvideoindustry/go.mod index 75a3ed3d73..c642f35231 100644 --- a/tencentcloud/iotvideoindustry/go.mod +++ b/tencentcloud/iotvideoindustry/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideoindustry go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/iotvideoindustry/v20201201/client.go b/tencentcloud/iotvideoindustry/v20201201/client.go index bda4fac71a..f7a2fa8b99 100644 --- a/tencentcloud/iotvideoindustry/v20201201/client.go +++ b/tencentcloud/iotvideoindustry/v20201201/client.go @@ -1157,11 +1157,7 @@ func NewCreateSceneResponse() (response *CreateSceneResponse) { // 创建场景 // // 可能返回的错误码: -// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" -// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" -// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" -// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" -// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" func (c *Client) CreateScene(request *CreateSceneRequest) (response *CreateSceneResponse, err error) { if request == nil { request = NewCreateSceneRequest() @@ -1176,11 +1172,7 @@ func (c *Client) CreateScene(request *CreateSceneRequest) (response *CreateScene // 创建场景 // // 可能返回的错误码: -// RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" -// RESOURCENOTFOUND_TEMPLATENOTEXIST = "ResourceNotFound.TemplateNotExist" -// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" -// UNSUPPORTEDOPERATION_RECORDPLANEXIST = "UnsupportedOperation.RecordPlanExist" -// UNSUPPORTEDOPERATION_TEMPLATEEXIST = "UnsupportedOperation.TemplateExist" +// INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" func (c *Client) CreateSceneWithContext(ctx context.Context, request *CreateSceneRequest) (response *CreateSceneResponse, err error) { if request == nil { request = NewCreateSceneRequest() @@ -9004,8 +8996,7 @@ func NewModifyBindRecordingPlanResponse() (response *ModifyBindRecordingPlanResp // // 可能返回的错误码: // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" -// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" -// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" func (c *Client) ModifyBindRecordingPlan(request *ModifyBindRecordingPlanRequest) (response *ModifyBindRecordingPlanResponse, err error) { if request == nil { request = NewModifyBindRecordingPlanRequest() @@ -9021,8 +9012,7 @@ func (c *Client) ModifyBindRecordingPlan(request *ModifyBindRecordingPlanRequest // // 可能返回的错误码: // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" -// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" -// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" func (c *Client) ModifyBindRecordingPlanWithContext(ctx context.Context, request *ModifyBindRecordingPlanRequest) (response *ModifyBindRecordingPlanResponse, err error) { if request == nil { request = NewModifyBindRecordingPlanRequest() @@ -9056,8 +9046,7 @@ func NewModifyBindSceneChannelsResponse() (response *ModifyBindSceneChannelsResp // // 可能返回的错误码: // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" -// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" -// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" func (c *Client) ModifyBindSceneChannels(request *ModifyBindSceneChannelsRequest) (response *ModifyBindSceneChannelsResponse, err error) { if request == nil { request = NewModifyBindSceneChannelsRequest() @@ -9073,8 +9062,7 @@ func (c *Client) ModifyBindSceneChannels(request *ModifyBindSceneChannelsRequest // // 可能返回的错误码: // RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist" -// UNSUPPORTEDOPERATION_DEVICEMISSMATCH = "UnsupportedOperation.DeviceMissMatch" -// UNSUPPORTEDOPERATION_DEVICESIPCOMMANDFAIL = "UnsupportedOperation.DeviceSipCommandFail" +// UNSUPPORTEDOPERATION_DEVICEBINDEXIST = "UnsupportedOperation.DeviceBindExist" func (c *Client) ModifyBindSceneChannelsWithContext(ctx context.Context, request *ModifyBindSceneChannelsRequest) (response *ModifyBindSceneChannelsResponse, err error) { if request == nil { request = NewModifyBindSceneChannelsRequest() diff --git a/tencentcloud/ivld/go.mod b/tencentcloud/ivld/go.mod index 517fd2e9fb..6dba4b5cd6 100644 --- a/tencentcloud/ivld/go.mod +++ b/tencentcloud/ivld/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ivld go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ivld/v20210903/client.go b/tencentcloud/ivld/v20210903/client.go index b547b712e0..277454dd77 100644 --- a/tencentcloud/ivld/v20210903/client.go +++ b/tencentcloud/ivld/v20210903/client.go @@ -69,7 +69,10 @@ func NewAddCustomPersonImageResponse() (response *AddCustomPersonImageResponse) // 请注意,与创建自定义人物一样,图片数据优先级优于图片URL优先级 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" +// FAILEDOPERATION_DOWNLOADFAILED = "FailedOperation.DownloadFailed" // FAILEDOPERATION_FEATUREALGOFAILED = "FailedOperation.FeatureAlgoFailed" // FAILEDOPERATION_IMAGENUMEXCEEDED = "FailedOperation.ImageNumExceeded" // FAILEDOPERATION_MULTIPLEFACESINIMAGE = "FailedOperation.MultipleFacesInImage" @@ -82,6 +85,7 @@ func NewAddCustomPersonImageResponse() (response *AddCustomPersonImageResponse) // INTERNALERROR_INTERNALOVERFLOW = "InternalError.InternalOverflow" // INVALIDPARAMETER_INVALIDIMAGE = "InvalidParameter.InvalidImage" // INVALIDPARAMETER_INVALIDPERSONID = "InvalidParameter.InvalidPersonId" +// INVALIDPARAMETER_INVALIDURL = "InvalidParameter.InvalidURL" // RESOURCENOTFOUND_RECORDNOTFOUND = "ResourceNotFound.RecordNotFound" // UNAUTHORIZEDOPERATION_UNAUTHORIZEDPRODUCT = "UnauthorizedOperation.UnauthorizedProduct" func (c *Client) AddCustomPersonImage(request *AddCustomPersonImageRequest) (response *AddCustomPersonImageResponse, err error) { @@ -102,7 +106,10 @@ func (c *Client) AddCustomPersonImage(request *AddCustomPersonImageRequest) (res // 请注意,与创建自定义人物一样,图片数据优先级优于图片URL优先级 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" +// FAILEDOPERATION_DOWNLOADFAILED = "FailedOperation.DownloadFailed" // FAILEDOPERATION_FEATUREALGOFAILED = "FailedOperation.FeatureAlgoFailed" // FAILEDOPERATION_IMAGENUMEXCEEDED = "FailedOperation.ImageNumExceeded" // FAILEDOPERATION_MULTIPLEFACESINIMAGE = "FailedOperation.MultipleFacesInImage" @@ -115,6 +122,7 @@ func (c *Client) AddCustomPersonImage(request *AddCustomPersonImageRequest) (res // INTERNALERROR_INTERNALOVERFLOW = "InternalError.InternalOverflow" // INVALIDPARAMETER_INVALIDIMAGE = "InvalidParameter.InvalidImage" // INVALIDPARAMETER_INVALIDPERSONID = "InvalidParameter.InvalidPersonId" +// INVALIDPARAMETER_INVALIDURL = "InvalidParameter.InvalidURL" // RESOURCENOTFOUND_RECORDNOTFOUND = "ResourceNotFound.RecordNotFound" // UNAUTHORIZEDOPERATION_UNAUTHORIZEDPRODUCT = "UnauthorizedOperation.UnauthorizedProduct" func (c *Client) AddCustomPersonImageWithContext(ctx context.Context, request *AddCustomPersonImageRequest) (response *AddCustomPersonImageResponse, err error) { @@ -155,12 +163,15 @@ func NewCreateCustomCategoryResponse() (response *CreateCustomCategoryResponse) // 当L1Category与L2Category均不为空时,将创建二级自定义分类。请注意,**只有当一级自定义分类存在时,才可创建二级自定义分类**。 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_CATEGORYEXIST = "FailedOperation.CategoryExist" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // INVALIDPARAMETER_INVALIDL1CATEGORY = "InvalidParameter.InvalidL1Category" // INVALIDPARAMETER_INVALIDL2CATEGORY = "InvalidParameter.InvalidL2Category" +// RESOURCENOTFOUND_CUSTOMCATEGORYNOTFOUND = "ResourceNotFound.CustomCategoryNotFound" // UNAUTHORIZEDOPERATION_UNAUTHORIZEDPRODUCT = "UnauthorizedOperation.UnauthorizedProduct" func (c *Client) CreateCustomCategory(request *CreateCustomCategoryRequest) (response *CreateCustomCategoryResponse, err error) { if request == nil { @@ -182,12 +193,15 @@ func (c *Client) CreateCustomCategory(request *CreateCustomCategoryRequest) (res // 当L1Category与L2Category均不为空时,将创建二级自定义分类。请注意,**只有当一级自定义分类存在时,才可创建二级自定义分类**。 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_CATEGORYEXIST = "FailedOperation.CategoryExist" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // INVALIDPARAMETER_INVALIDL1CATEGORY = "InvalidParameter.InvalidL1Category" // INVALIDPARAMETER_INVALIDL2CATEGORY = "InvalidParameter.InvalidL2Category" +// RESOURCENOTFOUND_CUSTOMCATEGORYNOTFOUND = "ResourceNotFound.CustomCategoryNotFound" // UNAUTHORIZEDOPERATION_UNAUTHORIZEDPRODUCT = "UnauthorizedOperation.UnauthorizedProduct" func (c *Client) CreateCustomCategoryWithContext(ctx context.Context, request *CreateCustomCategoryRequest) (response *CreateCustomCategoryResponse, err error) { if request == nil { @@ -241,7 +255,9 @@ func NewCreateCustomGroupResponse() (response *CreateCustomGroupResponse) { // **重要**:请务必确保本接口指定的COS存储桶存在(不要手动删除COS桶)。COS存储桶一旦指定,将不能修改。 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_CUSTOMGROUPALREADYEXIST = "FailedOperation.CustomGroupAlreadyExist" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" @@ -282,7 +298,9 @@ func (c *Client) CreateCustomGroup(request *CreateCustomGroupRequest) (response // **重要**:请务必确保本接口指定的COS存储桶存在(不要手动删除COS桶)。COS存储桶一旦指定,将不能修改。 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_CUSTOMGROUPALREADYEXIST = "FailedOperation.CustomGroupAlreadyExist" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" @@ -333,7 +351,9 @@ func NewCreateCustomPersonResponse() (response *CreateCustomPersonResponse) { // AUTHFAILURE_SECRETIDNOTFOUND = "AuthFailure.SecretIdNotFound" // AUTHFAILURE_SIGNATUREEXPIRE = "AuthFailure.SignatureExpire" // AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure" +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_DOWNLOADFAILED = "FailedOperation.DownloadFailed" // FAILEDOPERATION_FEATUREALGOFAILED = "FailedOperation.FeatureAlgoFailed" // FAILEDOPERATION_MULTIPLEFACESINIMAGE = "FailedOperation.MultipleFacesInImage" @@ -349,6 +369,7 @@ func NewCreateCustomPersonResponse() (response *CreateCustomPersonResponse) { // INVALIDPARAMETER_INVALIDIMAGE = "InvalidParameter.InvalidImage" // INVALIDPARAMETER_INVALIDNAME = "InvalidParameter.InvalidName" // INVALIDPARAMETER_INVALIDPARAM = "InvalidParameter.InvalidParam" +// INVALIDPARAMETER_INVALIDURL = "InvalidParameter.InvalidURL" // INVALIDPARAMETER_UNSUPPORTURL = "InvalidParameter.UnsupportURL" // UNAUTHORIZEDOPERATION_UNAUTHORIZEDPRODUCT = "UnauthorizedOperation.UnauthorizedProduct" func (c *Client) CreateCustomPerson(request *CreateCustomPersonRequest) (response *CreateCustomPersonResponse, err error) { @@ -377,7 +398,9 @@ func (c *Client) CreateCustomPerson(request *CreateCustomPersonRequest) (respons // AUTHFAILURE_SECRETIDNOTFOUND = "AuthFailure.SecretIdNotFound" // AUTHFAILURE_SIGNATUREEXPIRE = "AuthFailure.SignatureExpire" // AUTHFAILURE_SIGNATUREFAILURE = "AuthFailure.SignatureFailure" +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_DOWNLOADFAILED = "FailedOperation.DownloadFailed" // FAILEDOPERATION_FEATUREALGOFAILED = "FailedOperation.FeatureAlgoFailed" // FAILEDOPERATION_MULTIPLEFACESINIMAGE = "FailedOperation.MultipleFacesInImage" @@ -393,6 +416,7 @@ func (c *Client) CreateCustomPerson(request *CreateCustomPersonRequest) (respons // INVALIDPARAMETER_INVALIDIMAGE = "InvalidParameter.InvalidImage" // INVALIDPARAMETER_INVALIDNAME = "InvalidParameter.InvalidName" // INVALIDPARAMETER_INVALIDPARAM = "InvalidParameter.InvalidParam" +// INVALIDPARAMETER_INVALIDURL = "InvalidParameter.InvalidURL" // INVALIDPARAMETER_UNSUPPORTURL = "InvalidParameter.UnsupportURL" // UNAUTHORIZEDOPERATION_UNAUTHORIZEDPRODUCT = "UnauthorizedOperation.UnauthorizedProduct" func (c *Client) CreateCustomPersonWithContext(ctx context.Context, request *CreateCustomPersonRequest) (response *CreateCustomPersonResponse, err error) { @@ -427,7 +451,9 @@ func NewCreateDefaultCategoriesResponse() (response *CreateDefaultCategoriesResp // 创建默认自定义人物类型 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR = "InternalError" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" @@ -447,7 +473,9 @@ func (c *Client) CreateDefaultCategories(request *CreateDefaultCategoriesRequest // 创建默认自定义人物类型 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR = "InternalError" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" @@ -489,7 +517,9 @@ func NewCreateTaskResponse() (response *CreateTaskResponse) { // 请注意,本接口为异步接口,**返回TaskId只代表任务创建成功,不代表任务执行成功**。 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_AITEMPLATENOTEXIST = "FailedOperation.AiTemplateNotExist" // FAILEDOPERATION_MEDIAEXPIRED = "FailedOperation.MediaExpired" // FAILEDOPERATION_MEDIANOTREADY = "FailedOperation.MediaNotReady" @@ -520,7 +550,9 @@ func (c *Client) CreateTask(request *CreateTaskRequest) (response *CreateTaskRes // 请注意,本接口为异步接口,**返回TaskId只代表任务创建成功,不代表任务执行成功**。 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_AITEMPLATENOTEXIST = "FailedOperation.AiTemplateNotExist" // FAILEDOPERATION_MEDIAEXPIRED = "FailedOperation.MediaExpired" // FAILEDOPERATION_MEDIANOTREADY = "FailedOperation.MediaNotReady" @@ -565,7 +597,9 @@ func NewDeleteCustomCategoryResponse() (response *DeleteCustomCategoryResponse) // 删除自定义分类信息 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_CATEGORYREFERRED = "FailedOperation.CategoryReferred" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" @@ -587,7 +621,9 @@ func (c *Client) DeleteCustomCategory(request *DeleteCustomCategoryRequest) (res // 删除自定义分类信息 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_CATEGORYREFERRED = "FailedOperation.CategoryReferred" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" @@ -627,7 +663,9 @@ func NewDeleteCustomPersonResponse() (response *DeleteCustomPersonResponse) { // 删除自定义人物 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // INVALIDPARAMETER_INVALIDPERSONID = "InvalidParameter.InvalidPersonId" @@ -647,7 +685,9 @@ func (c *Client) DeleteCustomPerson(request *DeleteCustomPersonRequest) (respons // 删除自定义人物 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // INVALIDPARAMETER_INVALIDPERSONID = "InvalidParameter.InvalidPersonId" @@ -685,7 +725,9 @@ func NewDeleteCustomPersonImageResponse() (response *DeleteCustomPersonImageResp // 删除自定义人脸数据 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_IMAGENUMEXCEEDED = "FailedOperation.ImageNumExceeded" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" @@ -708,7 +750,9 @@ func (c *Client) DeleteCustomPersonImage(request *DeleteCustomPersonImageRequest // 删除自定义人脸数据 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_IMAGENUMEXCEEDED = "FailedOperation.ImageNumExceeded" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" @@ -753,6 +797,9 @@ func NewDeleteMediaResponse() (response *DeleteMediaResponse) { // **请注意,本接口仅删除媒资文件,媒资文件对应的视频分析结果不会被删除**。如您需要删除结构化分析结果,请调用DeleteTask接口。 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" +// AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_MEDIAALREADYEXIST = "FailedOperation.MediaAlreadyExist" // FAILEDOPERATION_MEDIAINUSE = "FailedOperation.MediaInUse" // INVALIDPARAMETER = "InvalidParameter" @@ -779,6 +826,9 @@ func (c *Client) DeleteMedia(request *DeleteMediaRequest) (response *DeleteMedia // **请注意,本接口仅删除媒资文件,媒资文件对应的视频分析结果不会被删除**。如您需要删除结构化分析结果,请调用DeleteTask接口。 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" +// AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_MEDIAALREADYEXIST = "FailedOperation.MediaAlreadyExist" // FAILEDOPERATION_MEDIAINUSE = "FailedOperation.MediaInUse" // INVALIDPARAMETER = "InvalidParameter" @@ -819,7 +869,9 @@ func NewDescribeCustomCategoriesResponse() (response *DescribeCustomCategoriesRe // 批量描述自定义人物分类信息 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // UNAUTHORIZEDOPERATION_UNAUTHORIZEDPRODUCT = "UnauthorizedOperation.UnauthorizedProduct" @@ -837,7 +889,9 @@ func (c *Client) DescribeCustomCategories(request *DescribeCustomCategoriesReque // 批量描述自定义人物分类信息 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // UNAUTHORIZEDOPERATION_UNAUTHORIZEDPRODUCT = "UnauthorizedOperation.UnauthorizedProduct" @@ -873,7 +927,9 @@ func NewDescribeCustomGroupResponse() (response *DescribeCustomGroupResponse) { // 描述自定义人物库信息,当前库大小(库中有多少人脸),以及库中的存储桶 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // RESOURCENOTFOUND_CUSTOMGROUPNOTFOUND = "ResourceNotFound.CustomGroupNotFound" @@ -893,7 +949,9 @@ func (c *Client) DescribeCustomGroup(request *DescribeCustomGroupRequest) (respo // 描述自定义人物库信息,当前库大小(库中有多少人脸),以及库中的存储桶 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // RESOURCENOTFOUND_CUSTOMGROUPNOTFOUND = "ResourceNotFound.CustomGroupNotFound" @@ -931,7 +989,9 @@ func NewDescribeCustomPersonDetailResponse() (response *DescribeCustomPersonDeta // 描述自定义人物详细信息,包括人物信息与人物信息 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // INVALIDPARAMETER_INVALIDPERSONID = "InvalidParameter.InvalidPersonId" @@ -951,7 +1011,9 @@ func (c *Client) DescribeCustomPersonDetail(request *DescribeCustomPersonDetailR // 描述自定义人物详细信息,包括人物信息与人物信息 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // INVALIDPARAMETER_INVALIDPERSONID = "InvalidParameter.InvalidPersonId" @@ -991,7 +1053,9 @@ func NewDescribeCustomPersonsResponse() (response *DescribeCustomPersonsResponse // // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // INVALIDPARAMETER_INVALIDCATEGORYID = "InvalidParameter.InvalidCategoryId" @@ -1020,7 +1084,9 @@ func (c *Client) DescribeCustomPersons(request *DescribeCustomPersonsRequest) (r // // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // INVALIDPARAMETER_INVALIDCATEGORYID = "InvalidParameter.InvalidCategoryId" @@ -1069,6 +1135,9 @@ func NewDescribeMediaResponse() (response *DescribeMediaResponse) { // 如果媒资文件未完成导入,本接口将仅输出媒资文件的状态信息;导入完成后,本接口还将输出媒资文件的其他元信息。 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" +// AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_DOWNLOADFAILED = "FailedOperation.DownloadFailed" // FAILEDOPERATION_MD5MISMATCH = "FailedOperation.MD5Mismatch" // FAILEDOPERATION_MEDIANOTREADY = "FailedOperation.MediaNotReady" @@ -1093,6 +1162,9 @@ func (c *Client) DescribeMedia(request *DescribeMediaRequest) (response *Describ // 如果媒资文件未完成导入,本接口将仅输出媒资文件的状态信息;导入完成后,本接口还将输出媒资文件的其他元信息。 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" +// AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_DOWNLOADFAILED = "FailedOperation.DownloadFailed" // FAILEDOPERATION_MD5MISMATCH = "FailedOperation.MD5Mismatch" // FAILEDOPERATION_MEDIANOTREADY = "FailedOperation.MediaNotReady" @@ -1139,6 +1211,9 @@ func NewDescribeMediasResponse() (response *DescribeMediasResponse) { // 如果媒资文件未完成导入,本接口将仅输出媒资文件的状态信息;导入完成后,本接口还将输出媒资文件的其他元信息。 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" +// AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_MEDIAALREADYEXIST = "FailedOperation.MediaAlreadyExist" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // INVALIDPARAMETER_INVALIDMD5 = "InvalidParameter.InvalidMD5" @@ -1177,6 +1252,9 @@ func (c *Client) DescribeMedias(request *DescribeMediasRequest) (response *Descr // 如果媒资文件未完成导入,本接口将仅输出媒资文件的状态信息;导入完成后,本接口还将输出媒资文件的其他元信息。 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" +// AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_MEDIAALREADYEXIST = "FailedOperation.MediaAlreadyExist" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // INVALIDPARAMETER_INVALIDMD5 = "InvalidParameter.InvalidMD5" @@ -1231,7 +1309,9 @@ func NewDescribeTaskResponse() (response *DescribeTaskResponse) { // // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INVALIDPARAMETER_INVALIDTASKID = "InvalidParameter.InvalidTaskId" // RESOURCENOTFOUND_RECORDNOTFOUND = "ResourceNotFound.RecordNotFound" // RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound" @@ -1256,7 +1336,9 @@ func (c *Client) DescribeTask(request *DescribeTaskRequest) (response *DescribeT // // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INVALIDPARAMETER_INVALIDTASKID = "InvalidParameter.InvalidTaskId" // RESOURCENOTFOUND_RECORDNOTFOUND = "ResourceNotFound.RecordNotFound" // RESOURCENOTFOUND_TASKNOTFOUND = "ResourceNotFound.TaskNotFound" @@ -1293,7 +1375,9 @@ func NewDescribeTaskDetailResponse() (response *DescribeTaskDetailResponse) { // 描述任务信息,如果任务成功完成,还将返回任务结果 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_TASKNOTFINISHED = "FailedOperation.TaskNotFinished" // INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" // INVALIDPARAMETER_INVALIDTASKID = "InvalidParameter.InvalidTaskId" @@ -1314,7 +1398,9 @@ func (c *Client) DescribeTaskDetail(request *DescribeTaskDetailRequest) (respons // 描述任务信息,如果任务成功完成,还将返回任务结果 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_TASKNOTFINISHED = "FailedOperation.TaskNotFinished" // INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError" // INVALIDPARAMETER_INVALIDTASKID = "InvalidParameter.InvalidTaskId" @@ -1357,7 +1443,9 @@ func NewDescribeTasksResponse() (response *DescribeTasksResponse) { // 请注意,本接口最多支持同时描述**50**个任务信息 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_GETTASKLISTFAILED = "FailedOperation.GetTaskListFailed" // INVALIDPARAMETER_INVALIDPAGENUMBER = "InvalidParameter.InvalidPageNumber" // INVALIDPARAMETER_INVALIDPAGESIZE = "InvalidParameter.InvalidPageSize" @@ -1385,7 +1473,9 @@ func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *Describ // 请注意,本接口最多支持同时描述**50**个任务信息 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_GETTASKLISTFAILED = "FailedOperation.GetTaskListFailed" // INVALIDPARAMETER_INVALIDPAGENUMBER = "InvalidParameter.InvalidPageNumber" // INVALIDPARAMETER_INVALIDPAGESIZE = "InvalidParameter.InvalidPageSize" @@ -1447,7 +1537,9 @@ func NewImportMediaResponse() (response *ImportMediaResponse) { // AUTHFAILURE_TASKFINISHED = "AuthFailure.TaskFinished" // AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure" // AUTHFAILURE_USERACTIVATED = "AuthFailure.UserActivated" +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_AITEMPLATENOTEXIST = "FailedOperation.AiTemplateNotExist" // FAILEDOPERATION_CATEGORYEXIST = "FailedOperation.CategoryExist" // FAILEDOPERATION_CATEGORYLEVELCHANGED = "FailedOperation.CategoryLevelChanged" @@ -1467,6 +1559,7 @@ func NewImportMediaResponse() (response *ImportMediaResponse) { // FAILEDOPERATION_MEDIANOTREADY = "FailedOperation.MediaNotReady" // FAILEDOPERATION_MULTIPLEFACESINIMAGE = "FailedOperation.MultipleFacesInImage" // FAILEDOPERATION_NOFACEINIMAGE = "FailedOperation.NoFaceInImage" +// FAILEDOPERATION_OPENCHARGEFAILED = "FailedOperation.OpenChargeFailed" // FAILEDOPERATION_PERSONDUPLICATED = "FailedOperation.PersonDuplicated" // FAILEDOPERATION_PERSONNOTMATCHED = "FailedOperation.PersonNotMatched" // FAILEDOPERATION_PERSONNUMEXCEEDED = "FailedOperation.PersonNumExceeded" @@ -1555,7 +1648,9 @@ func (c *Client) ImportMedia(request *ImportMediaRequest) (response *ImportMedia // AUTHFAILURE_TASKFINISHED = "AuthFailure.TaskFinished" // AUTHFAILURE_TOKENFAILURE = "AuthFailure.TokenFailure" // AUTHFAILURE_USERACTIVATED = "AuthFailure.UserActivated" +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // FAILEDOPERATION_AITEMPLATENOTEXIST = "FailedOperation.AiTemplateNotExist" // FAILEDOPERATION_CATEGORYEXIST = "FailedOperation.CategoryExist" // FAILEDOPERATION_CATEGORYLEVELCHANGED = "FailedOperation.CategoryLevelChanged" @@ -1575,6 +1670,7 @@ func (c *Client) ImportMedia(request *ImportMediaRequest) (response *ImportMedia // FAILEDOPERATION_MEDIANOTREADY = "FailedOperation.MediaNotReady" // FAILEDOPERATION_MULTIPLEFACESINIMAGE = "FailedOperation.MultipleFacesInImage" // FAILEDOPERATION_NOFACEINIMAGE = "FailedOperation.NoFaceInImage" +// FAILEDOPERATION_OPENCHARGEFAILED = "FailedOperation.OpenChargeFailed" // FAILEDOPERATION_PERSONDUPLICATED = "FailedOperation.PersonDuplicated" // FAILEDOPERATION_PERSONNOTMATCHED = "FailedOperation.PersonNotMatched" // FAILEDOPERATION_PERSONNUMEXCEEDED = "FailedOperation.PersonNumExceeded" @@ -1667,7 +1763,10 @@ func NewUpdateCustomCategoryResponse() (response *UpdateCustomCategoryResponse) // 当L2Category非空时,仅更新CategoryId对应的二级自定义人物类型 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" +// FAILEDOPERATION_CATEGORYEXIST = "FailedOperation.CategoryExist" // FAILEDOPERATION_CATEGORYLEVELCHANGED = "FailedOperation.CategoryLevelChanged" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" @@ -1697,7 +1796,10 @@ func (c *Client) UpdateCustomCategory(request *UpdateCustomCategoryRequest) (res // 当L2Category非空时,仅更新CategoryId对应的二级自定义人物类型 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" +// FAILEDOPERATION_CATEGORYEXIST = "FailedOperation.CategoryExist" // FAILEDOPERATION_CATEGORYLEVELCHANGED = "FailedOperation.CategoryLevelChanged" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" @@ -1739,7 +1841,9 @@ func NewUpdateCustomPersonResponse() (response *UpdateCustomPersonResponse) { // 更新自定义人物信息,包括姓名,简要信息,分类信息等 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // INVALIDPARAMETER_INVALIDCATEGORYID = "InvalidParameter.InvalidCategoryId" @@ -1762,7 +1866,9 @@ func (c *Client) UpdateCustomPerson(request *UpdateCustomPersonRequest) (respons // 更新自定义人物信息,包括姓名,简要信息,分类信息等 // // 可能返回的错误码: +// AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" // AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" +// AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" // INTERNALERROR_DBCONNECTIONERROR = "InternalError.DBConnectionError" // INTERNALERROR_INNERERROR = "InternalError.InnerError" // INVALIDPARAMETER_INVALIDCATEGORYID = "InvalidParameter.InvalidCategoryId" diff --git a/tencentcloud/ivld/v20210903/errors.go b/tencentcloud/ivld/v20210903/errors.go index 1b12c87c12..dde1f13242 100644 --- a/tencentcloud/ivld/v20210903/errors.go +++ b/tencentcloud/ivld/v20210903/errors.go @@ -41,9 +41,15 @@ const ( // 用户已激活。 AUTHFAILURE_USERACTIVATED = "AuthFailure.UserActivated" + // 用户状态异常。 + AUTHFAILURE_USERINVALIDSTATUS = "AuthFailure.UserInvalidStatus" + // 用户无权限。 AUTHFAILURE_USERNOTFOUND = "AuthFailure.UserNotFound" + // 用户已欠费停服。 + AUTHFAILURE_USERSTOPARREAR = "AuthFailure.UserStopArrear" + // 匹配的模板不存在。 FAILEDOPERATION_AITEMPLATENOTEXIST = "FailedOperation.AiTemplateNotExist" @@ -101,6 +107,9 @@ const ( // 图片中不包含人脸。 FAILEDOPERATION_NOFACEINIMAGE = "FailedOperation.NoFaceInImage" + // 计费开通失败。 + FAILEDOPERATION_OPENCHARGEFAILED = "FailedOperation.OpenChargeFailed" + // 人脸库中存在相似的人脸: %!s(MISSING)。 FAILEDOPERATION_PERSONDUPLICATED = "FailedOperation.PersonDuplicated" diff --git a/tencentcloud/ivld/v20210903/models.go b/tencentcloud/ivld/v20210903/models.go index 99212f1c4c..b82fdcc2ad 100644 --- a/tencentcloud/ivld/v20210903/models.go +++ b/tencentcloud/ivld/v20210903/models.go @@ -432,6 +432,12 @@ type CustomPersonInfo struct { // 二级自定义人物类型 L2Category *string `json:"L2Category,omitempty" name:"L2Category"` + + // 自定义人物图片信息 + ImageInfoSet []*PersonImageInfo `json:"ImageInfoSet,omitempty" name:"ImageInfoSet"` + + // 自定义人物创建时间 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` } type Data struct { diff --git a/tencentcloud/kms/go.mod b/tencentcloud/kms/go.mod index 594ec4aa84..3931b7904a 100644 --- a/tencentcloud/kms/go.mod +++ b/tencentcloud/kms/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/lighthouse/go.mod b/tencentcloud/lighthouse/go.mod index d1577303fe..fd1b136f00 100644 --- a/tencentcloud/lighthouse/go.mod +++ b/tencentcloud/lighthouse/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lighthouse go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/lighthouse/v20200324/client.go b/tencentcloud/lighthouse/v20200324/client.go index c1122c6d97..127da4c991 100644 --- a/tencentcloud/lighthouse/v20200324/client.go +++ b/tencentcloud/lighthouse/v20200324/client.go @@ -614,6 +614,98 @@ func (c *Client) CreateInstanceSnapshotWithContext(ctx context.Context, request return } +func NewCreateInstancesRequest() (request *CreateInstancesRequest) { + request = &CreateInstancesRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("lighthouse", APIVersion, "CreateInstances") + + + return +} + +func NewCreateInstancesResponse() (response *CreateInstancesResponse) { + response = &CreateInstancesResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateInstances +// 本接口(CreateInstances)用于创建一个或多个指定套餐的轻量应用服务器实例。 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_UNABLETOCREATEINSTANCES = "FailedOperation.UnableToCreateInstances" +// INTERNALERROR = "InternalError" +// INTERNALERROR_INVALIDACTIONNOTFOUND = "InternalError.InvalidActionNotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameter.BundleAndBlueprintNotMatch" +// INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" +// INVALIDPARAMETERVALUE_BLUEPRINTID = "InvalidParameterValue.BlueprintId" +// INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" +// INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" +// INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" +// INVALIDPARAMETERVALUE_INVALIDBUNDLE = "InvalidParameterValue.InvalidBundle" +// INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination" +// INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" +// INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid" +// LIMITEXCEEDED = "LimitExceeded" +// LIMITEXCEEDED_INSTANCEQUOTALIMITEXCEEDED = "LimitExceeded.InstanceQuotaLimitExceeded" +// RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" +// RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound" +// RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable" +// RESOURCESSOLDOUT_PURCHASESOURCEHASNOBUNDLECONFIGS = "ResourcesSoldOut.PurchaseSourceHasNoBundleConfigs" +// RESOURCESSOLDOUT_ZONESHASNOBUNDLECONFIGS = "ResourcesSoldOut.ZonesHasNoBundleConfigs" +// UNSUPPORTEDOPERATION_INSTANCELINUXUNIXCREATINGNOTSUPPORTPASSWORD = "UnsupportedOperation.InstanceLinuxUnixCreatingNotSupportPassword" +func (c *Client) CreateInstances(request *CreateInstancesRequest) (response *CreateInstancesResponse, err error) { + if request == nil { + request = NewCreateInstancesRequest() + } + + response = NewCreateInstancesResponse() + err = c.Send(request, response) + return +} + +// CreateInstances +// 本接口(CreateInstances)用于创建一个或多个指定套餐的轻量应用服务器实例。 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_UNABLETOCREATEINSTANCES = "FailedOperation.UnableToCreateInstances" +// INTERNALERROR = "InternalError" +// INTERNALERROR_INVALIDACTIONNOTFOUND = "InternalError.InvalidActionNotFound" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameter.BundleAndBlueprintNotMatch" +// INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" +// INVALIDPARAMETERVALUE_BLUEPRINTID = "InvalidParameterValue.BlueprintId" +// INVALIDPARAMETERVALUE_BLUEPRINTIDMALFORMED = "InvalidParameterValue.BlueprintIdMalformed" +// INVALIDPARAMETERVALUE_INSTANCENAMETOOLONG = "InvalidParameterValue.InstanceNameTooLong" +// INVALIDPARAMETERVALUE_INVALIDBLUEPRINTID = "InvalidParameterValue.InvalidBlueprintId" +// INVALIDPARAMETERVALUE_INVALIDBUNDLE = "InvalidParameterValue.InvalidBundle" +// INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination" +// INVALIDPARAMETERVALUE_INVALIDZONE = "InvalidParameterValue.InvalidZone" +// INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid" +// LIMITEXCEEDED = "LimitExceeded" +// LIMITEXCEEDED_INSTANCEQUOTALIMITEXCEEDED = "LimitExceeded.InstanceQuotaLimitExceeded" +// RESOURCENOTFOUND_BLUEPRINTIDNOTFOUND = "ResourceNotFound.BlueprintIdNotFound" +// RESOURCENOTFOUND_BLUEPRINTNOTFOUND = "ResourceNotFound.BlueprintNotFound" +// RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable" +// RESOURCESSOLDOUT_PURCHASESOURCEHASNOBUNDLECONFIGS = "ResourcesSoldOut.PurchaseSourceHasNoBundleConfigs" +// RESOURCESSOLDOUT_ZONESHASNOBUNDLECONFIGS = "ResourcesSoldOut.ZonesHasNoBundleConfigs" +// UNSUPPORTEDOPERATION_INSTANCELINUXUNIXCREATINGNOTSUPPORTPASSWORD = "UnsupportedOperation.InstanceLinuxUnixCreatingNotSupportPassword" +func (c *Client) CreateInstancesWithContext(ctx context.Context, request *CreateInstancesRequest) (response *CreateInstancesResponse, err error) { + if request == nil { + request = NewCreateInstancesRequest() + } + request.SetContext(ctx) + + response = NewCreateInstancesResponse() + err = c.Send(request, response) + return +} + func NewCreateKeyPairRequest() (request *CreateKeyPairRequest) { request = &CreateKeyPairRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/lighthouse/v20200324/errors.go b/tencentcloud/lighthouse/v20200324/errors.go index 05bc47e537..412f37e61f 100644 --- a/tencentcloud/lighthouse/v20200324/errors.go +++ b/tencentcloud/lighthouse/v20200324/errors.go @@ -20,6 +20,9 @@ const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" + // 操作失败。 + FAILEDOPERATION = "FailedOperation" + // 创建镜像失败。 FAILEDOPERATION_CREATEBLUEPRINTFAILED = "FailedOperation.CreateBlueprintFailed" @@ -44,6 +47,9 @@ const ( // 操作失败,不能创建自定义镜像。 FAILEDOPERATION_UNABLETOCREATEBLUEPRINT = "FailedOperation.UnableToCreateBlueprint" + // 无法创建实例。 + FAILEDOPERATION_UNABLETOCREATEINSTANCES = "FailedOperation.UnableToCreateInstances" + // 内部错误。 INTERNALERROR = "InternalError" @@ -68,6 +74,9 @@ const ( // 快照配额锁获取失败。 INTERNALERROR_GETSNAPSHOTALLOCQUOTALOCKERROR = "InternalError.GetSnapshotAllocQuotaLockError" + // 无法找到此接口。 + INTERNALERROR_INVALIDACTIONNOTFOUND = "InternalError.InvalidActionNotFound" + // 套餐价格错误。 INTERNALERROR_INVALIDBUNDLEPRICE = "InternalError.InvalidBundlePrice" @@ -86,6 +95,9 @@ const ( // 参数错误。 INVALIDPARAMETER = "InvalidParameter" + // 套餐和镜像不匹配。 + INVALIDPARAMETER_BUNDLEANDBLUEPRINTNOTMATCH = "InvalidParameter.BundleAndBlueprintNotMatch" + // 产品未定义的套餐 ID。 INVALIDPARAMETER_BUNDLEIDNOTFOUND = "InvalidParameter.BundleIdNotFound" @@ -167,6 +179,9 @@ const ( // 镜像类型不合法。 INVALIDPARAMETERVALUE_INVALIDBLUEPRINTTYPE = "InvalidParameterValue.InvalidBlueprintType" + // 非法的套餐参数。 + INVALIDPARAMETERVALUE_INVALIDBUNDLE = "InvalidParameterValue.InvalidBundle" + // 控制台显示类型不合法。 INVALIDPARAMETERVALUE_INVALIDCONSOLEDISPLAYTYPES = "InvalidParameterValue.InvalidConsoleDisplayTypes" @@ -188,6 +203,9 @@ const ( // 参数长度非法。 INVALIDPARAMETERVALUE_INVALIDKEYPAIRNAMETOOLONG = "InvalidParameterValue.InvalidKeyPairNameTooLong" + // 参数组合非法。 + INVALIDPARAMETERVALUE_INVALIDPARAMETERCOMBINATION = "InvalidParameterValue.InvalidParameterCombination" + // 参数中的密码不合法。 INVALIDPARAMETERVALUE_INVALIDPASSWORD = "InvalidParameterValue.InvalidPassword" @@ -230,12 +248,18 @@ const ( // 非法的可用区。 INVALIDPARAMETERVALUE_ZONEINVALID = "InvalidParameterValue.ZoneInvalid" + // 超过配额限制。 + LIMITEXCEEDED = "LimitExceeded" + // 实例挂载数据盘配额不足,无法挂载磁盘。 LIMITEXCEEDED_ATTACHDATADISKQUOTALIMITEXCEEDED = "LimitExceeded.AttachDataDiskQuotaLimitExceeded" // 超过防火墙规则配额。 LIMITEXCEEDED_FIREWALLRULESLIMITEXCEEDED = "LimitExceeded.FirewallRulesLimitExceeded" + // 超过实例配额。 + LIMITEXCEEDED_INSTANCEQUOTALIMITEXCEEDED = "LimitExceeded.InstanceQuotaLimitExceeded" + // 超过密钥对配额。 LIMITEXCEEDED_KEYPAIRLIMITEXCEEDED = "LimitExceeded.KeyPairLimitExceeded" @@ -311,6 +335,15 @@ const ( // 镜像资源不可用。 RESOURCEUNAVAILABLE_BLUEPRINTUNAVAILABLE = "ResourceUnavailable.BlueprintUnavailable" + // 套餐不可用。 + RESOURCEUNAVAILABLE_BUNDLEUNAVAILABLE = "ResourceUnavailable.BundleUnavailable" + + // 套餐无可用配置。 + RESOURCESSOLDOUT_PURCHASESOURCEHASNOBUNDLECONFIGS = "ResourcesSoldOut.PurchaseSourceHasNoBundleConfigs" + + // 套餐无可用配置。 + RESOURCESSOLDOUT_ZONESHASNOBUNDLECONFIGS = "ResourcesSoldOut.ZonesHasNoBundleConfigs" + // MFA 已过期。 UNAUTHORIZEDOPERATION_MFAEXPIRED = "UnauthorizedOperation.MFAExpired" @@ -359,6 +392,9 @@ const ( // 实例已到期,不支持该操作。 UNSUPPORTEDOPERATION_INSTANCEEXPIRED = "UnsupportedOperation.InstanceExpired" + // LinuxUnix实例在创建时不支持设置密码。 + UNSUPPORTEDOPERATION_INSTANCELINUXUNIXCREATINGNOTSUPPORTPASSWORD = "UnsupportedOperation.InstanceLinuxUnixCreatingNotSupportPassword" + // 磁盘状态不支持该操作。 UNSUPPORTEDOPERATION_INVALIDDISKSTATE = "UnsupportedOperation.InvalidDiskState" diff --git a/tencentcloud/lighthouse/v20200324/models.go b/tencentcloud/lighthouse/v20200324/models.go index c4ced24452..e19d21c0ae 100644 --- a/tencentcloud/lighthouse/v20200324/models.go +++ b/tencentcloud/lighthouse/v20200324/models.go @@ -395,6 +395,15 @@ type CcnAttachedInstance struct { Description *string `json:"Description,omitempty" name:"Description"` } +type ContainerEnv struct { + + // 环境变量Key + Key *string `json:"Key,omitempty" name:"Key"` + + // 环境变量值 + Value *string `json:"Value,omitempty" name:"Value"` +} + type CreateBlueprintRequest struct { *tchttp.BaseRequest @@ -559,6 +568,97 @@ func (r *CreateInstanceSnapshotResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type CreateInstancesRequest struct { + *tchttp.BaseRequest + + // Lighthouse套餐ID。 + BundleId *string `json:"BundleId,omitempty" name:"BundleId"` + + // Lighthouse镜像ID。 + BlueprintId *string `json:"BlueprintId,omitempty" name:"BlueprintId"` + + // 当前Lighthouse实例仅支持预付费模式,即包年包月相关参数设置,单位(月)。通过该参数可以指定包年包月实例的购买时长、是否设置自动续费等属性。该参数必传。 + InstanceChargePrepaid *InstanceChargePrepaid `json:"InstanceChargePrepaid,omitempty" name:"InstanceChargePrepaid"` + + // Lighthouse实例显示名称。 + InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` + + // 购买Lighthouse实例数量。包年包月实例取值范围:[1,30]。默认取值:1。指定购买实例的数量不能超过用户所能购买的剩余配额数量 + InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"` + + // 可用区列表。默认为随机可用区 + Zones []*string `json:"Zones,omitempty" name:"Zones"` + + // 是否只预检此次请求。 + // true:发送检查请求,不会创建实例。检查项包括是否填写了必需参数,请求格式,业务限制和库存。 + // 如果检查不通过,则返回对应错误码; + // 如果检查通过,则返回RequestId. + // false(默认):发送正常请求,通过检查后直接创建实例 + DryRun *bool `json:"DryRun,omitempty" name:"DryRun"` + + // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 + ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` + + // 实例登录密码信息配置。本字段目前仅支持WINDOWS实例进行密码设置。默认缺失情况下代表用户选择实例创建后设置登录密码。 + LoginConfiguration *LoginConfiguration `json:"LoginConfiguration,omitempty" name:"LoginConfiguration"` + + // 要创建的容器配置列表。 + Containers []*DockerContainerConfiguration `json:"Containers,omitempty" name:"Containers"` +} + +func (r *CreateInstancesRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateInstancesRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "BundleId") + delete(f, "BlueprintId") + delete(f, "InstanceChargePrepaid") + delete(f, "InstanceName") + delete(f, "InstanceCount") + delete(f, "Zones") + delete(f, "DryRun") + delete(f, "ClientToken") + delete(f, "LoginConfiguration") + delete(f, "Containers") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateInstancesRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type CreateInstancesResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 当通过本接口来创建实例时会返回该参数,表示一个或多个实例ID。返回实例ID列表并不代表实例创建成功。 + // + // 可根据 DescribeInstances 接口查询返回的InstancesSet中对应实例的ID的状态来判断创建是否完成;如果实例状态由“启动中”变为“运行中”,则为创建成功。 + InstanceIdSet []*string `json:"InstanceIdSet,omitempty" name:"InstanceIdSet"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *CreateInstancesResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateInstancesResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type CreateKeyPairRequest struct { *tchttp.BaseRequest @@ -1834,7 +1934,7 @@ type DescribeInstancesRequest struct { //
  • instance-state
  • 按照【实例状态】进行过滤。 // 类型:String // 必选:否 - // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 InstanceIds 和 Filters。 + // 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 100。参数不支持同时指定 InstanceIds 和 Filters。 Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // 偏移量,默认为 0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/product/1207/47578)中的相关小节。 @@ -2755,6 +2855,53 @@ type DiskReturnable struct { ReturnFailMessage *string `json:"ReturnFailMessage,omitempty" name:"ReturnFailMessage"` } +type DockerContainerConfiguration struct { + + // 容器镜像地址 + ContainerImage *string `json:"ContainerImage,omitempty" name:"ContainerImage"` + + // 容器名称 + ContainerName *string `json:"ContainerName,omitempty" name:"ContainerName"` + + // 环境变量列表 + Envs []*ContainerEnv `json:"Envs,omitempty" name:"Envs"` + + // 容器端口主机端口映射列表 + PublishPorts []*DockerContainerPublishPort `json:"PublishPorts,omitempty" name:"PublishPorts"` + + // 容器加载本地卷列表 + Volumes []*DockerContainerVolume `json:"Volumes,omitempty" name:"Volumes"` + + // 运行的命令 + Command *string `json:"Command,omitempty" name:"Command"` +} + +type DockerContainerPublishPort struct { + + // 主机端口 + HostPort *int64 `json:"HostPort,omitempty" name:"HostPort"` + + // 容器端口 + ContainerPort *int64 `json:"ContainerPort,omitempty" name:"ContainerPort"` + + // 对外绑定IP,默认0.0.0.0 + // 注意:此字段可能返回 null,表示取不到有效值。 + Ip *string `json:"Ip,omitempty" name:"Ip"` + + // 协议,默认tcp,支持tcp/udp/sctp + // 注意:此字段可能返回 null,表示取不到有效值。 + Protocol *string `json:"Protocol,omitempty" name:"Protocol"` +} + +type DockerContainerVolume struct { + + // 容器路径 + ContainerPath *string `json:"ContainerPath,omitempty" name:"ContainerPath"` + + // 主机路径 + HostPath *string `json:"HostPath,omitempty" name:"HostPath"` +} + type Filter struct { // 需要过滤的字段。 @@ -3351,6 +3498,9 @@ type KeyPair struct { PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"` } +type LoginConfiguration struct { +} + type LoginSettings struct { // 密钥 ID 列表。关联密钥后,就可以通过对应的私钥来访问实例。注意:此字段可能返回 [],表示取不到有效值。 diff --git a/tencentcloud/live/go.mod b/tencentcloud/live/go.mod index 6698b88553..6326022851 100644 --- a/tencentcloud/live/go.mod +++ b/tencentcloud/live/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/live go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/lowcode/go.mod b/tencentcloud/lowcode/go.mod index a7848d4741..40060f33e9 100644 --- a/tencentcloud/lowcode/go.mod +++ b/tencentcloud/lowcode/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lowcode go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/lp/go.mod b/tencentcloud/lp/go.mod index ec29ac4bc0..caa367e7db 100644 --- a/tencentcloud/lp/go.mod +++ b/tencentcloud/lp/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lp go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/mariadb/go.mod b/tencentcloud/mariadb/go.mod index cc9979d109..9a948ffe71 100644 --- a/tencentcloud/mariadb/go.mod +++ b/tencentcloud/mariadb/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mariadb go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/market/go.mod b/tencentcloud/market/go.mod index b8308bd601..040ad60fd8 100644 --- a/tencentcloud/market/go.mod +++ b/tencentcloud/market/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/market go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/memcached/go.mod b/tencentcloud/memcached/go.mod index d745c5d298..6caa48e4d0 100644 --- a/tencentcloud/memcached/go.mod +++ b/tencentcloud/memcached/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/memcached go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/mgobe/go.mod b/tencentcloud/mgobe/go.mod index cc1899c7c0..6d12ac34a9 100644 --- a/tencentcloud/mgobe/go.mod +++ b/tencentcloud/mgobe/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mgobe go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/mna/go.mod b/tencentcloud/mna/go.mod index 67e9273c4d..63492ffee3 100644 --- a/tencentcloud/mna/go.mod +++ b/tencentcloud/mna/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mna go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/mongodb/go.mod b/tencentcloud/mongodb/go.mod index ae8c89eaa5..6ac6517f8b 100644 --- a/tencentcloud/mongodb/go.mod +++ b/tencentcloud/mongodb/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mongodb go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/monitor/go.mod b/tencentcloud/monitor/go.mod index a5e5dbd52d..f1ebceed5d 100644 --- a/tencentcloud/monitor/go.mod +++ b/tencentcloud/monitor/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/monitor go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/monitor/v20180724/models.go b/tencentcloud/monitor/v20180724/models.go index 8f9dd3461a..e2d192a411 100644 --- a/tencentcloud/monitor/v20180724/models.go +++ b/tencentcloud/monitor/v20180724/models.go @@ -290,6 +290,10 @@ type AlarmPolicy struct { // 标签 // 注意:此字段可能返回 null,表示取不到有效值。 TagInstances []*TagInstance `json:"TagInstances,omitempty" name:"TagInstances"` + + // 策略关联的过滤维度信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + FilterDimensionsParam *string `json:"FilterDimensionsParam,omitempty" name:"FilterDimensionsParam"` } type AlarmPolicyCondition struct { @@ -1948,6 +1952,9 @@ type DescribeAlarmPoliciesRequest struct { // 实例分组id InstanceGroupId *int64 `json:"InstanceGroupId,omitempty" name:"InstanceGroupId"` + + // 是否需要策略与入参过滤维度参数的对应关系,1:是 0:否,默认为0 + NeedCorrespondence *int64 `json:"NeedCorrespondence,omitempty" name:"NeedCorrespondence"` } func (r *DescribeAlarmPoliciesRequest) ToJsonString() string { @@ -1980,6 +1987,7 @@ func (r *DescribeAlarmPoliciesRequest) FromJsonString(s string) error { delete(f, "Enable") delete(f, "NotBindingNoticeRule") delete(f, "InstanceGroupId") + delete(f, "NeedCorrespondence") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAlarmPoliciesRequest has unknown keys!", "") } @@ -5604,7 +5612,7 @@ type UserNotice struct { // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` - // 通知渠道列表 EMAIL=邮件 SMS=短信 CALL=电话 WECHAT=微信 + // 通知渠道列表 EMAIL=邮件 SMS=短信 CALL=电话 WECHAT=微信 RTX=企业微信 // 注意:此字段可能返回 null,表示取不到有效值。 NoticeWay []*string `json:"NoticeWay,omitempty" name:"NoticeWay"` @@ -5635,4 +5643,8 @@ type UserNotice struct { // 是否需要触达通知 0=否 1=是 // 注意:此字段可能返回 null,表示取不到有效值。 NeedPhoneArriveNotice *int64 `json:"NeedPhoneArriveNotice,omitempty" name:"NeedPhoneArriveNotice"` + + // 电话拨打类型 SYNC=同时拨打 CIRCLE=轮询拨打 不指定时默认是轮询 + // 注意:此字段可能返回 null,表示取不到有效值。 + PhoneCallType *string `json:"PhoneCallType,omitempty" name:"PhoneCallType"` } diff --git a/tencentcloud/mps/go.mod b/tencentcloud/mps/go.mod index 534a3435a1..10e587b4b1 100644 --- a/tencentcloud/mps/go.mod +++ b/tencentcloud/mps/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mps go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/mrs/go.mod b/tencentcloud/mrs/go.mod index dd5a243eef..fcfc0dcf06 100644 --- a/tencentcloud/mrs/go.mod +++ b/tencentcloud/mrs/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mrs go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ms/go.mod b/tencentcloud/ms/go.mod index 7ebd0c8f87..d9996e076b 100644 --- a/tencentcloud/ms/go.mod +++ b/tencentcloud/ms/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ms go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/msp/go.mod b/tencentcloud/msp/go.mod index eae7581791..7aa48c3ec3 100644 --- a/tencentcloud/msp/go.mod +++ b/tencentcloud/msp/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/msp go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/mvj/go.mod b/tencentcloud/mvj/go.mod index 5221f668bd..075b65304b 100644 --- a/tencentcloud/mvj/go.mod +++ b/tencentcloud/mvj/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mvj go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/nlp/go.mod b/tencentcloud/nlp/go.mod index bb3f2503e1..d2ef4c7b61 100644 --- a/tencentcloud/nlp/go.mod +++ b/tencentcloud/nlp/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/nlp go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/npp/go.mod b/tencentcloud/npp/go.mod index 3f6ac83103..060e25c070 100644 --- a/tencentcloud/npp/go.mod +++ b/tencentcloud/npp/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/npp go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/oceanus/go.mod b/tencentcloud/oceanus/go.mod index ba14cd07b9..733b7c2525 100644 --- a/tencentcloud/oceanus/go.mod +++ b/tencentcloud/oceanus/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/oceanus go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ocr/go.mod b/tencentcloud/ocr/go.mod index 16fb96cc2d..7aa768f605 100644 --- a/tencentcloud/ocr/go.mod +++ b/tencentcloud/ocr/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ocr go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/organization/go.mod b/tencentcloud/organization/go.mod index 358b29db91..6e6f48001b 100644 --- a/tencentcloud/organization/go.mod +++ b/tencentcloud/organization/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/organization go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/organization/v20210331/client.go b/tencentcloud/organization/v20210331/client.go index 9a6eb8d083..85200b0e9f 100644 --- a/tencentcloud/organization/v20210331/client.go +++ b/tencentcloud/organization/v20210331/client.go @@ -148,8 +148,11 @@ func NewCreateOrganizationMemberResponse() (response *CreateOrganizationMemberRe // RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist" // UNSUPPORTEDOPERATION_ADDDELEGATEPAYERNOTALLOW = "UnsupportedOperation.AddDelegatePayerNotAllow" // UNSUPPORTEDOPERATION_ADDDISCOUNTINHERITNOTALLOW = "UnsupportedOperation.AddDiscountInheritNotAllow" +// UNSUPPORTEDOPERATION_INCONSISTENTUSERTYPES = "UnsupportedOperation.InconsistentUserTypes" +// UNSUPPORTEDOPERATION_MANAGEMENTSYSTEMERROR = "UnsupportedOperation.ManagementSystemError" // UNSUPPORTEDOPERATION_MEMBERACCOUNTARREARS = "UnsupportedOperation.MemberAccountArrears" // UNSUPPORTEDOPERATION_MEMBERDISCOUNTINHERITEXISTED = "UnsupportedOperation.MemberDiscountInheritExisted" +// UNSUPPORTEDOPERATION_MEMBERISAGENT = "UnsupportedOperation.MemberIsAgent" // UNSUPPORTEDOPERATION_ORDERINPROGRESSEXISTED = "UnsupportedOperation.OrderInProgressExisted" // UNSUPPORTEDOPERATION_OWNERDISCOUNTINHERITEXISTED = "UnsupportedOperation.OwnerDiscountInheritExisted" // UNSUPPORTEDOPERATION_PAYERARREARSANDNOCREDITACCOUNT = "UnsupportedOperation.PayerArrearsAndNoCreditAccount" @@ -188,8 +191,11 @@ func (c *Client) CreateOrganizationMember(request *CreateOrganizationMemberReque // RESOURCENOTFOUND_ORGANIZATIONNOTEXIST = "ResourceNotFound.OrganizationNotExist" // UNSUPPORTEDOPERATION_ADDDELEGATEPAYERNOTALLOW = "UnsupportedOperation.AddDelegatePayerNotAllow" // UNSUPPORTEDOPERATION_ADDDISCOUNTINHERITNOTALLOW = "UnsupportedOperation.AddDiscountInheritNotAllow" +// UNSUPPORTEDOPERATION_INCONSISTENTUSERTYPES = "UnsupportedOperation.InconsistentUserTypes" +// UNSUPPORTEDOPERATION_MANAGEMENTSYSTEMERROR = "UnsupportedOperation.ManagementSystemError" // UNSUPPORTEDOPERATION_MEMBERACCOUNTARREARS = "UnsupportedOperation.MemberAccountArrears" // UNSUPPORTEDOPERATION_MEMBERDISCOUNTINHERITEXISTED = "UnsupportedOperation.MemberDiscountInheritExisted" +// UNSUPPORTEDOPERATION_MEMBERISAGENT = "UnsupportedOperation.MemberIsAgent" // UNSUPPORTEDOPERATION_ORDERINPROGRESSEXISTED = "UnsupportedOperation.OrderInProgressExisted" // UNSUPPORTEDOPERATION_OWNERDISCOUNTINHERITEXISTED = "UnsupportedOperation.OwnerDiscountInheritExisted" // UNSUPPORTEDOPERATION_PAYERARREARSANDNOCREDITACCOUNT = "UnsupportedOperation.PayerArrearsAndNoCreditAccount" diff --git a/tencentcloud/organization/v20210331/errors.go b/tencentcloud/organization/v20210331/errors.go index 21500dc734..43de46e483 100644 --- a/tencentcloud/organization/v20210331/errors.go +++ b/tencentcloud/organization/v20210331/errors.go @@ -95,12 +95,21 @@ const ( // 不允许添加优惠继承关系。 UNSUPPORTEDOPERATION_ADDDISCOUNTINHERITNOTALLOW = "UnsupportedOperation.AddDiscountInheritNotAllow" + // 用户类型不一致。 + UNSUPPORTEDOPERATION_INCONSISTENTUSERTYPES = "UnsupportedOperation.InconsistentUserTypes" + + // 调用经管系统报错。 + UNSUPPORTEDOPERATION_MANAGEMENTSYSTEMERROR = "UnsupportedOperation.ManagementSystemError" + // 成员账户欠费。 UNSUPPORTEDOPERATION_MEMBERACCOUNTARREARS = "UnsupportedOperation.MemberAccountArrears" // 成员存在优惠继承。 UNSUPPORTEDOPERATION_MEMBERDISCOUNTINHERITEXISTED = "UnsupportedOperation.MemberDiscountInheritExisted" + // 成员是代理商或代客。 + UNSUPPORTEDOPERATION_MEMBERISAGENT = "UnsupportedOperation.MemberIsAgent" + // 存在在途订单。 UNSUPPORTEDOPERATION_ORDERINPROGRESSEXISTED = "UnsupportedOperation.OrderInProgressExisted" diff --git a/tencentcloud/organization/v20210331/models.go b/tencentcloud/organization/v20210331/models.go index 881f279647..f2abcd3d1b 100644 --- a/tencentcloud/organization/v20210331/models.go +++ b/tencentcloud/organization/v20210331/models.go @@ -83,10 +83,10 @@ type CreateOrganizationMemberRequest struct { // 关系策略 取值:Financial PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"` - // 关系权限 + // 关系权限 取值:1-查看账单、2-查看余额、3-资金划拨、4-合并出账、5-开票 ,1、2 默认必须 PermissionIds []*uint64 `json:"PermissionIds,omitempty" name:"PermissionIds"` - // 需要调节的节点 + // 成员所属部门的节点ID NodeId *int64 `json:"NodeId,omitempty" name:"NodeId"` // 账号名 diff --git a/tencentcloud/partners/go.mod b/tencentcloud/partners/go.mod index 5a89807599..b35e5cdbc2 100644 --- a/tencentcloud/partners/go.mod +++ b/tencentcloud/partners/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/partners go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/pds/go.mod b/tencentcloud/pds/go.mod index 66e5deecc6..8bfd9279f4 100644 --- a/tencentcloud/pds/go.mod +++ b/tencentcloud/pds/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pds go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/postgres/go.mod b/tencentcloud/postgres/go.mod index 29703c9667..f72d1ee271 100644 --- a/tencentcloud/postgres/go.mod +++ b/tencentcloud/postgres/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/postgres go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/privatedns/go.mod b/tencentcloud/privatedns/go.mod index c3c898347e..c5e4146242 100644 --- a/tencentcloud/privatedns/go.mod +++ b/tencentcloud/privatedns/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/privatedns go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/privatedns/v20201028/client.go b/tencentcloud/privatedns/v20201028/client.go index 7c30b46844..ad1796a100 100644 --- a/tencentcloud/privatedns/v20201028/client.go +++ b/tencentcloud/privatedns/v20201028/client.go @@ -1403,6 +1403,7 @@ func NewModifyPrivateZoneResponse() (response *ModifyPrivateZoneResponse) { // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" @@ -1439,6 +1440,7 @@ func (c *Client) ModifyPrivateZone(request *ModifyPrivateZoneRequest) (response // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_SERVICENOTSUBSCRIBED = "ResourceNotFound.ServiceNotSubscribed" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" diff --git a/tencentcloud/rce/go.mod b/tencentcloud/rce/go.mod index 8f31ea0dfa..83938f95e3 100644 --- a/tencentcloud/rce/go.mod +++ b/tencentcloud/rce/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rce go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/redis/go.mod b/tencentcloud/redis/go.mod index 1a8220e71c..8283b0e3cc 100644 --- a/tencentcloud/redis/go.mod +++ b/tencentcloud/redis/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/rkp/go.mod b/tencentcloud/rkp/go.mod index 59ff9bb379..e90643f85e 100644 --- a/tencentcloud/rkp/go.mod +++ b/tencentcloud/rkp/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rkp go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/rp/go.mod b/tencentcloud/rp/go.mod index ae1ada402d..cc29f3a520 100644 --- a/tencentcloud/rp/go.mod +++ b/tencentcloud/rp/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rp go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/rum/go.mod b/tencentcloud/rum/go.mod index 4ae3abaef0..4f8a902e1d 100644 --- a/tencentcloud/rum/go.mod +++ b/tencentcloud/rum/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rum go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/rum/v20210622/client.go b/tencentcloud/rum/v20210622/client.go index 9ef77b6c49..261daf46b3 100644 --- a/tencentcloud/rum/v20210622/client.go +++ b/tencentcloud/rum/v20210622/client.go @@ -44,6 +44,118 @@ func NewClient(credential common.CredentialIface, region string, clientProfile * } +func NewCreateLogExportRequest() (request *CreateLogExportRequest) { + request = &CreateLogExportRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "CreateLogExport") + + + return +} + +func NewCreateLogExportResponse() (response *CreateLogExportResponse) { + response = &CreateLogExportResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateLogExport +// 接口请求域名: rum.tencentcloudapi.com 。 +// +// +// +// 本接口用于创建日志下载任务 +// +// +// +// 默认接口请求频率限制:20次/秒。 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) CreateLogExport(request *CreateLogExportRequest) (response *CreateLogExportResponse, err error) { + if request == nil { + request = NewCreateLogExportRequest() + } + + response = NewCreateLogExportResponse() + err = c.Send(request, response) + return +} + +// CreateLogExport +// 接口请求域名: rum.tencentcloudapi.com 。 +// +// +// +// 本接口用于创建日志下载任务 +// +// +// +// 默认接口请求频率限制:20次/秒。 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) CreateLogExportWithContext(ctx context.Context, request *CreateLogExportRequest) (response *CreateLogExportResponse, err error) { + if request == nil { + request = NewCreateLogExportRequest() + } + request.SetContext(ctx) + + response = NewCreateLogExportResponse() + err = c.Send(request, response) + return +} + +func NewCreateOfflineLogConfigRequest() (request *CreateOfflineLogConfigRequest) { + request = &CreateOfflineLogConfigRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "CreateOfflineLogConfig") + + + return +} + +func NewCreateOfflineLogConfigResponse() (response *CreateOfflineLogConfigResponse) { + response = &CreateOfflineLogConfigResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateOfflineLogConfig +// 创建离线日志监听,对应用户的离线日志将上报 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) CreateOfflineLogConfig(request *CreateOfflineLogConfigRequest) (response *CreateOfflineLogConfigResponse, err error) { + if request == nil { + request = NewCreateOfflineLogConfigRequest() + } + + response = NewCreateOfflineLogConfigResponse() + err = c.Send(request, response) + return +} + +// CreateOfflineLogConfig +// 创建离线日志监听,对应用户的离线日志将上报 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) CreateOfflineLogConfigWithContext(ctx context.Context, request *CreateOfflineLogConfigRequest) (response *CreateOfflineLogConfigResponse, err error) { + if request == nil { + request = NewCreateOfflineLogConfigRequest() + } + request.SetContext(ctx) + + response = NewCreateOfflineLogConfigResponse() + err = c.Send(request, response) + return +} + func NewCreateProjectRequest() (request *CreateProjectRequest) { request = &CreateProjectRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -108,25 +220,25 @@ func (c *Client) CreateProjectWithContext(ctx context.Context, request *CreatePr return } -func NewDescribeDataEventUrlRequest() (request *DescribeDataEventUrlRequest) { - request = &DescribeDataEventUrlRequest{ +func NewCreateReleaseFileRequest() (request *CreateReleaseFileRequest) { + request = &CreateReleaseFileRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("rum", APIVersion, "DescribeDataEventUrl") + request.Init().WithApiInfo("rum", APIVersion, "CreateReleaseFile") return } -func NewDescribeDataEventUrlResponse() (response *DescribeDataEventUrlResponse) { - response = &DescribeDataEventUrlResponse{ +func NewCreateReleaseFileResponse() (response *CreateReleaseFileResponse) { + response = &CreateReleaseFileResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeDataEventUrl -// 获取DescribeDataEventUrl信息 +// CreateReleaseFile +// 创建对应项目的文件记录 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -134,7 +246,6 @@ func NewDescribeDataEventUrlResponse() (response *DescribeDataEventUrlResponse) // FAILEDOPERATION = "FailedOperation" // FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" // FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" -// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" @@ -151,18 +262,18 @@ func NewDescribeDataEventUrlResponse() (response *DescribeDataEventUrlResponse) // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeDataEventUrl(request *DescribeDataEventUrlRequest) (response *DescribeDataEventUrlResponse, err error) { +func (c *Client) CreateReleaseFile(request *CreateReleaseFileRequest) (response *CreateReleaseFileResponse, err error) { if request == nil { - request = NewDescribeDataEventUrlRequest() + request = NewCreateReleaseFileRequest() } - response = NewDescribeDataEventUrlResponse() + response = NewCreateReleaseFileResponse() err = c.Send(request, response) return } -// DescribeDataEventUrl -// 获取DescribeDataEventUrl信息 +// CreateReleaseFile +// 创建对应项目的文件记录 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -170,7 +281,6 @@ func (c *Client) DescribeDataEventUrl(request *DescribeDataEventUrlRequest) (res // FAILEDOPERATION = "FailedOperation" // FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" // FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" -// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" @@ -187,36 +297,36 @@ func (c *Client) DescribeDataEventUrl(request *DescribeDataEventUrlRequest) (res // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeDataEventUrlWithContext(ctx context.Context, request *DescribeDataEventUrlRequest) (response *DescribeDataEventUrlResponse, err error) { +func (c *Client) CreateReleaseFileWithContext(ctx context.Context, request *CreateReleaseFileRequest) (response *CreateReleaseFileResponse, err error) { if request == nil { - request = NewDescribeDataEventUrlRequest() + request = NewCreateReleaseFileRequest() } request.SetContext(ctx) - response = NewDescribeDataEventUrlResponse() + response = NewCreateReleaseFileResponse() err = c.Send(request, response) return } -func NewDescribeDataFetchUrlRequest() (request *DescribeDataFetchUrlRequest) { - request = &DescribeDataFetchUrlRequest{ +func NewCreateStarProjectRequest() (request *CreateStarProjectRequest) { + request = &CreateStarProjectRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("rum", APIVersion, "DescribeDataFetchUrl") + request.Init().WithApiInfo("rum", APIVersion, "CreateStarProject") return } -func NewDescribeDataFetchUrlResponse() (response *DescribeDataFetchUrlResponse) { - response = &DescribeDataFetchUrlResponse{ +func NewCreateStarProjectResponse() (response *CreateStarProjectResponse) { + response = &CreateStarProjectResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeDataFetchUrl -// 获取DescribeDataFetchUrl信息 +// CreateStarProject +// 个人用户添加星标项目 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -224,7 +334,6 @@ func NewDescribeDataFetchUrlResponse() (response *DescribeDataFetchUrlResponse) // FAILEDOPERATION = "FailedOperation" // FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" // FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" -// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" @@ -235,24 +344,23 @@ func NewDescribeDataFetchUrlResponse() (response *DescribeDataFetchUrlResponse) // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeDataFetchUrl(request *DescribeDataFetchUrlRequest) (response *DescribeDataFetchUrlResponse, err error) { +func (c *Client) CreateStarProject(request *CreateStarProjectRequest) (response *CreateStarProjectResponse, err error) { if request == nil { - request = NewDescribeDataFetchUrlRequest() + request = NewCreateStarProjectRequest() } - response = NewDescribeDataFetchUrlResponse() + response = NewCreateStarProjectResponse() err = c.Send(request, response) return } -// DescribeDataFetchUrl -// 获取DescribeDataFetchUrl信息 +// CreateStarProject +// 个人用户添加星标项目 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -260,7 +368,6 @@ func (c *Client) DescribeDataFetchUrl(request *DescribeDataFetchUrlRequest) (res // FAILEDOPERATION = "FailedOperation" // FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" // FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" -// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" @@ -271,42 +378,95 @@ func (c *Client) DescribeDataFetchUrl(request *DescribeDataFetchUrlRequest) (res // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeDataFetchUrlWithContext(ctx context.Context, request *DescribeDataFetchUrlRequest) (response *DescribeDataFetchUrlResponse, err error) { +func (c *Client) CreateStarProjectWithContext(ctx context.Context, request *CreateStarProjectRequest) (response *CreateStarProjectResponse, err error) { if request == nil { - request = NewDescribeDataFetchUrlRequest() + request = NewCreateStarProjectRequest() } request.SetContext(ctx) - response = NewDescribeDataFetchUrlResponse() + response = NewCreateStarProjectResponse() err = c.Send(request, response) return } -func NewDescribeDataFetchUrlInfoRequest() (request *DescribeDataFetchUrlInfoRequest) { - request = &DescribeDataFetchUrlInfoRequest{ +func NewCreateTawInstanceRequest() (request *CreateTawInstanceRequest) { + request = &CreateTawInstanceRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("rum", APIVersion, "DescribeDataFetchUrlInfo") + request.Init().WithApiInfo("rum", APIVersion, "CreateTawInstance") return } -func NewDescribeDataFetchUrlInfoResponse() (response *DescribeDataFetchUrlInfoResponse) { - response = &DescribeDataFetchUrlInfoResponse{ +func NewCreateTawInstanceResponse() (response *CreateTawInstanceResponse) { + response = &CreateTawInstanceResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeDataFetchUrlInfo -// 获取DescribeDataFetchUrlInfo信息 +// CreateTawInstance +// 创建Rum实例 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +func (c *Client) CreateTawInstance(request *CreateTawInstanceRequest) (response *CreateTawInstanceResponse, err error) { + if request == nil { + request = NewCreateTawInstanceRequest() + } + + response = NewCreateTawInstanceResponse() + err = c.Send(request, response) + return +} + +// CreateTawInstance +// 创建Rum实例 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +func (c *Client) CreateTawInstanceWithContext(ctx context.Context, request *CreateTawInstanceRequest) (response *CreateTawInstanceResponse, err error) { + if request == nil { + request = NewCreateTawInstanceRequest() + } + request.SetContext(ctx) + + response = NewCreateTawInstanceResponse() + err = c.Send(request, response) + return +} + +func NewCreateWhitelistRequest() (request *CreateWhitelistRequest) { + request = &CreateWhitelistRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "CreateWhitelist") + + + return +} + +func NewCreateWhitelistResponse() (response *CreateWhitelistResponse) { + response = &CreateWhitelistResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// CreateWhitelist +// 创建白名单 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -314,7 +474,6 @@ func NewDescribeDataFetchUrlInfoResponse() (response *DescribeDataFetchUrlInfoRe // FAILEDOPERATION = "FailedOperation" // FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" // FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" -// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" @@ -325,24 +484,23 @@ func NewDescribeDataFetchUrlInfoResponse() (response *DescribeDataFetchUrlInfoRe // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeDataFetchUrlInfo(request *DescribeDataFetchUrlInfoRequest) (response *DescribeDataFetchUrlInfoResponse, err error) { +func (c *Client) CreateWhitelist(request *CreateWhitelistRequest) (response *CreateWhitelistResponse, err error) { if request == nil { - request = NewDescribeDataFetchUrlInfoRequest() + request = NewCreateWhitelistRequest() } - response = NewDescribeDataFetchUrlInfoResponse() + response = NewCreateWhitelistResponse() err = c.Send(request, response) return } -// DescribeDataFetchUrlInfo -// 获取DescribeDataFetchUrlInfo信息 +// CreateWhitelist +// 创建白名单 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -350,7 +508,6 @@ func (c *Client) DescribeDataFetchUrlInfo(request *DescribeDataFetchUrlInfoReque // FAILEDOPERATION = "FailedOperation" // FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" // FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" -// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" @@ -361,220 +518,201 @@ func (c *Client) DescribeDataFetchUrlInfo(request *DescribeDataFetchUrlInfoReque // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeDataFetchUrlInfoWithContext(ctx context.Context, request *DescribeDataFetchUrlInfoRequest) (response *DescribeDataFetchUrlInfoResponse, err error) { +func (c *Client) CreateWhitelistWithContext(ctx context.Context, request *CreateWhitelistRequest) (response *CreateWhitelistResponse, err error) { if request == nil { - request = NewDescribeDataFetchUrlInfoRequest() + request = NewCreateWhitelistRequest() } request.SetContext(ctx) - response = NewDescribeDataFetchUrlInfoResponse() + response = NewCreateWhitelistResponse() err = c.Send(request, response) return } -func NewDescribeDataLogUrlStatisticsRequest() (request *DescribeDataLogUrlStatisticsRequest) { - request = &DescribeDataLogUrlStatisticsRequest{ +func NewDeleteInstanceRequest() (request *DeleteInstanceRequest) { + request = &DeleteInstanceRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("rum", APIVersion, "DescribeDataLogUrlStatistics") + request.Init().WithApiInfo("rum", APIVersion, "DeleteInstance") return } -func NewDescribeDataLogUrlStatisticsResponse() (response *DescribeDataLogUrlStatisticsResponse) { - response = &DescribeDataLogUrlStatisticsResponse{ +func NewDeleteInstanceResponse() (response *DeleteInstanceResponse) { + response = &DeleteInstanceResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeDataLogUrlStatistics -// 获取LogUrlStatistics信息 +// DeleteInstance +// 删除实例,谨慎操作,不可恢复 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" -// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" -// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" // INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeDataLogUrlStatistics(request *DescribeDataLogUrlStatisticsRequest) (response *DescribeDataLogUrlStatisticsResponse, err error) { +func (c *Client) DeleteInstance(request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error) { if request == nil { - request = NewDescribeDataLogUrlStatisticsRequest() + request = NewDeleteInstanceRequest() } - response = NewDescribeDataLogUrlStatisticsResponse() + response = NewDeleteInstanceResponse() err = c.Send(request, response) return } -// DescribeDataLogUrlStatistics -// 获取LogUrlStatistics信息 +// DeleteInstance +// 删除实例,谨慎操作,不可恢复 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" -// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" -// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" // INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" // RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeDataLogUrlStatisticsWithContext(ctx context.Context, request *DescribeDataLogUrlStatisticsRequest) (response *DescribeDataLogUrlStatisticsResponse, err error) { +func (c *Client) DeleteInstanceWithContext(ctx context.Context, request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error) { if request == nil { - request = NewDescribeDataLogUrlStatisticsRequest() + request = NewDeleteInstanceRequest() } request.SetContext(ctx) - response = NewDescribeDataLogUrlStatisticsResponse() + response = NewDeleteInstanceResponse() err = c.Send(request, response) return } -func NewDescribeDataPerformancePageRequest() (request *DescribeDataPerformancePageRequest) { - request = &DescribeDataPerformancePageRequest{ +func NewDeleteLogExportRequest() (request *DeleteLogExportRequest) { + request = &DeleteLogExportRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("rum", APIVersion, "DescribeDataPerformancePage") + request.Init().WithApiInfo("rum", APIVersion, "DeleteLogExport") return } -func NewDescribeDataPerformancePageResponse() (response *DescribeDataPerformancePageResponse) { - response = &DescribeDataPerformancePageResponse{ +func NewDeleteLogExportResponse() (response *DeleteLogExportResponse) { + response = &DeleteLogExportResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeDataPerformancePage -// 获取PerformancePage信息 +// DeleteLogExport +// 接口请求域名: rum.tencentcloudapi.com 。 +// +// +// +// 本接口用于删除日志下载任务 +// +// +// +// 默认接口请求频率限制:20次/秒。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" -// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" -// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" // INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" // RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeDataPerformancePage(request *DescribeDataPerformancePageRequest) (response *DescribeDataPerformancePageResponse, err error) { +func (c *Client) DeleteLogExport(request *DeleteLogExportRequest) (response *DeleteLogExportResponse, err error) { if request == nil { - request = NewDescribeDataPerformancePageRequest() + request = NewDeleteLogExportRequest() } - response = NewDescribeDataPerformancePageResponse() + response = NewDeleteLogExportResponse() err = c.Send(request, response) return } -// DescribeDataPerformancePage -// 获取PerformancePage信息 +// DeleteLogExport +// 接口请求域名: rum.tencentcloudapi.com 。 +// +// +// +// 本接口用于删除日志下载任务 +// +// +// +// 默认接口请求频率限制:20次/秒。 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" -// DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" -// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" -// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" // INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" // LIMITEXCEEDED = "LimitExceeded" // MISSINGPARAMETER = "MissingParameter" // OPERATIONDENIED = "OperationDenied" -// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" // RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeDataPerformancePageWithContext(ctx context.Context, request *DescribeDataPerformancePageRequest) (response *DescribeDataPerformancePageResponse, err error) { +func (c *Client) DeleteLogExportWithContext(ctx context.Context, request *DeleteLogExportRequest) (response *DeleteLogExportResponse, err error) { if request == nil { - request = NewDescribeDataPerformancePageRequest() + request = NewDeleteLogExportRequest() } request.SetContext(ctx) - response = NewDescribeDataPerformancePageResponse() + response = NewDeleteLogExportResponse() err = c.Send(request, response) return } -func NewDescribeDataPvUrlStatisticsRequest() (request *DescribeDataPvUrlStatisticsRequest) { - request = &DescribeDataPvUrlStatisticsRequest{ +func NewDeleteOfflineLogConfigRequest() (request *DeleteOfflineLogConfigRequest) { + request = &DeleteOfflineLogConfigRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("rum", APIVersion, "DescribeDataPvUrlStatistics") + request.Init().WithApiInfo("rum", APIVersion, "DeleteOfflineLogConfig") return } -func NewDescribeDataPvUrlStatisticsResponse() (response *DescribeDataPvUrlStatisticsResponse) { - response = &DescribeDataPvUrlStatisticsResponse{ +func NewDeleteOfflineLogConfigResponse() (response *DeleteOfflineLogConfigResponse) { + response = &DeleteOfflineLogConfigResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeDataPvUrlStatistics -// 获取DescribeDataPvUrlStatistics信息 +// DeleteOfflineLogConfig +// 删除 rum 离线日志监听 - 对应用户的离线日志将不会上报 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -582,7 +720,6 @@ func NewDescribeDataPvUrlStatisticsResponse() (response *DescribeDataPvUrlStatis // FAILEDOPERATION = "FailedOperation" // FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" // FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" -// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" @@ -599,18 +736,18 @@ func NewDescribeDataPvUrlStatisticsResponse() (response *DescribeDataPvUrlStatis // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeDataPvUrlStatistics(request *DescribeDataPvUrlStatisticsRequest) (response *DescribeDataPvUrlStatisticsResponse, err error) { +func (c *Client) DeleteOfflineLogConfig(request *DeleteOfflineLogConfigRequest) (response *DeleteOfflineLogConfigResponse, err error) { if request == nil { - request = NewDescribeDataPvUrlStatisticsRequest() + request = NewDeleteOfflineLogConfigRequest() } - response = NewDescribeDataPvUrlStatisticsResponse() + response = NewDeleteOfflineLogConfigResponse() err = c.Send(request, response) return } -// DescribeDataPvUrlStatistics -// 获取DescribeDataPvUrlStatistics信息 +// DeleteOfflineLogConfig +// 删除 rum 离线日志监听 - 对应用户的离线日志将不会上报 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -618,7 +755,6 @@ func (c *Client) DescribeDataPvUrlStatistics(request *DescribeDataPvUrlStatistic // FAILEDOPERATION = "FailedOperation" // FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" // FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" -// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" @@ -635,36 +771,36 @@ func (c *Client) DescribeDataPvUrlStatistics(request *DescribeDataPvUrlStatistic // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeDataPvUrlStatisticsWithContext(ctx context.Context, request *DescribeDataPvUrlStatisticsRequest) (response *DescribeDataPvUrlStatisticsResponse, err error) { +func (c *Client) DeleteOfflineLogConfigWithContext(ctx context.Context, request *DeleteOfflineLogConfigRequest) (response *DeleteOfflineLogConfigResponse, err error) { if request == nil { - request = NewDescribeDataPvUrlStatisticsRequest() + request = NewDeleteOfflineLogConfigRequest() } request.SetContext(ctx) - response = NewDescribeDataPvUrlStatisticsResponse() + response = NewDeleteOfflineLogConfigResponse() err = c.Send(request, response) return } -func NewDescribeErrorRequest() (request *DescribeErrorRequest) { - request = &DescribeErrorRequest{ +func NewDeleteOfflineLogRecordRequest() (request *DeleteOfflineLogRecordRequest) { + request = &DeleteOfflineLogRecordRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("rum", APIVersion, "DescribeError") + request.Init().WithApiInfo("rum", APIVersion, "DeleteOfflineLogRecord") return } -func NewDescribeErrorResponse() (response *DescribeErrorResponse) { - response = &DescribeErrorResponse{ +func NewDeleteOfflineLogRecordResponse() (response *DeleteOfflineLogRecordResponse) { + response = &DeleteOfflineLogRecordResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeError -// 获取首页错误信息 +// DeleteOfflineLogRecord +// 删除对应的离线日志记录 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -682,23 +818,24 @@ func NewDescribeErrorResponse() (response *DescribeErrorResponse) { // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeError(request *DescribeErrorRequest) (response *DescribeErrorResponse, err error) { +func (c *Client) DeleteOfflineLogRecord(request *DeleteOfflineLogRecordRequest) (response *DeleteOfflineLogRecordResponse, err error) { if request == nil { - request = NewDescribeErrorRequest() + request = NewDeleteOfflineLogRecordRequest() } - response = NewDescribeErrorResponse() + response = NewDeleteOfflineLogRecordResponse() err = c.Send(request, response) return } -// DescribeError -// 获取首页错误信息 +// DeleteOfflineLogRecord +// 删除对应的离线日志记录 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -716,41 +853,90 @@ func (c *Client) DescribeError(request *DescribeErrorRequest) (response *Describ // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeErrorWithContext(ctx context.Context, request *DescribeErrorRequest) (response *DescribeErrorResponse, err error) { +func (c *Client) DeleteOfflineLogRecordWithContext(ctx context.Context, request *DeleteOfflineLogRecordRequest) (response *DeleteOfflineLogRecordResponse, err error) { if request == nil { - request = NewDescribeErrorRequest() + request = NewDeleteOfflineLogRecordRequest() } request.SetContext(ctx) - response = NewDescribeErrorResponse() + response = NewDeleteOfflineLogRecordResponse() err = c.Send(request, response) return } -func NewDescribeLogListRequest() (request *DescribeLogListRequest) { - request = &DescribeLogListRequest{ +func NewDeleteProjectRequest() (request *DeleteProjectRequest) { + request = &DeleteProjectRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("rum", APIVersion, "DescribeLogList") + request.Init().WithApiInfo("rum", APIVersion, "DeleteProject") return } -func NewDescribeLogListResponse() (response *DescribeLogListResponse) { - response = &DescribeLogListResponse{ +func NewDeleteProjectResponse() (response *DeleteProjectResponse) { + response = &DeleteProjectResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeLogList -// 获取项目下的日志列表(实例创建的项目下的日志列表) +// DeleteProject +// 删除给定的 rum 的项目 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error) { + if request == nil { + request = NewDeleteProjectRequest() + } + + response = NewDeleteProjectResponse() + err = c.Send(request, response) + return +} + +// DeleteProject +// 删除给定的 rum 的项目 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DeleteProjectWithContext(ctx context.Context, request *DeleteProjectRequest) (response *DeleteProjectResponse, err error) { + if request == nil { + request = NewDeleteProjectRequest() + } + request.SetContext(ctx) + + response = NewDeleteProjectResponse() + err = c.Send(request, response) + return +} + +func NewDeleteReleaseFileRequest() (request *DeleteReleaseFileRequest) { + request = &DeleteReleaseFileRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DeleteReleaseFile") + + + return +} + +func NewDeleteReleaseFileResponse() (response *DeleteReleaseFileResponse) { + response = &DeleteReleaseFileResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DeleteReleaseFile +// 将对应 sourcemap 文件删除 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -768,23 +954,24 @@ func NewDescribeLogListResponse() (response *DescribeLogListResponse) { // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeLogList(request *DescribeLogListRequest) (response *DescribeLogListResponse, err error) { +func (c *Client) DeleteReleaseFile(request *DeleteReleaseFileRequest) (response *DeleteReleaseFileResponse, err error) { if request == nil { - request = NewDescribeLogListRequest() + request = NewDeleteReleaseFileRequest() } - response = NewDescribeLogListResponse() + response = NewDeleteReleaseFileResponse() err = c.Send(request, response) return } -// DescribeLogList -// 获取项目下的日志列表(实例创建的项目下的日志列表) +// DeleteReleaseFile +// 将对应 sourcemap 文件删除 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -802,107 +989,128 @@ func (c *Client) DescribeLogList(request *DescribeLogListRequest) (response *Des // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeLogListWithContext(ctx context.Context, request *DescribeLogListRequest) (response *DescribeLogListResponse, err error) { +func (c *Client) DeleteReleaseFileWithContext(ctx context.Context, request *DeleteReleaseFileRequest) (response *DeleteReleaseFileResponse, err error) { if request == nil { - request = NewDescribeLogListRequest() + request = NewDeleteReleaseFileRequest() } request.SetContext(ctx) - response = NewDescribeLogListResponse() + response = NewDeleteReleaseFileResponse() err = c.Send(request, response) return } -func NewDescribeProjectsRequest() (request *DescribeProjectsRequest) { - request = &DescribeProjectsRequest{ +func NewDeleteStarProjectRequest() (request *DeleteStarProjectRequest) { + request = &DeleteStarProjectRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("rum", APIVersion, "DescribeProjects") + request.Init().WithApiInfo("rum", APIVersion, "DeleteStarProject") return } -func NewDescribeProjectsResponse() (response *DescribeProjectsResponse) { - response = &DescribeProjectsResponse{ +func NewDeleteStarProjectResponse() (response *DeleteStarProjectResponse) { + response = &DeleteStarProjectResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeProjects -// 获取项目列表(实例创建的团队下的项目列表) +// DeleteStarProject +// 删除用户名下的星标项目 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" // RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DescribeProjects(request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error) { +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DeleteStarProject(request *DeleteStarProjectRequest) (response *DeleteStarProjectResponse, err error) { if request == nil { - request = NewDescribeProjectsRequest() + request = NewDeleteStarProjectRequest() } - response = NewDescribeProjectsResponse() + response = NewDeleteStarProjectResponse() err = c.Send(request, response) return } -// DescribeProjects -// 获取项目列表(实例创建的团队下的项目列表) +// DeleteStarProject +// 删除用户名下的星标项目 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" // FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" // INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCEINSUFFICIENT = "ResourceInsufficient" // RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" // RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DescribeProjectsWithContext(ctx context.Context, request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error) { +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DeleteStarProjectWithContext(ctx context.Context, request *DeleteStarProjectRequest) (response *DeleteStarProjectResponse, err error) { if request == nil { - request = NewDescribeProjectsRequest() + request = NewDeleteStarProjectRequest() } request.SetContext(ctx) - response = NewDescribeProjectsResponse() + response = NewDeleteStarProjectResponse() err = c.Send(request, response) return } -func NewDescribeScoresRequest() (request *DescribeScoresRequest) { - request = &DescribeScoresRequest{ +func NewDeleteWhitelistRequest() (request *DeleteWhitelistRequest) { + request = &DeleteWhitelistRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("rum", APIVersion, "DescribeScores") + request.Init().WithApiInfo("rum", APIVersion, "DeleteWhitelist") return } -func NewDescribeScoresResponse() (response *DescribeScoresResponse) { - response = &DescribeScoresResponse{ +func NewDeleteWhitelistResponse() (response *DeleteWhitelistResponse) { + response = &DeleteWhitelistResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// DescribeScores -// 获取首页分数列表 +// DeleteWhitelist +// 删除白名单 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -925,18 +1133,18 @@ func NewDescribeScoresResponse() (response *DescribeScoresResponse) { // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeScores(request *DescribeScoresRequest) (response *DescribeScoresResponse, err error) { +func (c *Client) DeleteWhitelist(request *DeleteWhitelistRequest) (response *DeleteWhitelistResponse, err error) { if request == nil { - request = NewDescribeScoresRequest() + request = NewDeleteWhitelistRequest() } - response = NewDescribeScoresResponse() + response = NewDeleteWhitelistResponse() err = c.Send(request, response) return } -// DescribeScores -// 获取首页分数列表 +// DeleteWhitelist +// 删除白名单 // // 可能返回的错误码: // AUTHFAILURE = "AuthFailure" @@ -959,13 +1167,3189 @@ func (c *Client) DescribeScores(request *DescribeScoresRequest) (response *Descr // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNKNOWNPARAMETER = "UnknownParameter" // UNSUPPORTEDOPERATION = "UnsupportedOperation" -func (c *Client) DescribeScoresWithContext(ctx context.Context, request *DescribeScoresRequest) (response *DescribeScoresResponse, err error) { +func (c *Client) DeleteWhitelistWithContext(ctx context.Context, request *DeleteWhitelistRequest) (response *DeleteWhitelistResponse, err error) { if request == nil { - request = NewDescribeScoresRequest() + request = NewDeleteWhitelistRequest() } request.SetContext(ctx) - response = NewDescribeScoresResponse() + response = NewDeleteWhitelistResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataRequest() (request *DescribeDataRequest) { + request = &DescribeDataRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeData") + + + return +} + +func NewDescribeDataResponse() (response *DescribeDataResponse) { + response = &DescribeDataResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeData +// 转发monitor查询 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeData(request *DescribeDataRequest) (response *DescribeDataResponse, err error) { + if request == nil { + request = NewDescribeDataRequest() + } + + response = NewDescribeDataResponse() + err = c.Send(request, response) + return +} + +// DescribeData +// 转发monitor查询 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataWithContext(ctx context.Context, request *DescribeDataRequest) (response *DescribeDataResponse, err error) { + if request == nil { + request = NewDescribeDataRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataCustomUrlRequest() (request *DescribeDataCustomUrlRequest) { + request = &DescribeDataCustomUrlRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataCustomUrl") + + + return +} + +func NewDescribeDataCustomUrlResponse() (response *DescribeDataCustomUrlResponse) { + response = &DescribeDataCustomUrlResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataCustomUrl +// 获取DescribeDataCustomUrl信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataCustomUrl(request *DescribeDataCustomUrlRequest) (response *DescribeDataCustomUrlResponse, err error) { + if request == nil { + request = NewDescribeDataCustomUrlRequest() + } + + response = NewDescribeDataCustomUrlResponse() + err = c.Send(request, response) + return +} + +// DescribeDataCustomUrl +// 获取DescribeDataCustomUrl信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataCustomUrlWithContext(ctx context.Context, request *DescribeDataCustomUrlRequest) (response *DescribeDataCustomUrlResponse, err error) { + if request == nil { + request = NewDescribeDataCustomUrlRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataCustomUrlResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataEventUrlRequest() (request *DescribeDataEventUrlRequest) { + request = &DescribeDataEventUrlRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataEventUrl") + + + return +} + +func NewDescribeDataEventUrlResponse() (response *DescribeDataEventUrlResponse) { + response = &DescribeDataEventUrlResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataEventUrl +// 获取DescribeDataEventUrl信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataEventUrl(request *DescribeDataEventUrlRequest) (response *DescribeDataEventUrlResponse, err error) { + if request == nil { + request = NewDescribeDataEventUrlRequest() + } + + response = NewDescribeDataEventUrlResponse() + err = c.Send(request, response) + return +} + +// DescribeDataEventUrl +// 获取DescribeDataEventUrl信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataEventUrlWithContext(ctx context.Context, request *DescribeDataEventUrlRequest) (response *DescribeDataEventUrlResponse, err error) { + if request == nil { + request = NewDescribeDataEventUrlRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataEventUrlResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataFetchProjectRequest() (request *DescribeDataFetchProjectRequest) { + request = &DescribeDataFetchProjectRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataFetchProject") + + + return +} + +func NewDescribeDataFetchProjectResponse() (response *DescribeDataFetchProjectResponse) { + response = &DescribeDataFetchProjectResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataFetchProject +// 获取DescribeDataFetchProject信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataFetchProject(request *DescribeDataFetchProjectRequest) (response *DescribeDataFetchProjectResponse, err error) { + if request == nil { + request = NewDescribeDataFetchProjectRequest() + } + + response = NewDescribeDataFetchProjectResponse() + err = c.Send(request, response) + return +} + +// DescribeDataFetchProject +// 获取DescribeDataFetchProject信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataFetchProjectWithContext(ctx context.Context, request *DescribeDataFetchProjectRequest) (response *DescribeDataFetchProjectResponse, err error) { + if request == nil { + request = NewDescribeDataFetchProjectRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataFetchProjectResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataFetchUrlRequest() (request *DescribeDataFetchUrlRequest) { + request = &DescribeDataFetchUrlRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataFetchUrl") + + + return +} + +func NewDescribeDataFetchUrlResponse() (response *DescribeDataFetchUrlResponse) { + response = &DescribeDataFetchUrlResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataFetchUrl +// 获取DescribeDataFetchUrl信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataFetchUrl(request *DescribeDataFetchUrlRequest) (response *DescribeDataFetchUrlResponse, err error) { + if request == nil { + request = NewDescribeDataFetchUrlRequest() + } + + response = NewDescribeDataFetchUrlResponse() + err = c.Send(request, response) + return +} + +// DescribeDataFetchUrl +// 获取DescribeDataFetchUrl信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataFetchUrlWithContext(ctx context.Context, request *DescribeDataFetchUrlRequest) (response *DescribeDataFetchUrlResponse, err error) { + if request == nil { + request = NewDescribeDataFetchUrlRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataFetchUrlResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataFetchUrlInfoRequest() (request *DescribeDataFetchUrlInfoRequest) { + request = &DescribeDataFetchUrlInfoRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataFetchUrlInfo") + + + return +} + +func NewDescribeDataFetchUrlInfoResponse() (response *DescribeDataFetchUrlInfoResponse) { + response = &DescribeDataFetchUrlInfoResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataFetchUrlInfo +// 获取DescribeDataFetchUrlInfo信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataFetchUrlInfo(request *DescribeDataFetchUrlInfoRequest) (response *DescribeDataFetchUrlInfoResponse, err error) { + if request == nil { + request = NewDescribeDataFetchUrlInfoRequest() + } + + response = NewDescribeDataFetchUrlInfoResponse() + err = c.Send(request, response) + return +} + +// DescribeDataFetchUrlInfo +// 获取DescribeDataFetchUrlInfo信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataFetchUrlInfoWithContext(ctx context.Context, request *DescribeDataFetchUrlInfoRequest) (response *DescribeDataFetchUrlInfoResponse, err error) { + if request == nil { + request = NewDescribeDataFetchUrlInfoRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataFetchUrlInfoResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataLogUrlInfoRequest() (request *DescribeDataLogUrlInfoRequest) { + request = &DescribeDataLogUrlInfoRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataLogUrlInfo") + + + return +} + +func NewDescribeDataLogUrlInfoResponse() (response *DescribeDataLogUrlInfoResponse) { + response = &DescribeDataLogUrlInfoResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataLogUrlInfo +// 获取loginfo信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataLogUrlInfo(request *DescribeDataLogUrlInfoRequest) (response *DescribeDataLogUrlInfoResponse, err error) { + if request == nil { + request = NewDescribeDataLogUrlInfoRequest() + } + + response = NewDescribeDataLogUrlInfoResponse() + err = c.Send(request, response) + return +} + +// DescribeDataLogUrlInfo +// 获取loginfo信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataLogUrlInfoWithContext(ctx context.Context, request *DescribeDataLogUrlInfoRequest) (response *DescribeDataLogUrlInfoResponse, err error) { + if request == nil { + request = NewDescribeDataLogUrlInfoRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataLogUrlInfoResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataLogUrlStatisticsRequest() (request *DescribeDataLogUrlStatisticsRequest) { + request = &DescribeDataLogUrlStatisticsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataLogUrlStatistics") + + + return +} + +func NewDescribeDataLogUrlStatisticsResponse() (response *DescribeDataLogUrlStatisticsResponse) { + response = &DescribeDataLogUrlStatisticsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataLogUrlStatistics +// 获取LogUrlStatistics信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataLogUrlStatistics(request *DescribeDataLogUrlStatisticsRequest) (response *DescribeDataLogUrlStatisticsResponse, err error) { + if request == nil { + request = NewDescribeDataLogUrlStatisticsRequest() + } + + response = NewDescribeDataLogUrlStatisticsResponse() + err = c.Send(request, response) + return +} + +// DescribeDataLogUrlStatistics +// 获取LogUrlStatistics信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataLogUrlStatisticsWithContext(ctx context.Context, request *DescribeDataLogUrlStatisticsRequest) (response *DescribeDataLogUrlStatisticsResponse, err error) { + if request == nil { + request = NewDescribeDataLogUrlStatisticsRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataLogUrlStatisticsResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataPerformancePageRequest() (request *DescribeDataPerformancePageRequest) { + request = &DescribeDataPerformancePageRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataPerformancePage") + + + return +} + +func NewDescribeDataPerformancePageResponse() (response *DescribeDataPerformancePageResponse) { + response = &DescribeDataPerformancePageResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataPerformancePage +// 获取PerformancePage信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataPerformancePage(request *DescribeDataPerformancePageRequest) (response *DescribeDataPerformancePageResponse, err error) { + if request == nil { + request = NewDescribeDataPerformancePageRequest() + } + + response = NewDescribeDataPerformancePageResponse() + err = c.Send(request, response) + return +} + +// DescribeDataPerformancePage +// 获取PerformancePage信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataPerformancePageWithContext(ctx context.Context, request *DescribeDataPerformancePageRequest) (response *DescribeDataPerformancePageResponse, err error) { + if request == nil { + request = NewDescribeDataPerformancePageRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataPerformancePageResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataPerformanceProjectRequest() (request *DescribeDataPerformanceProjectRequest) { + request = &DescribeDataPerformanceProjectRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataPerformanceProject") + + + return +} + +func NewDescribeDataPerformanceProjectResponse() (response *DescribeDataPerformanceProjectResponse) { + response = &DescribeDataPerformanceProjectResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataPerformanceProject +// 获取PerformanceProject信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataPerformanceProject(request *DescribeDataPerformanceProjectRequest) (response *DescribeDataPerformanceProjectResponse, err error) { + if request == nil { + request = NewDescribeDataPerformanceProjectRequest() + } + + response = NewDescribeDataPerformanceProjectResponse() + err = c.Send(request, response) + return +} + +// DescribeDataPerformanceProject +// 获取PerformanceProject信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataPerformanceProjectWithContext(ctx context.Context, request *DescribeDataPerformanceProjectRequest) (response *DescribeDataPerformanceProjectResponse, err error) { + if request == nil { + request = NewDescribeDataPerformanceProjectRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataPerformanceProjectResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataPvUrlInfoRequest() (request *DescribeDataPvUrlInfoRequest) { + request = &DescribeDataPvUrlInfoRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataPvUrlInfo") + + + return +} + +func NewDescribeDataPvUrlInfoResponse() (response *DescribeDataPvUrlInfoResponse) { + response = &DescribeDataPvUrlInfoResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataPvUrlInfo +// 获取PvUrlInfo信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataPvUrlInfo(request *DescribeDataPvUrlInfoRequest) (response *DescribeDataPvUrlInfoResponse, err error) { + if request == nil { + request = NewDescribeDataPvUrlInfoRequest() + } + + response = NewDescribeDataPvUrlInfoResponse() + err = c.Send(request, response) + return +} + +// DescribeDataPvUrlInfo +// 获取PvUrlInfo信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataPvUrlInfoWithContext(ctx context.Context, request *DescribeDataPvUrlInfoRequest) (response *DescribeDataPvUrlInfoResponse, err error) { + if request == nil { + request = NewDescribeDataPvUrlInfoRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataPvUrlInfoResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataPvUrlStatisticsRequest() (request *DescribeDataPvUrlStatisticsRequest) { + request = &DescribeDataPvUrlStatisticsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataPvUrlStatistics") + + + return +} + +func NewDescribeDataPvUrlStatisticsResponse() (response *DescribeDataPvUrlStatisticsResponse) { + response = &DescribeDataPvUrlStatisticsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataPvUrlStatistics +// 获取DescribeDataPvUrlStatistics信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataPvUrlStatistics(request *DescribeDataPvUrlStatisticsRequest) (response *DescribeDataPvUrlStatisticsResponse, err error) { + if request == nil { + request = NewDescribeDataPvUrlStatisticsRequest() + } + + response = NewDescribeDataPvUrlStatisticsResponse() + err = c.Send(request, response) + return +} + +// DescribeDataPvUrlStatistics +// 获取DescribeDataPvUrlStatistics信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataPvUrlStatisticsWithContext(ctx context.Context, request *DescribeDataPvUrlStatisticsRequest) (response *DescribeDataPvUrlStatisticsResponse, err error) { + if request == nil { + request = NewDescribeDataPvUrlStatisticsRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataPvUrlStatisticsResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataReportCountRequest() (request *DescribeDataReportCountRequest) { + request = &DescribeDataReportCountRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataReportCount") + + + return +} + +func NewDescribeDataReportCountResponse() (response *DescribeDataReportCountResponse) { + response = &DescribeDataReportCountResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataReportCount +// 获取项目上报量 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataReportCount(request *DescribeDataReportCountRequest) (response *DescribeDataReportCountResponse, err error) { + if request == nil { + request = NewDescribeDataReportCountRequest() + } + + response = NewDescribeDataReportCountResponse() + err = c.Send(request, response) + return +} + +// DescribeDataReportCount +// 获取项目上报量 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataReportCountWithContext(ctx context.Context, request *DescribeDataReportCountRequest) (response *DescribeDataReportCountResponse, err error) { + if request == nil { + request = NewDescribeDataReportCountRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataReportCountResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataSetUrlStatisticsRequest() (request *DescribeDataSetUrlStatisticsRequest) { + request = &DescribeDataSetUrlStatisticsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataSetUrlStatistics") + + + return +} + +func NewDescribeDataSetUrlStatisticsResponse() (response *DescribeDataSetUrlStatisticsResponse) { + response = &DescribeDataSetUrlStatisticsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataSetUrlStatistics +// 获取DescribeDataSetUrlStatistics信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataSetUrlStatistics(request *DescribeDataSetUrlStatisticsRequest) (response *DescribeDataSetUrlStatisticsResponse, err error) { + if request == nil { + request = NewDescribeDataSetUrlStatisticsRequest() + } + + response = NewDescribeDataSetUrlStatisticsResponse() + err = c.Send(request, response) + return +} + +// DescribeDataSetUrlStatistics +// 获取DescribeDataSetUrlStatistics信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataSetUrlStatisticsWithContext(ctx context.Context, request *DescribeDataSetUrlStatisticsRequest) (response *DescribeDataSetUrlStatisticsResponse, err error) { + if request == nil { + request = NewDescribeDataSetUrlStatisticsRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataSetUrlStatisticsResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataStaticProjectRequest() (request *DescribeDataStaticProjectRequest) { + request = &DescribeDataStaticProjectRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataStaticProject") + + + return +} + +func NewDescribeDataStaticProjectResponse() (response *DescribeDataStaticProjectResponse) { + response = &DescribeDataStaticProjectResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataStaticProject +// 获取DescribeDataStaticProject信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataStaticProject(request *DescribeDataStaticProjectRequest) (response *DescribeDataStaticProjectResponse, err error) { + if request == nil { + request = NewDescribeDataStaticProjectRequest() + } + + response = NewDescribeDataStaticProjectResponse() + err = c.Send(request, response) + return +} + +// DescribeDataStaticProject +// 获取DescribeDataStaticProject信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataStaticProjectWithContext(ctx context.Context, request *DescribeDataStaticProjectRequest) (response *DescribeDataStaticProjectResponse, err error) { + if request == nil { + request = NewDescribeDataStaticProjectRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataStaticProjectResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataStaticResourceRequest() (request *DescribeDataStaticResourceRequest) { + request = &DescribeDataStaticResourceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataStaticResource") + + + return +} + +func NewDescribeDataStaticResourceResponse() (response *DescribeDataStaticResourceResponse) { + response = &DescribeDataStaticResourceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataStaticResource +// 获取DescribeDataStaticResource信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataStaticResource(request *DescribeDataStaticResourceRequest) (response *DescribeDataStaticResourceResponse, err error) { + if request == nil { + request = NewDescribeDataStaticResourceRequest() + } + + response = NewDescribeDataStaticResourceResponse() + err = c.Send(request, response) + return +} + +// DescribeDataStaticResource +// 获取DescribeDataStaticResource信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataStaticResourceWithContext(ctx context.Context, request *DescribeDataStaticResourceRequest) (response *DescribeDataStaticResourceResponse, err error) { + if request == nil { + request = NewDescribeDataStaticResourceRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataStaticResourceResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataStaticUrlRequest() (request *DescribeDataStaticUrlRequest) { + request = &DescribeDataStaticUrlRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataStaticUrl") + + + return +} + +func NewDescribeDataStaticUrlResponse() (response *DescribeDataStaticUrlResponse) { + response = &DescribeDataStaticUrlResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataStaticUrl +// 获取DescribeDataStaticUrl信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataStaticUrl(request *DescribeDataStaticUrlRequest) (response *DescribeDataStaticUrlResponse, err error) { + if request == nil { + request = NewDescribeDataStaticUrlRequest() + } + + response = NewDescribeDataStaticUrlResponse() + err = c.Send(request, response) + return +} + +// DescribeDataStaticUrl +// 获取DescribeDataStaticUrl信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataStaticUrlWithContext(ctx context.Context, request *DescribeDataStaticUrlRequest) (response *DescribeDataStaticUrlResponse, err error) { + if request == nil { + request = NewDescribeDataStaticUrlRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataStaticUrlResponse() + err = c.Send(request, response) + return +} + +func NewDescribeDataWebVitalsPageRequest() (request *DescribeDataWebVitalsPageRequest) { + request = &DescribeDataWebVitalsPageRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeDataWebVitalsPage") + + + return +} + +func NewDescribeDataWebVitalsPageResponse() (response *DescribeDataWebVitalsPageResponse) { + response = &DescribeDataWebVitalsPageResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeDataWebVitalsPage +// 获取DescribeDataWebVitalsPage信息,用户核心活动信息 +// +// 页面加载性能之Web Vitals。性能关键点 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataWebVitalsPage(request *DescribeDataWebVitalsPageRequest) (response *DescribeDataWebVitalsPageResponse, err error) { + if request == nil { + request = NewDescribeDataWebVitalsPageRequest() + } + + response = NewDescribeDataWebVitalsPageResponse() + err = c.Send(request, response) + return +} + +// DescribeDataWebVitalsPage +// 获取DescribeDataWebVitalsPage信息,用户核心活动信息 +// +// 页面加载性能之Web Vitals。性能关键点 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeDataWebVitalsPageWithContext(ctx context.Context, request *DescribeDataWebVitalsPageRequest) (response *DescribeDataWebVitalsPageResponse, err error) { + if request == nil { + request = NewDescribeDataWebVitalsPageRequest() + } + request.SetContext(ctx) + + response = NewDescribeDataWebVitalsPageResponse() + err = c.Send(request, response) + return +} + +func NewDescribeErrorRequest() (request *DescribeErrorRequest) { + request = &DescribeErrorRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeError") + + + return +} + +func NewDescribeErrorResponse() (response *DescribeErrorResponse) { + response = &DescribeErrorResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeError +// 获取首页错误信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeError(request *DescribeErrorRequest) (response *DescribeErrorResponse, err error) { + if request == nil { + request = NewDescribeErrorRequest() + } + + response = NewDescribeErrorResponse() + err = c.Send(request, response) + return +} + +// DescribeError +// 获取首页错误信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeErrorWithContext(ctx context.Context, request *DescribeErrorRequest) (response *DescribeErrorResponse, err error) { + if request == nil { + request = NewDescribeErrorRequest() + } + request.SetContext(ctx) + + response = NewDescribeErrorResponse() + err = c.Send(request, response) + return +} + +func NewDescribeLogExportsRequest() (request *DescribeLogExportsRequest) { + request = &DescribeLogExportsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeLogExports") + + + return +} + +func NewDescribeLogExportsResponse() (response *DescribeLogExportsResponse) { + response = &DescribeLogExportsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeLogExports +// 接口请求域名: rum.tencentcloudapi.com 。 +// +// +// +// 本接口用于获取日志下载任务列表 +// +// +// +// 默认接口请求频率限制:20次/秒 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeLogExports(request *DescribeLogExportsRequest) (response *DescribeLogExportsResponse, err error) { + if request == nil { + request = NewDescribeLogExportsRequest() + } + + response = NewDescribeLogExportsResponse() + err = c.Send(request, response) + return +} + +// DescribeLogExports +// 接口请求域名: rum.tencentcloudapi.com 。 +// +// +// +// 本接口用于获取日志下载任务列表 +// +// +// +// 默认接口请求频率限制:20次/秒 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeLogExportsWithContext(ctx context.Context, request *DescribeLogExportsRequest) (response *DescribeLogExportsResponse, err error) { + if request == nil { + request = NewDescribeLogExportsRequest() + } + request.SetContext(ctx) + + response = NewDescribeLogExportsResponse() + err = c.Send(request, response) + return +} + +func NewDescribeLogListRequest() (request *DescribeLogListRequest) { + request = &DescribeLogListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeLogList") + + + return +} + +func NewDescribeLogListResponse() (response *DescribeLogListResponse) { + response = &DescribeLogListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeLogList +// 获取项目下的日志列表(实例创建的项目下的日志列表) +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeLogList(request *DescribeLogListRequest) (response *DescribeLogListResponse, err error) { + if request == nil { + request = NewDescribeLogListRequest() + } + + response = NewDescribeLogListResponse() + err = c.Send(request, response) + return +} + +// DescribeLogList +// 获取项目下的日志列表(实例创建的项目下的日志列表) +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeLogListWithContext(ctx context.Context, request *DescribeLogListRequest) (response *DescribeLogListResponse, err error) { + if request == nil { + request = NewDescribeLogListRequest() + } + request.SetContext(ctx) + + response = NewDescribeLogListResponse() + err = c.Send(request, response) + return +} + +func NewDescribeOfflineLogConfigsRequest() (request *DescribeOfflineLogConfigsRequest) { + request = &DescribeOfflineLogConfigsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeOfflineLogConfigs") + + + return +} + +func NewDescribeOfflineLogConfigsResponse() (response *DescribeOfflineLogConfigsResponse) { + response = &DescribeOfflineLogConfigsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeOfflineLogConfigs +// 获取设置的离线日志监听配置 - 返回设置的用户唯一标识 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeOfflineLogConfigs(request *DescribeOfflineLogConfigsRequest) (response *DescribeOfflineLogConfigsResponse, err error) { + if request == nil { + request = NewDescribeOfflineLogConfigsRequest() + } + + response = NewDescribeOfflineLogConfigsResponse() + err = c.Send(request, response) + return +} + +// DescribeOfflineLogConfigs +// 获取设置的离线日志监听配置 - 返回设置的用户唯一标识 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeOfflineLogConfigsWithContext(ctx context.Context, request *DescribeOfflineLogConfigsRequest) (response *DescribeOfflineLogConfigsResponse, err error) { + if request == nil { + request = NewDescribeOfflineLogConfigsRequest() + } + request.SetContext(ctx) + + response = NewDescribeOfflineLogConfigsResponse() + err = c.Send(request, response) + return +} + +func NewDescribeOfflineLogRecordsRequest() (request *DescribeOfflineLogRecordsRequest) { + request = &DescribeOfflineLogRecordsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeOfflineLogRecords") + + + return +} + +func NewDescribeOfflineLogRecordsResponse() (response *DescribeOfflineLogRecordsResponse) { + response = &DescribeOfflineLogRecordsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeOfflineLogRecords +// 获取所有离线日志记录(最多100条) +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeOfflineLogRecords(request *DescribeOfflineLogRecordsRequest) (response *DescribeOfflineLogRecordsResponse, err error) { + if request == nil { + request = NewDescribeOfflineLogRecordsRequest() + } + + response = NewDescribeOfflineLogRecordsResponse() + err = c.Send(request, response) + return +} + +// DescribeOfflineLogRecords +// 获取所有离线日志记录(最多100条) +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeOfflineLogRecordsWithContext(ctx context.Context, request *DescribeOfflineLogRecordsRequest) (response *DescribeOfflineLogRecordsResponse, err error) { + if request == nil { + request = NewDescribeOfflineLogRecordsRequest() + } + request.SetContext(ctx) + + response = NewDescribeOfflineLogRecordsResponse() + err = c.Send(request, response) + return +} + +func NewDescribeOfflineLogsRequest() (request *DescribeOfflineLogsRequest) { + request = &DescribeOfflineLogsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeOfflineLogs") + + + return +} + +func NewDescribeOfflineLogsResponse() (response *DescribeOfflineLogsResponse) { + response = &DescribeOfflineLogsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeOfflineLogs +// 获取对应离线日志 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeOfflineLogs(request *DescribeOfflineLogsRequest) (response *DescribeOfflineLogsResponse, err error) { + if request == nil { + request = NewDescribeOfflineLogsRequest() + } + + response = NewDescribeOfflineLogsResponse() + err = c.Send(request, response) + return +} + +// DescribeOfflineLogs +// 获取对应离线日志 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +func (c *Client) DescribeOfflineLogsWithContext(ctx context.Context, request *DescribeOfflineLogsRequest) (response *DescribeOfflineLogsResponse, err error) { + if request == nil { + request = NewDescribeOfflineLogsRequest() + } + request.SetContext(ctx) + + response = NewDescribeOfflineLogsResponse() + err = c.Send(request, response) + return +} + +func NewDescribeProjectLimitsRequest() (request *DescribeProjectLimitsRequest) { + request = &DescribeProjectLimitsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeProjectLimits") + + + return +} + +func NewDescribeProjectLimitsResponse() (response *DescribeProjectLimitsResponse) { + response = &DescribeProjectLimitsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeProjectLimits +// 获取项目上报率列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeProjectLimits(request *DescribeProjectLimitsRequest) (response *DescribeProjectLimitsResponse, err error) { + if request == nil { + request = NewDescribeProjectLimitsRequest() + } + + response = NewDescribeProjectLimitsResponse() + err = c.Send(request, response) + return +} + +// DescribeProjectLimits +// 获取项目上报率列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeProjectLimitsWithContext(ctx context.Context, request *DescribeProjectLimitsRequest) (response *DescribeProjectLimitsResponse, err error) { + if request == nil { + request = NewDescribeProjectLimitsRequest() + } + request.SetContext(ctx) + + response = NewDescribeProjectLimitsResponse() + err = c.Send(request, response) + return +} + +func NewDescribeProjectsRequest() (request *DescribeProjectsRequest) { + request = &DescribeProjectsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeProjects") + + + return +} + +func NewDescribeProjectsResponse() (response *DescribeProjectsResponse) { + response = &DescribeProjectsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeProjects +// 获取项目列表(实例创建的团队下的项目列表) +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +func (c *Client) DescribeProjects(request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error) { + if request == nil { + request = NewDescribeProjectsRequest() + } + + response = NewDescribeProjectsResponse() + err = c.Send(request, response) + return +} + +// DescribeProjects +// 获取项目列表(实例创建的团队下的项目列表) +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +func (c *Client) DescribeProjectsWithContext(ctx context.Context, request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error) { + if request == nil { + request = NewDescribeProjectsRequest() + } + request.SetContext(ctx) + + response = NewDescribeProjectsResponse() + err = c.Send(request, response) + return +} + +func NewDescribePvListRequest() (request *DescribePvListRequest) { + request = &DescribePvListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribePvList") + + + return +} + +func NewDescribePvListResponse() (response *DescribePvListResponse) { + response = &DescribePvListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribePvList +// 获取项目下的PV列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribePvList(request *DescribePvListRequest) (response *DescribePvListResponse, err error) { + if request == nil { + request = NewDescribePvListRequest() + } + + response = NewDescribePvListResponse() + err = c.Send(request, response) + return +} + +// DescribePvList +// 获取项目下的PV列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribePvListWithContext(ctx context.Context, request *DescribePvListRequest) (response *DescribePvListResponse, err error) { + if request == nil { + request = NewDescribePvListRequest() + } + request.SetContext(ctx) + + response = NewDescribePvListResponse() + err = c.Send(request, response) + return +} + +func NewDescribeReleaseFileSignRequest() (request *DescribeReleaseFileSignRequest) { + request = &DescribeReleaseFileSignRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeReleaseFileSign") + + + return +} + +func NewDescribeReleaseFileSignResponse() (response *DescribeReleaseFileSignResponse) { + response = &DescribeReleaseFileSignResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeReleaseFileSign +// 获取上传文件存储的临时密钥 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeReleaseFileSign(request *DescribeReleaseFileSignRequest) (response *DescribeReleaseFileSignResponse, err error) { + if request == nil { + request = NewDescribeReleaseFileSignRequest() + } + + response = NewDescribeReleaseFileSignResponse() + err = c.Send(request, response) + return +} + +// DescribeReleaseFileSign +// 获取上传文件存储的临时密钥 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeReleaseFileSignWithContext(ctx context.Context, request *DescribeReleaseFileSignRequest) (response *DescribeReleaseFileSignResponse, err error) { + if request == nil { + request = NewDescribeReleaseFileSignRequest() + } + request.SetContext(ctx) + + response = NewDescribeReleaseFileSignResponse() + err = c.Send(request, response) + return +} + +func NewDescribeReleaseFilesRequest() (request *DescribeReleaseFilesRequest) { + request = &DescribeReleaseFilesRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeReleaseFiles") + + + return +} + +func NewDescribeReleaseFilesResponse() (response *DescribeReleaseFilesResponse) { + response = &DescribeReleaseFilesResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeReleaseFiles +// 获取项目对应sourcemap文件列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeReleaseFiles(request *DescribeReleaseFilesRequest) (response *DescribeReleaseFilesResponse, err error) { + if request == nil { + request = NewDescribeReleaseFilesRequest() + } + + response = NewDescribeReleaseFilesResponse() + err = c.Send(request, response) + return +} + +// DescribeReleaseFiles +// 获取项目对应sourcemap文件列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeReleaseFilesWithContext(ctx context.Context, request *DescribeReleaseFilesRequest) (response *DescribeReleaseFilesResponse, err error) { + if request == nil { + request = NewDescribeReleaseFilesRequest() + } + request.SetContext(ctx) + + response = NewDescribeReleaseFilesResponse() + err = c.Send(request, response) + return +} + +func NewDescribeScoresRequest() (request *DescribeScoresRequest) { + request = &DescribeScoresRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeScores") + + + return +} + +func NewDescribeScoresResponse() (response *DescribeScoresResponse) { + response = &DescribeScoresResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeScores +// 获取首页分数列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeScores(request *DescribeScoresRequest) (response *DescribeScoresResponse, err error) { + if request == nil { + request = NewDescribeScoresRequest() + } + + response = NewDescribeScoresResponse() + err = c.Send(request, response) + return +} + +// DescribeScores +// 获取首页分数列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeScoresWithContext(ctx context.Context, request *DescribeScoresRequest) (response *DescribeScoresResponse, err error) { + if request == nil { + request = NewDescribeScoresRequest() + } + request.SetContext(ctx) + + response = NewDescribeScoresResponse() + err = c.Send(request, response) + return +} + +func NewDescribeTawAreasRequest() (request *DescribeTawAreasRequest) { + request = &DescribeTawAreasRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeTawAreas") + + + return +} + +func NewDescribeTawAreasResponse() (response *DescribeTawAreasResponse) { + response = &DescribeTawAreasResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeTawAreas +// 查询片区信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +func (c *Client) DescribeTawAreas(request *DescribeTawAreasRequest) (response *DescribeTawAreasResponse, err error) { + if request == nil { + request = NewDescribeTawAreasRequest() + } + + response = NewDescribeTawAreasResponse() + err = c.Send(request, response) + return +} + +// DescribeTawAreas +// 查询片区信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +func (c *Client) DescribeTawAreasWithContext(ctx context.Context, request *DescribeTawAreasRequest) (response *DescribeTawAreasResponse, err error) { + if request == nil { + request = NewDescribeTawAreasRequest() + } + request.SetContext(ctx) + + response = NewDescribeTawAreasResponse() + err = c.Send(request, response) + return +} + +func NewDescribeTawInstancesRequest() (request *DescribeTawInstancesRequest) { + request = &DescribeTawInstancesRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeTawInstances") + + + return +} + +func NewDescribeTawInstancesResponse() (response *DescribeTawInstancesResponse) { + response = &DescribeTawInstancesResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeTawInstances +// 查询实例信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +func (c *Client) DescribeTawInstances(request *DescribeTawInstancesRequest) (response *DescribeTawInstancesResponse, err error) { + if request == nil { + request = NewDescribeTawInstancesRequest() + } + + response = NewDescribeTawInstancesResponse() + err = c.Send(request, response) + return +} + +// DescribeTawInstances +// 查询实例信息 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +func (c *Client) DescribeTawInstancesWithContext(ctx context.Context, request *DescribeTawInstancesRequest) (response *DescribeTawInstancesResponse, err error) { + if request == nil { + request = NewDescribeTawInstancesRequest() + } + request.SetContext(ctx) + + response = NewDescribeTawInstancesResponse() + err = c.Send(request, response) + return +} + +func NewDescribeUvListRequest() (request *DescribeUvListRequest) { + request = &DescribeUvListRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeUvList") + + + return +} + +func NewDescribeUvListResponse() (response *DescribeUvListResponse) { + response = &DescribeUvListResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeUvList +// 获取项目下的UV列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeUvList(request *DescribeUvListRequest) (response *DescribeUvListResponse, err error) { + if request == nil { + request = NewDescribeUvListRequest() + } + + response = NewDescribeUvListResponse() + err = c.Send(request, response) + return +} + +// DescribeUvList +// 获取项目下的UV列表 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeUvListWithContext(ctx context.Context, request *DescribeUvListRequest) (response *DescribeUvListResponse, err error) { + if request == nil { + request = NewDescribeUvListRequest() + } + request.SetContext(ctx) + + response = NewDescribeUvListResponse() + err = c.Send(request, response) + return +} + +func NewDescribeWhitelistsRequest() (request *DescribeWhitelistsRequest) { + request = &DescribeWhitelistsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "DescribeWhitelists") + + + return +} + +func NewDescribeWhitelistsResponse() (response *DescribeWhitelistsResponse) { + response = &DescribeWhitelistsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// DescribeWhitelists +// 获取白名单列表 +// +// 可能返回的错误码: +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeWhitelists(request *DescribeWhitelistsRequest) (response *DescribeWhitelistsResponse, err error) { + if request == nil { + request = NewDescribeWhitelistsRequest() + } + + response = NewDescribeWhitelistsResponse() + err = c.Send(request, response) + return +} + +// DescribeWhitelists +// 获取白名单列表 +// +// 可能返回的错误码: +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeWhitelistsWithContext(ctx context.Context, request *DescribeWhitelistsRequest) (response *DescribeWhitelistsResponse, err error) { + if request == nil { + request = NewDescribeWhitelistsRequest() + } + request.SetContext(ctx) + + response = NewDescribeWhitelistsResponse() + err = c.Send(request, response) + return +} + +func NewModifyInstanceRequest() (request *ModifyInstanceRequest) { + request = &ModifyInstanceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "ModifyInstance") + + + return +} + +func NewModifyInstanceResponse() (response *ModifyInstanceResponse) { + response = &ModifyInstanceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ModifyInstance +// 修改实例信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) ModifyInstance(request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error) { + if request == nil { + request = NewModifyInstanceRequest() + } + + response = NewModifyInstanceResponse() + err = c.Send(request, response) + return +} + +// ModifyInstance +// 修改实例信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) ModifyInstanceWithContext(ctx context.Context, request *ModifyInstanceRequest) (response *ModifyInstanceResponse, err error) { + if request == nil { + request = NewModifyInstanceRequest() + } + request.SetContext(ctx) + + response = NewModifyInstanceResponse() + err = c.Send(request, response) + return +} + +func NewModifyProjectRequest() (request *ModifyProjectRequest) { + request = &ModifyProjectRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "ModifyProject") + + + return +} + +func NewModifyProjectResponse() (response *ModifyProjectResponse) { + response = &ModifyProjectResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ModifyProject +// 修改 rum 项目信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error) { + if request == nil { + request = NewModifyProjectRequest() + } + + response = NewModifyProjectResponse() + err = c.Send(request, response) + return +} + +// ModifyProject +// 修改 rum 项目信息 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// RESOURCENOTFOUND = "ResourceNotFound" +func (c *Client) ModifyProjectWithContext(ctx context.Context, request *ModifyProjectRequest) (response *ModifyProjectResponse, err error) { + if request == nil { + request = NewModifyProjectRequest() + } + request.SetContext(ctx) + + response = NewModifyProjectResponse() + err = c.Send(request, response) + return +} + +func NewModifyProjectLimitRequest() (request *ModifyProjectLimitRequest) { + request = &ModifyProjectLimitRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "ModifyProjectLimit") + + + return +} + +func NewModifyProjectLimitResponse() (response *ModifyProjectLimitResponse) { + response = &ModifyProjectLimitResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ModifyProjectLimit +// 新增修改限流 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) ModifyProjectLimit(request *ModifyProjectLimitRequest) (response *ModifyProjectLimitResponse, err error) { + if request == nil { + request = NewModifyProjectLimitRequest() + } + + response = NewModifyProjectLimitResponse() + err = c.Send(request, response) + return +} + +// ModifyProjectLimit +// 新增修改限流 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// DRYRUNOPERATION = "DryRunOperation" +// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CLSCALLFAIL = "FailedOperation.ClsCallFail" +// FAILEDOPERATION_DATABASEEXCEPTION = "FailedOperation.DataBaseException" +// FAILEDOPERATION_INFRASTRUCTUREERROR = "FailedOperation.InfrastructureError" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCENOTFOUND_NOINSTANCE = "ResourceNotFound.NoInstance" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// RESOURCESSOLDOUT = "ResourcesSoldOut" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) ModifyProjectLimitWithContext(ctx context.Context, request *ModifyProjectLimitRequest) (response *ModifyProjectLimitResponse, err error) { + if request == nil { + request = NewModifyProjectLimitRequest() + } + request.SetContext(ctx) + + response = NewModifyProjectLimitResponse() + err = c.Send(request, response) + return +} + +func NewResumeInstanceRequest() (request *ResumeInstanceRequest) { + request = &ResumeInstanceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "ResumeInstance") + + + return +} + +func NewResumeInstanceResponse() (response *ResumeInstanceResponse) { + response = &ResumeInstanceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// ResumeInstance +// 恢复实例 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) ResumeInstance(request *ResumeInstanceRequest) (response *ResumeInstanceResponse, err error) { + if request == nil { + request = NewResumeInstanceRequest() + } + + response = NewResumeInstanceResponse() + err = c.Send(request, response) + return +} + +// ResumeInstance +// 恢复实例 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// OPERATIONDENIED = "OperationDenied" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) ResumeInstanceWithContext(ctx context.Context, request *ResumeInstanceRequest) (response *ResumeInstanceResponse, err error) { + if request == nil { + request = NewResumeInstanceRequest() + } + request.SetContext(ctx) + + response = NewResumeInstanceResponse() + err = c.Send(request, response) + return +} + +func NewStopInstanceRequest() (request *StopInstanceRequest) { + request = &StopInstanceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + request.Init().WithApiInfo("rum", APIVersion, "StopInstance") + + + return +} + +func NewStopInstanceResponse() (response *StopInstanceResponse) { + response = &StopInstanceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return +} + +// StopInstance +// 停止实例 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) StopInstance(request *StopInstanceRequest) (response *StopInstanceResponse, err error) { + if request == nil { + request = NewStopInstanceRequest() + } + + response = NewStopInstanceResponse() + err = c.Send(request, response) + return +} + +// StopInstance +// 停止实例 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// LIMITEXCEEDED = "LimitExceeded" +// MISSINGPARAMETER = "MissingParameter" +// RESOURCEINUSE = "ResourceInUse" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCENOTFOUND = "ResourceNotFound" +// RESOURCEUNAVAILABLE = "ResourceUnavailable" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNKNOWNPARAMETER = "UnknownParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) StopInstanceWithContext(ctx context.Context, request *StopInstanceRequest) (response *StopInstanceResponse, err error) { + if request == nil { + request = NewStopInstanceRequest() + } + request.SetContext(ctx) + + response = NewStopInstanceResponse() err = c.Send(request, response) return } diff --git a/tencentcloud/rum/v20210622/models.go b/tencentcloud/rum/v20210622/models.go index d5bff2b213..f4b6c260b9 100644 --- a/tencentcloud/rum/v20210622/models.go +++ b/tencentcloud/rum/v20210622/models.go @@ -20,6 +20,132 @@ import ( tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http" ) +type CreateLogExportRequest struct { + *tchttp.BaseRequest + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 日志导出起始时间 + StartTime *string `json:"StartTime,omitempty" name:"StartTime"` + + // 日志导出结束时间 + EndTime *string `json:"EndTime,omitempty" name:"EndTime"` + + // 日志导出检索语句 + Query *string `json:"Query,omitempty" name:"Query"` + + // 日志导出数量, 最大值1000万 + Count *int64 `json:"Count,omitempty" name:"Count"` + + // 日志导出时间排序。desc,asc,默认为desc + Order *string `json:"Order,omitempty" name:"Order"` + + // 日志导出数据格式。json,csv,默认为json + Format *string `json:"Format,omitempty" name:"Format"` +} + +func (r *CreateLogExportRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateLogExportRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ID") + delete(f, "StartTime") + delete(f, "EndTime") + delete(f, "Query") + delete(f, "Count") + delete(f, "Order") + delete(f, "Format") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateLogExportRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type CreateLogExportResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 日志导出ID + ExportID *string `json:"ExportID,omitempty" name:"ExportID"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *CreateLogExportResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateLogExportResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type CreateOfflineLogConfigRequest struct { + *tchttp.BaseRequest + + // 项目唯一上报 key + ProjectKey *string `json:"ProjectKey,omitempty" name:"ProjectKey"` + + // 需要监听的用户唯一标示(aid 或 uin) + UniqueID *string `json:"UniqueID,omitempty" name:"UniqueID"` +} + +func (r *CreateOfflineLogConfigRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateOfflineLogConfigRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ProjectKey") + delete(f, "UniqueID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateOfflineLogConfigRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type CreateOfflineLogConfigResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 接口返回信息 + Msg *string `json:"Msg,omitempty" name:"Msg"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *CreateOfflineLogConfigResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateOfflineLogConfigResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + type CreateProjectRequest struct { *tchttp.BaseRequest @@ -100,420 +226,668 @@ func (r *CreateProjectResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeDataEventUrlRequest struct { +type CreateReleaseFileRequest struct { *tchttp.BaseRequest - // 开始时间 - StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + // 项目 id + ProjectID *int64 `json:"ProjectID,omitempty" name:"ProjectID"` - // 类型 - Type *string `json:"Type,omitempty" name:"Type"` + // 文件信息列表 + Files []*ReleaseFile `json:"Files,omitempty" name:"Files"` +} - // 结束时间 - EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` +func (r *CreateReleaseFileRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 项目ID - ID *int64 `json:"ID,omitempty" name:"ID"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateReleaseFileRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ProjectID") + delete(f, "Files") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateReleaseFileRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} - // 自定义2 - ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` +type CreateReleaseFileResponse struct { + *tchttp.BaseResponse + Response *struct { - // 浏览器引擎 - Engine *string `json:"Engine,omitempty" name:"Engine"` + // 调用结果 + Msg *string `json:"Msg,omitempty" name:"Msg"` - // 运营商 - Isp *string `json:"Isp,omitempty" name:"Isp"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} - // 来源页面 - From *string `json:"From,omitempty" name:"From"` +func (r *CreateReleaseFileResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 日志等级 - Level *string `json:"Level,omitempty" name:"Level"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateReleaseFileResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} - // 品牌 - Brand *string `json:"Brand,omitempty" name:"Brand"` +type CreateStarProjectRequest struct { + *tchttp.BaseRequest - // 地区 - Area *string `json:"Area,omitempty" name:"Area"` + // 实例ID:taw-123 + InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"` - // 版本 - VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` +} - // 平台 - Platform *string `json:"Platform,omitempty" name:"Platform"` +func (r *CreateStarProjectRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 自定义3 - ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateStarProjectRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceID") + delete(f, "ID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateStarProjectRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} - // 自定义1 - ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` +type CreateStarProjectResponse struct { + *tchttp.BaseResponse + Response *struct { - // 网络类型 - NetType *string `json:"NetType,omitempty" name:"NetType"` + // 接口返回信息 + Msg *string `json:"Msg,omitempty" name:"Msg"` - // 机型 - Device *string `json:"Device,omitempty" name:"Device"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} - // 是否海外 - IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` +func (r *CreateStarProjectResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 操作系统 - Os *string `json:"Os,omitempty" name:"Os"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateStarProjectResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} - // 浏览器 - Browser *string `json:"Browser,omitempty" name:"Browser"` +type CreateTawInstanceRequest struct { + *tchttp.BaseRequest - // 筛选条件 - Name *string `json:"Name,omitempty" name:"Name"` + // 片区Id,(至少大于0) + AreaId *int64 `json:"AreaId,omitempty" name:"AreaId"` - // 环境 - Env *string `json:"Env,omitempty" name:"Env"` + // 计费类型, (1=体验,2=预付费,3=后付费) + ChargeType *int64 `json:"ChargeType,omitempty" name:"ChargeType"` + + // 数据保存时间,(至少大于0) + DataRetentionDays *int64 `json:"DataRetentionDays,omitempty" name:"DataRetentionDays"` + + // 实例名称,(最大长度不超过255字节) + InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` + + // 标签列表 + Tags []*Tag `json:"Tags,omitempty" name:"Tags"` + + // 实例描述,(最大长度不超过1024字节) + InstanceDesc *string `json:"InstanceDesc,omitempty" name:"InstanceDesc"` + + // 每天数据上报量 + CountNum *string `json:"CountNum,omitempty" name:"CountNum"` + + // 数据存储时长计费 + PeriodRetain *string `json:"PeriodRetain,omitempty" name:"PeriodRetain"` } -func (r *DescribeDataEventUrlRequest) ToJsonString() string { +func (r *CreateTawInstanceRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDataEventUrlRequest) FromJsonString(s string) error { +func (r *CreateTawInstanceRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "StartTime") - delete(f, "Type") - delete(f, "EndTime") - delete(f, "ID") - delete(f, "ExtSecond") - delete(f, "Engine") - delete(f, "Isp") - delete(f, "From") - delete(f, "Level") - delete(f, "Brand") - delete(f, "Area") - delete(f, "VersionNum") - delete(f, "Platform") - delete(f, "ExtThird") - delete(f, "ExtFirst") - delete(f, "NetType") - delete(f, "Device") - delete(f, "IsAbroad") - delete(f, "Os") - delete(f, "Browser") - delete(f, "Name") - delete(f, "Env") + delete(f, "AreaId") + delete(f, "ChargeType") + delete(f, "DataRetentionDays") + delete(f, "InstanceName") + delete(f, "Tags") + delete(f, "InstanceDesc") + delete(f, "CountNum") + delete(f, "PeriodRetain") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataEventUrlRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateTawInstanceRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeDataEventUrlResponse struct { +type CreateTawInstanceResponse struct { *tchttp.BaseResponse Response *struct { - // 返回值 - Result *string `json:"Result,omitempty" name:"Result"` + // 实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeDataEventUrlResponse) ToJsonString() string { +func (r *CreateTawInstanceResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDataEventUrlResponse) FromJsonString(s string) error { +func (r *CreateTawInstanceResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeDataFetchUrlInfoRequest struct { +type CreateWhitelistRequest struct { *tchttp.BaseRequest - // 开始时间 - StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` - - // 类型 - Type *string `json:"Type,omitempty" name:"Type"` - - // 结束时间 - EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + // 实例ID:taw-123 + InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"` - // 项目ID - ID *int64 `json:"ID,omitempty" name:"ID"` + // 备注 + Remark *string `json:"Remark,omitempty" name:"Remark"` - // 自定义2 - ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + // uin:业务方标识 + WhitelistUin *string `json:"WhitelistUin,omitempty" name:"WhitelistUin"` - // 浏览器引擎 - Engine *string `json:"Engine,omitempty" name:"Engine"` + // 业务方标识 + Aid *string `json:"Aid,omitempty" name:"Aid"` +} - // 运营商 - Isp *string `json:"Isp,omitempty" name:"Isp"` +func (r *CreateWhitelistRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 来源页面 - From *string `json:"From,omitempty" name:"From"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateWhitelistRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceID") + delete(f, "Remark") + delete(f, "WhitelistUin") + delete(f, "Aid") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateWhitelistRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} - // 日志等级 - Level *string `json:"Level,omitempty" name:"Level"` +type CreateWhitelistResponse struct { + *tchttp.BaseResponse + Response *struct { - // 品牌 - Brand *string `json:"Brand,omitempty" name:"Brand"` + // 消息 + Msg *string `json:"Msg,omitempty" name:"Msg"` - // 地区 - Area *string `json:"Area,omitempty" name:"Area"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} - // 版本 - VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` +func (r *CreateWhitelistResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 平台 - Platform *string `json:"Platform,omitempty" name:"Platform"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *CreateWhitelistResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} - // 自定义3 - ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` +type DeleteInstanceRequest struct { + *tchttp.BaseRequest - // 自定义1 - ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` + // 需要删除的实例id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` +} - // 网络类型 - NetType *string `json:"NetType,omitempty" name:"NetType"` +func (r *DeleteInstanceRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 机型 - Device *string `json:"Device,omitempty" name:"Device"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteInstanceRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteInstanceRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} - // 是否海外 - IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` +type DeleteInstanceResponse struct { + *tchttp.BaseResponse + Response *struct { - // 操作系统 - Os *string `json:"Os,omitempty" name:"Os"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} - // 浏览器 - Browser *string `json:"Browser,omitempty" name:"Browser"` +func (r *DeleteInstanceResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 耗时计算方式 - CostType *string `json:"CostType,omitempty" name:"CostType"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteInstanceResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} - // 来源 - Url *string `json:"Url,omitempty" name:"Url"` +type DeleteLogExportRequest struct { + *tchttp.BaseRequest - // 环境 - Env *string `json:"Env,omitempty" name:"Env"` + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 日志导出ID + ExportID *string `json:"ExportID,omitempty" name:"ExportID"` } -func (r *DescribeDataFetchUrlInfoRequest) ToJsonString() string { +func (r *DeleteLogExportRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDataFetchUrlInfoRequest) FromJsonString(s string) error { +func (r *DeleteLogExportRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "StartTime") - delete(f, "Type") - delete(f, "EndTime") delete(f, "ID") - delete(f, "ExtSecond") - delete(f, "Engine") - delete(f, "Isp") - delete(f, "From") - delete(f, "Level") - delete(f, "Brand") - delete(f, "Area") - delete(f, "VersionNum") - delete(f, "Platform") - delete(f, "ExtThird") - delete(f, "ExtFirst") - delete(f, "NetType") - delete(f, "Device") - delete(f, "IsAbroad") - delete(f, "Os") - delete(f, "Browser") - delete(f, "CostType") - delete(f, "Url") - delete(f, "Env") + delete(f, "ExportID") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataFetchUrlInfoRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteLogExportRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeDataFetchUrlInfoResponse struct { +type DeleteLogExportResponse struct { *tchttp.BaseResponse Response *struct { - // 返回值 - Result *string `json:"Result,omitempty" name:"Result"` + // 是否成功,成功则为success;失败则直接返回Error,不返回该参数 + // 注意:此字段可能返回 null,表示取不到有效值。 + Msg *string `json:"Msg,omitempty" name:"Msg"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeDataFetchUrlInfoResponse) ToJsonString() string { +func (r *DeleteLogExportResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDataFetchUrlInfoResponse) FromJsonString(s string) error { +func (r *DeleteLogExportResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeDataFetchUrlRequest struct { +type DeleteOfflineLogConfigRequest struct { *tchttp.BaseRequest - // 开始时间 - StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` - - // 类型 - Type *string `json:"Type,omitempty" name:"Type"` - - // 结束时间 - EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + // 项目唯一上报 key + ProjectKey *string `json:"ProjectKey,omitempty" name:"ProjectKey"` - // 项目ID - ID *int64 `json:"ID,omitempty" name:"ID"` + // 用户唯一标示(uin or aid) + UniqueID *string `json:"UniqueID,omitempty" name:"UniqueID"` +} - // 自定义2 - ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` +func (r *DeleteOfflineLogConfigRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 浏览器引擎 - Engine *string `json:"Engine,omitempty" name:"Engine"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteOfflineLogConfigRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ProjectKey") + delete(f, "UniqueID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteOfflineLogConfigRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} - // 运营商 - Isp *string `json:"Isp,omitempty" name:"Isp"` +type DeleteOfflineLogConfigResponse struct { + *tchttp.BaseResponse + Response *struct { - // 来源页面 - From *string `json:"From,omitempty" name:"From"` + // 接口调用信息 + Msg *string `json:"Msg,omitempty" name:"Msg"` - // 日志等级 - Level *string `json:"Level,omitempty" name:"Level"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} - // 品牌 - Brand *string `json:"Brand,omitempty" name:"Brand"` +func (r *DeleteOfflineLogConfigResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 地区 - Area *string `json:"Area,omitempty" name:"Area"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteOfflineLogConfigResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} - // 版本 - VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` +type DeleteOfflineLogRecordRequest struct { + *tchttp.BaseRequest - // 平台 - Platform *string `json:"Platform,omitempty" name:"Platform"` + // 项目唯一上报 key + ProjectKey *string `json:"ProjectKey,omitempty" name:"ProjectKey"` - // 自定义3 - ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + // 离线日志文件 id + FileID *string `json:"FileID,omitempty" name:"FileID"` +} - // 自定义1 - ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` +func (r *DeleteOfflineLogRecordRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 网络类型 - NetType *string `json:"NetType,omitempty" name:"NetType"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteOfflineLogRecordRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ProjectKey") + delete(f, "FileID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteOfflineLogRecordRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} - // 机型 - Device *string `json:"Device,omitempty" name:"Device"` +type DeleteOfflineLogRecordResponse struct { + *tchttp.BaseResponse + Response *struct { - // 是否海外 - IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` + // 接口调用信息 + Msg *string `json:"Msg,omitempty" name:"Msg"` - // 操作系统 - Os *string `json:"Os,omitempty" name:"Os"` + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} - // 浏览器 - Browser *string `json:"Browser,omitempty" name:"Browser"` +func (r *DeleteOfflineLogRecordResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} - // 耗时计算方式 - CostType *string `json:"CostType,omitempty" name:"CostType"` +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteOfflineLogRecordResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} - // 来源 - Url *string `json:"Url,omitempty" name:"Url"` +type DeleteProjectRequest struct { + *tchttp.BaseRequest - // 环境 - Env *string `json:"Env,omitempty" name:"Env"` + // 需要删除的项目 ID + ID *uint64 `json:"ID,omitempty" name:"ID"` } -func (r *DescribeDataFetchUrlRequest) ToJsonString() string { +func (r *DeleteProjectRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDataFetchUrlRequest) FromJsonString(s string) error { +func (r *DeleteProjectRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "StartTime") - delete(f, "Type") - delete(f, "EndTime") delete(f, "ID") - delete(f, "ExtSecond") - delete(f, "Engine") - delete(f, "Isp") - delete(f, "From") - delete(f, "Level") - delete(f, "Brand") - delete(f, "Area") - delete(f, "VersionNum") - delete(f, "Platform") - delete(f, "ExtThird") - delete(f, "ExtFirst") - delete(f, "NetType") - delete(f, "Device") - delete(f, "IsAbroad") - delete(f, "Os") - delete(f, "Browser") - delete(f, "CostType") - delete(f, "Url") - delete(f, "Env") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataFetchUrlRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteProjectRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeDataFetchUrlResponse struct { +type DeleteProjectResponse struct { *tchttp.BaseResponse Response *struct { - // 返回值 - Result *string `json:"Result,omitempty" name:"Result"` + // 操作信息 + Msg *string `json:"Msg,omitempty" name:"Msg"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeDataFetchUrlResponse) ToJsonString() string { +func (r *DeleteProjectResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDataFetchUrlResponse) FromJsonString(s string) error { +func (r *DeleteProjectResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeDataLogUrlStatisticsRequest struct { +type DeleteReleaseFileRequest struct { *tchttp.BaseRequest - // 开始时间 + // 文件 id + ID *int64 `json:"ID,omitempty" name:"ID"` +} + +func (r *DeleteReleaseFileRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteReleaseFileRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteReleaseFileRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DeleteReleaseFileResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 接口请求返回字符串 + Msg *string `json:"Msg,omitempty" name:"Msg"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DeleteReleaseFileResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteReleaseFileResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DeleteStarProjectRequest struct { + *tchttp.BaseRequest + + // 实例ID:taw-123 + InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` +} + +func (r *DeleteStarProjectRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteStarProjectRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceID") + delete(f, "ID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteStarProjectRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DeleteStarProjectResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回消息 + // 注意:此字段可能返回 null,表示取不到有效值。 + Msg *string `json:"Msg,omitempty" name:"Msg"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DeleteStarProjectResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteStarProjectResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DeleteWhitelistRequest struct { + *tchttp.BaseRequest + + // 实例ID + InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"` + + // 名单ID + ID *string `json:"ID,omitempty" name:"ID"` +} + +func (r *DeleteWhitelistRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteWhitelistRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceID") + delete(f, "ID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteWhitelistRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DeleteWhitelistResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 消息success + Msg *string `json:"Msg,omitempty" name:"Msg"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DeleteWhitelistResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DeleteWhitelistResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataCustomUrlRequest struct { + *tchttp.BaseRequest + + // 开始时间 StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` - // "analysis", "compare", "samp", "version", "ext3","nettype", "platform","isp","region","device","browser","ext1","ext2" + // top:资源top视图,allcount:性能视图,day:14天数据,condition:条件列表,pagepv:性能视图,area:请求速度分布,nettype/version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:网络平台视图/Version视图/设备视图/ISP视图/地区视图/浏览器视图/ext1视图等等 Type *string `json:"Type,omitempty" name:"Type"` // 结束时间 @@ -570,18 +944,24 @@ type DescribeDataLogUrlStatisticsRequest struct { // 浏览器 Browser *string `json:"Browser,omitempty" name:"Browser"` - // 环境区分 + // 耗时计算方式 + CostType *string `json:"CostType,omitempty" name:"CostType"` + + // 自定义测速的key的值 + Url *string `json:"Url,omitempty" name:"Url"` + + // 环境 Env *string `json:"Env,omitempty" name:"Env"` } -func (r *DescribeDataLogUrlStatisticsRequest) ToJsonString() string { +func (r *DescribeDataCustomUrlRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDataLogUrlStatisticsRequest) FromJsonString(s string) error { +func (r *DescribeDataCustomUrlRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err @@ -606,14 +986,16 @@ func (r *DescribeDataLogUrlStatisticsRequest) FromJsonString(s string) error { delete(f, "IsAbroad") delete(f, "Os") delete(f, "Browser") + delete(f, "CostType") + delete(f, "Url") delete(f, "Env") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataLogUrlStatisticsRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataCustomUrlRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeDataLogUrlStatisticsResponse struct { +type DescribeDataCustomUrlResponse struct { *tchttp.BaseResponse Response *struct { @@ -625,128 +1007,128 @@ type DescribeDataLogUrlStatisticsResponse struct { } `json:"Response"` } -func (r *DescribeDataLogUrlStatisticsResponse) ToJsonString() string { +func (r *DescribeDataCustomUrlResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDataLogUrlStatisticsResponse) FromJsonString(s string) error { +func (r *DescribeDataCustomUrlResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeDataPerformancePageRequest struct { +type DescribeDataEventUrlRequest struct { *tchttp.BaseRequest - // 项目ID - ID *int64 `json:"ID,omitempty" name:"ID"` - // 开始时间 StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + // allcount:性能视图,day:14天数据,condition:条件列表,ckuv:获取uv趋势,ckpv:获取pv趋势,nettype/version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:网络平台视图/Version视图/设备视图/ISP视图/地区视图/浏览器视图/ext1视图等等 + Type *string `json:"Type,omitempty" name:"Type"` + // 结束时间 EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` - // ["pagepv", "allcount"] - Type *string `json:"Type,omitempty" name:"Type"` + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` - // 日志等级 - Level *string `json:"Level,omitempty" name:"Level"` + // 自定义2 + ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + + // 浏览器引擎 + Engine *string `json:"Engine,omitempty" name:"Engine"` // 运营商 Isp *string `json:"Isp,omitempty" name:"Isp"` + // 来源页面 + From *string `json:"From,omitempty" name:"From"` + + // 日志等级 + Level *string `json:"Level,omitempty" name:"Level"` + + // 品牌 + Brand *string `json:"Brand,omitempty" name:"Brand"` + // 地区 Area *string `json:"Area,omitempty" name:"Area"` - // 网络类型 - NetType *string `json:"NetType,omitempty" name:"NetType"` + // 版本 + VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` // 平台 Platform *string `json:"Platform,omitempty" name:"Platform"` - // 机型 - Device *string `json:"Device,omitempty" name:"Device"` - - // 版本 - VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + // 自定义3 + ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` // 自定义1 ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` - // 自定义2 - ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + // 网络类型 + NetType *string `json:"NetType,omitempty" name:"NetType"` - // 自定义3 - ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + // 机型 + Device *string `json:"Device,omitempty" name:"Device"` // 是否海外 IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` - // 浏览器 - Browser *string `json:"Browser,omitempty" name:"Browser"` - // 操作系统 Os *string `json:"Os,omitempty" name:"Os"` - // 浏览器引擎 - Engine *string `json:"Engine,omitempty" name:"Engine"` - - // 品牌 - Brand *string `json:"Brand,omitempty" name:"Brand"` - - // 来源页面 - From *string `json:"From,omitempty" name:"From"` + // 浏览器 + Browser *string `json:"Browser,omitempty" name:"Browser"` - // 耗时计算方式 - CostType *string `json:"CostType,omitempty" name:"CostType"` + // 筛选条件 + Name *string `json:"Name,omitempty" name:"Name"` - // 环境变量 + // 环境 Env *string `json:"Env,omitempty" name:"Env"` } -func (r *DescribeDataPerformancePageRequest) ToJsonString() string { +func (r *DescribeDataEventUrlRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDataPerformancePageRequest) FromJsonString(s string) error { +func (r *DescribeDataEventUrlRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "ID") delete(f, "StartTime") - delete(f, "EndTime") delete(f, "Type") - delete(f, "Level") + delete(f, "EndTime") + delete(f, "ID") + delete(f, "ExtSecond") + delete(f, "Engine") delete(f, "Isp") + delete(f, "From") + delete(f, "Level") + delete(f, "Brand") delete(f, "Area") - delete(f, "NetType") - delete(f, "Platform") - delete(f, "Device") delete(f, "VersionNum") - delete(f, "ExtFirst") - delete(f, "ExtSecond") + delete(f, "Platform") delete(f, "ExtThird") + delete(f, "ExtFirst") + delete(f, "NetType") + delete(f, "Device") delete(f, "IsAbroad") - delete(f, "Browser") delete(f, "Os") - delete(f, "Engine") - delete(f, "Brand") - delete(f, "From") - delete(f, "CostType") + delete(f, "Browser") + delete(f, "Name") delete(f, "Env") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataPerformancePageRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataEventUrlRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeDataPerformancePageResponse struct { +type DescribeDataEventUrlResponse struct { *tchttp.BaseResponse Response *struct { @@ -758,24 +1140,24 @@ type DescribeDataPerformancePageResponse struct { } `json:"Response"` } -func (r *DescribeDataPerformancePageResponse) ToJsonString() string { +func (r *DescribeDataEventUrlResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDataPerformancePageResponse) FromJsonString(s string) error { +func (r *DescribeDataEventUrlResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeDataPvUrlStatisticsRequest struct { +type DescribeDataFetchProjectRequest struct { *tchttp.BaseRequest // 开始时间 StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` - // 类型:"allcount", "falls", "samp", "version", "ext3","nettype", "platform","isp","region","device","browser","ext1","ext2" + // allcount:性能视图,day:14天数据,condition:条件列表,area:请求速度分布,nettype/version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:网络平台视图/Version视图/设备视图/ISP视图/地区视图/浏览器视图/ext1视图等等 Type *string `json:"Type,omitempty" name:"Type"` // 结束时间 @@ -832,18 +1214,24 @@ type DescribeDataPvUrlStatisticsRequest struct { // 浏览器 Browser *string `json:"Browser,omitempty" name:"Browser"` + // 耗时计算方式 + CostType *string `json:"CostType,omitempty" name:"CostType"` + + // 来源 + Url *string `json:"Url,omitempty" name:"Url"` + // 环境 Env *string `json:"Env,omitempty" name:"Env"` } -func (r *DescribeDataPvUrlStatisticsRequest) ToJsonString() string { +func (r *DescribeDataFetchProjectRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeDataPvUrlStatisticsRequest) FromJsonString(s string) error { +func (r *DescribeDataFetchProjectRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err @@ -868,296 +1256,3149 @@ func (r *DescribeDataPvUrlStatisticsRequest) FromJsonString(s string) error { delete(f, "IsAbroad") delete(f, "Os") delete(f, "Browser") + delete(f, "CostType") + delete(f, "Url") delete(f, "Env") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataPvUrlStatisticsRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataFetchProjectRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeDataPvUrlStatisticsResponse struct { - *tchttp.BaseResponse - Response *struct { +type DescribeDataFetchProjectResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataFetchProjectResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataFetchProjectResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataFetchUrlInfoRequest struct { + *tchttp.BaseRequest + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // 类型 + Type *string `json:"Type,omitempty" name:"Type"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 自定义2 + ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + + // 浏览器引擎 + Engine *string `json:"Engine,omitempty" name:"Engine"` + + // 运营商 + Isp *string `json:"Isp,omitempty" name:"Isp"` + + // 来源页面 + From *string `json:"From,omitempty" name:"From"` + + // 日志等级 + Level *string `json:"Level,omitempty" name:"Level"` + + // 品牌 + Brand *string `json:"Brand,omitempty" name:"Brand"` + + // 地区 + Area *string `json:"Area,omitempty" name:"Area"` + + // 版本 + VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + + // 平台 + Platform *string `json:"Platform,omitempty" name:"Platform"` + + // 自定义3 + ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + + // 自定义1 + ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` + + // 网络类型 + NetType *string `json:"NetType,omitempty" name:"NetType"` + + // 机型 + Device *string `json:"Device,omitempty" name:"Device"` + + // 是否海外 + IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` + + // 操作系统 + Os *string `json:"Os,omitempty" name:"Os"` + + // 浏览器 + Browser *string `json:"Browser,omitempty" name:"Browser"` + + // 耗时计算方式 + CostType *string `json:"CostType,omitempty" name:"CostType"` + + // 来源 + Url *string `json:"Url,omitempty" name:"Url"` + + // 环境 + Env *string `json:"Env,omitempty" name:"Env"` +} + +func (r *DescribeDataFetchUrlInfoRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataFetchUrlInfoRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "Type") + delete(f, "EndTime") + delete(f, "ID") + delete(f, "ExtSecond") + delete(f, "Engine") + delete(f, "Isp") + delete(f, "From") + delete(f, "Level") + delete(f, "Brand") + delete(f, "Area") + delete(f, "VersionNum") + delete(f, "Platform") + delete(f, "ExtThird") + delete(f, "ExtFirst") + delete(f, "NetType") + delete(f, "Device") + delete(f, "IsAbroad") + delete(f, "Os") + delete(f, "Browser") + delete(f, "CostType") + delete(f, "Url") + delete(f, "Env") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataFetchUrlInfoRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataFetchUrlInfoResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataFetchUrlInfoResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataFetchUrlInfoResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataFetchUrlRequest struct { + *tchttp.BaseRequest + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // allcount:性能视图,day:14天数据,count40x:40X视图,count50x:50X视图,count5xand4x:40∑50视图,top:资源top视图,nettype/version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:网络平台视图/Version视图/设备视图/ISP视图/地区视图/浏览器视图/ext1视图等等 + Type *string `json:"Type,omitempty" name:"Type"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 自定义2 + ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + + // 浏览器引擎 + Engine *string `json:"Engine,omitempty" name:"Engine"` + + // 运营商 + Isp *string `json:"Isp,omitempty" name:"Isp"` + + // 来源页面 + From *string `json:"From,omitempty" name:"From"` + + // 日志等级 + Level *string `json:"Level,omitempty" name:"Level"` + + // 品牌 + Brand *string `json:"Brand,omitempty" name:"Brand"` + + // 地区 + Area *string `json:"Area,omitempty" name:"Area"` + + // 版本 + VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + + // 平台 + Platform *string `json:"Platform,omitempty" name:"Platform"` + + // 自定义3 + ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + + // 自定义1 + ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` + + // 网络类型 + NetType *string `json:"NetType,omitempty" name:"NetType"` + + // 机型 + Device *string `json:"Device,omitempty" name:"Device"` + + // 是否海外 + IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` + + // 操作系统 + Os *string `json:"Os,omitempty" name:"Os"` + + // 浏览器 + Browser *string `json:"Browser,omitempty" name:"Browser"` + + // 耗时计算方式 + CostType *string `json:"CostType,omitempty" name:"CostType"` + + // 来源 + Url *string `json:"Url,omitempty" name:"Url"` + + // 环境 + Env *string `json:"Env,omitempty" name:"Env"` +} + +func (r *DescribeDataFetchUrlRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataFetchUrlRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "Type") + delete(f, "EndTime") + delete(f, "ID") + delete(f, "ExtSecond") + delete(f, "Engine") + delete(f, "Isp") + delete(f, "From") + delete(f, "Level") + delete(f, "Brand") + delete(f, "Area") + delete(f, "VersionNum") + delete(f, "Platform") + delete(f, "ExtThird") + delete(f, "ExtFirst") + delete(f, "NetType") + delete(f, "Device") + delete(f, "IsAbroad") + delete(f, "Os") + delete(f, "Browser") + delete(f, "CostType") + delete(f, "Url") + delete(f, "Env") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataFetchUrlRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataFetchUrlResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataFetchUrlResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataFetchUrlResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataLogUrlInfoRequest struct { + *tchttp.BaseRequest + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 时间戳 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // 时间戳 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` +} + +func (r *DescribeDataLogUrlInfoRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataLogUrlInfoRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ID") + delete(f, "StartTime") + delete(f, "EndTime") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataLogUrlInfoRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataLogUrlInfoResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回字符串 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataLogUrlInfoResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataLogUrlInfoResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataLogUrlStatisticsRequest struct { + *tchttp.BaseRequest + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // analysis:异常分析,compare:异常列表对比,allcount:性能视图,condition:条件列表,nettype/version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:网络平台视图/Version视图/设备视图/ISP视图/地区视图/浏览器视图/ext1视图等等 + Type *string `json:"Type,omitempty" name:"Type"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 自定义2 + ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + + // 浏览器引擎 + Engine *string `json:"Engine,omitempty" name:"Engine"` + + // 运营商 + Isp *string `json:"Isp,omitempty" name:"Isp"` + + // 来源页面 + From *string `json:"From,omitempty" name:"From"` + + // 日志等级 + Level *string `json:"Level,omitempty" name:"Level"` + + // 品牌 + Brand *string `json:"Brand,omitempty" name:"Brand"` + + // 地区 + Area *string `json:"Area,omitempty" name:"Area"` + + // 版本 + VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + + // 平台 + Platform *string `json:"Platform,omitempty" name:"Platform"` + + // 自定义3 + ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + + // 自定义1 + ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` + + // 网络类型 + NetType *string `json:"NetType,omitempty" name:"NetType"` + + // 机型 + Device *string `json:"Device,omitempty" name:"Device"` + + // 是否海外 + IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` + + // 操作系统 + Os *string `json:"Os,omitempty" name:"Os"` + + // 浏览器 + Browser *string `json:"Browser,omitempty" name:"Browser"` + + // 环境区分 + Env *string `json:"Env,omitempty" name:"Env"` +} + +func (r *DescribeDataLogUrlStatisticsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataLogUrlStatisticsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "Type") + delete(f, "EndTime") + delete(f, "ID") + delete(f, "ExtSecond") + delete(f, "Engine") + delete(f, "Isp") + delete(f, "From") + delete(f, "Level") + delete(f, "Brand") + delete(f, "Area") + delete(f, "VersionNum") + delete(f, "Platform") + delete(f, "ExtThird") + delete(f, "ExtFirst") + delete(f, "NetType") + delete(f, "Device") + delete(f, "IsAbroad") + delete(f, "Os") + delete(f, "Browser") + delete(f, "Env") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataLogUrlStatisticsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataLogUrlStatisticsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataLogUrlStatisticsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataLogUrlStatisticsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataPerformancePageRequest struct { + *tchttp.BaseRequest + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // pagepv:性能视图,allcount:性能视图,falls:页面加载瀑布图,samp:首屏时间,day:14天数据,nettype:网络/平台视图,performance:页面性能TOP视图,version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:ISP视图/地区视图/浏览器视图等 + Type *string `json:"Type,omitempty" name:"Type"` + + // 日志等级 + Level *string `json:"Level,omitempty" name:"Level"` + + // 运营商 + Isp *string `json:"Isp,omitempty" name:"Isp"` + + // 地区 + Area *string `json:"Area,omitempty" name:"Area"` + + // 网络类型 + NetType *string `json:"NetType,omitempty" name:"NetType"` + + // 平台 + Platform *string `json:"Platform,omitempty" name:"Platform"` + + // 机型 + Device *string `json:"Device,omitempty" name:"Device"` + + // 版本 + VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + + // 自定义1 + ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` + + // 自定义2 + ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + + // 自定义3 + ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + + // 是否海外 + IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` + + // 浏览器 + Browser *string `json:"Browser,omitempty" name:"Browser"` + + // 操作系统 + Os *string `json:"Os,omitempty" name:"Os"` + + // 浏览器引擎 + Engine *string `json:"Engine,omitempty" name:"Engine"` + + // 品牌 + Brand *string `json:"Brand,omitempty" name:"Brand"` + + // 来源页面 + From *string `json:"From,omitempty" name:"From"` + + // 耗时计算方式 + CostType *string `json:"CostType,omitempty" name:"CostType"` + + // 环境变量 + Env *string `json:"Env,omitempty" name:"Env"` +} + +func (r *DescribeDataPerformancePageRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataPerformancePageRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ID") + delete(f, "StartTime") + delete(f, "EndTime") + delete(f, "Type") + delete(f, "Level") + delete(f, "Isp") + delete(f, "Area") + delete(f, "NetType") + delete(f, "Platform") + delete(f, "Device") + delete(f, "VersionNum") + delete(f, "ExtFirst") + delete(f, "ExtSecond") + delete(f, "ExtThird") + delete(f, "IsAbroad") + delete(f, "Browser") + delete(f, "Os") + delete(f, "Engine") + delete(f, "Brand") + delete(f, "From") + delete(f, "CostType") + delete(f, "Env") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataPerformancePageRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataPerformancePageResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataPerformancePageResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataPerformancePageResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataPerformanceProjectRequest struct { + *tchttp.BaseRequest + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // allcount:性能视图,falls:页面加载瀑布图,samp:首屏时间,day:14天数据,nettype:网络/平台视图,performance:页面性能TOP视图,condition:条件列表,area:请求速度分布,version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:ISP视图/地区视图/浏览器视图等 + Type *string `json:"Type,omitempty" name:"Type"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 自定义2 + ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + + // 浏览器引擎 + Engine *string `json:"Engine,omitempty" name:"Engine"` + + // 运营商 + Isp *string `json:"Isp,omitempty" name:"Isp"` + + // 来源页面 + From *string `json:"From,omitempty" name:"From"` + + // 日志等级 + Level *string `json:"Level,omitempty" name:"Level"` + + // 品牌 + Brand *string `json:"Brand,omitempty" name:"Brand"` + + // 地区 + Area *string `json:"Area,omitempty" name:"Area"` + + // 版本 + VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + + // 平台 + Platform *string `json:"Platform,omitempty" name:"Platform"` + + // 自定义3 + ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + + // 自定义1 + ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` + + // 网络类型 + NetType *string `json:"NetType,omitempty" name:"NetType"` + + // 机型 + Device *string `json:"Device,omitempty" name:"Device"` + + // 是否海外 + IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` + + // 操作系统 + Os *string `json:"Os,omitempty" name:"Os"` + + // 浏览器 + Browser *string `json:"Browser,omitempty" name:"Browser"` + + // 耗时计算 + CostType *string `json:"CostType,omitempty" name:"CostType"` + + // 环境 + Env *string `json:"Env,omitempty" name:"Env"` +} + +func (r *DescribeDataPerformanceProjectRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataPerformanceProjectRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "Type") + delete(f, "EndTime") + delete(f, "ID") + delete(f, "ExtSecond") + delete(f, "Engine") + delete(f, "Isp") + delete(f, "From") + delete(f, "Level") + delete(f, "Brand") + delete(f, "Area") + delete(f, "VersionNum") + delete(f, "Platform") + delete(f, "ExtThird") + delete(f, "ExtFirst") + delete(f, "NetType") + delete(f, "Device") + delete(f, "IsAbroad") + delete(f, "Os") + delete(f, "Browser") + delete(f, "CostType") + delete(f, "Env") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataPerformanceProjectRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataPerformanceProjectResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataPerformanceProjectResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataPerformanceProjectResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataPvUrlInfoRequest struct { + *tchttp.BaseRequest + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // 类型 + Type *string `json:"Type,omitempty" name:"Type"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 自定义2 + ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + + // 浏览器引擎 + Engine *string `json:"Engine,omitempty" name:"Engine"` + + // 运营商 + Isp *string `json:"Isp,omitempty" name:"Isp"` + + // 来源页面 + From *string `json:"From,omitempty" name:"From"` + + // 日志等级 + Level *string `json:"Level,omitempty" name:"Level"` + + // 品牌 + Brand *string `json:"Brand,omitempty" name:"Brand"` + + // 地区 + Area *string `json:"Area,omitempty" name:"Area"` + + // 版本 + VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + + // 平台 + Platform *string `json:"Platform,omitempty" name:"Platform"` + + // 自定义3 + ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + + // 自定义1 + ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` + + // 网络类型 + NetType *string `json:"NetType,omitempty" name:"NetType"` + + // 机型 + Device *string `json:"Device,omitempty" name:"Device"` + + // 是否海外 + IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` + + // 操作系统 + Os *string `json:"Os,omitempty" name:"Os"` + + // 浏览器 + Browser *string `json:"Browser,omitempty" name:"Browser"` + + // 环境 + Env *string `json:"Env,omitempty" name:"Env"` +} + +func (r *DescribeDataPvUrlInfoRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataPvUrlInfoRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "Type") + delete(f, "EndTime") + delete(f, "ID") + delete(f, "ExtSecond") + delete(f, "Engine") + delete(f, "Isp") + delete(f, "From") + delete(f, "Level") + delete(f, "Brand") + delete(f, "Area") + delete(f, "VersionNum") + delete(f, "Platform") + delete(f, "ExtThird") + delete(f, "ExtFirst") + delete(f, "NetType") + delete(f, "Device") + delete(f, "IsAbroad") + delete(f, "Os") + delete(f, "Browser") + delete(f, "Env") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataPvUrlInfoRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataPvUrlInfoResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataPvUrlInfoResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataPvUrlInfoResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataPvUrlStatisticsRequest struct { + *tchttp.BaseRequest + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // allcount:性能视图,day:14天数据,vp:性能,ckuv:uv,ckpv:pv,condition:条件列表,nettype/version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:网络平台视图/Version视图/设备视图/ISP视图/地区视图/浏览器视图/ext1视图等等 + Type *string `json:"Type,omitempty" name:"Type"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 自定义2 + ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + + // 浏览器引擎 + Engine *string `json:"Engine,omitempty" name:"Engine"` + + // 运营商 + Isp *string `json:"Isp,omitempty" name:"Isp"` + + // 来源页面 + From *string `json:"From,omitempty" name:"From"` + + // 日志等级 + Level *string `json:"Level,omitempty" name:"Level"` + + // 品牌 + Brand *string `json:"Brand,omitempty" name:"Brand"` + + // 地区 + Area *string `json:"Area,omitempty" name:"Area"` + + // 版本 + VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + + // 平台 + Platform *string `json:"Platform,omitempty" name:"Platform"` + + // 自定义3 + ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + + // 自定义1 + ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` + + // 网络类型 + NetType *string `json:"NetType,omitempty" name:"NetType"` + + // 机型 + Device *string `json:"Device,omitempty" name:"Device"` + + // 是否海外 + IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` + + // 操作系统 + Os *string `json:"Os,omitempty" name:"Os"` + + // 浏览器 + Browser *string `json:"Browser,omitempty" name:"Browser"` + + // 环境 + Env *string `json:"Env,omitempty" name:"Env"` +} + +func (r *DescribeDataPvUrlStatisticsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataPvUrlStatisticsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "Type") + delete(f, "EndTime") + delete(f, "ID") + delete(f, "ExtSecond") + delete(f, "Engine") + delete(f, "Isp") + delete(f, "From") + delete(f, "Level") + delete(f, "Brand") + delete(f, "Area") + delete(f, "VersionNum") + delete(f, "Platform") + delete(f, "ExtThird") + delete(f, "ExtFirst") + delete(f, "NetType") + delete(f, "Device") + delete(f, "IsAbroad") + delete(f, "Os") + delete(f, "Browser") + delete(f, "Env") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataPvUrlStatisticsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataPvUrlStatisticsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataPvUrlStatisticsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataPvUrlStatisticsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataReportCountRequest struct { + *tchttp.BaseRequest + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 上报类型 + ReportType *string `json:"ReportType,omitempty" name:"ReportType"` + + // 实例ID + InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"` +} + +func (r *DescribeDataReportCountRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataReportCountRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "EndTime") + delete(f, "ID") + delete(f, "ReportType") + delete(f, "InstanceID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataReportCountRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataReportCountResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataReportCountResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataReportCountResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataRequest struct { + *tchttp.BaseRequest + + // 查询字符串 + Query *string `json:"Query,omitempty" name:"Query"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` +} + +func (r *DescribeDataRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Query") + delete(f, "ID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回字符串 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataSetUrlStatisticsRequest struct { + *tchttp.BaseRequest + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // allcount:性能视图,data:小程序,component:小程序相关,day:14天数据,nettype:网络/平台视图,performance:页面性能TOP视图,version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:ISP视图/地区视图/浏览器视图等 + Type *string `json:"Type,omitempty" name:"Type"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 自定义2 + ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + + // 浏览器引擎 + Engine *string `json:"Engine,omitempty" name:"Engine"` + + // 运营商 + Isp *string `json:"Isp,omitempty" name:"Isp"` + + // 来源页面 + From *string `json:"From,omitempty" name:"From"` + + // 日志等级 + Level *string `json:"Level,omitempty" name:"Level"` + + // 品牌 + Brand *string `json:"Brand,omitempty" name:"Brand"` + + // 地区 + Area *string `json:"Area,omitempty" name:"Area"` + + // 版本 + VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + + // 平台 + Platform *string `json:"Platform,omitempty" name:"Platform"` + + // 自定义3 + ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + + // 自定义1 + ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` + + // 网络类型 + NetType *string `json:"NetType,omitempty" name:"NetType"` + + // 机型 + Device *string `json:"Device,omitempty" name:"Device"` + + // 是否海外 + IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` + + // 操作系统 + Os *string `json:"Os,omitempty" name:"Os"` + + // 浏览器 + Browser *string `json:"Browser,omitempty" name:"Browser"` + + // 耗时计算 + CostType *string `json:"CostType,omitempty" name:"CostType"` + + // 环境 + Env *string `json:"Env,omitempty" name:"Env"` +} + +func (r *DescribeDataSetUrlStatisticsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataSetUrlStatisticsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "Type") + delete(f, "EndTime") + delete(f, "ID") + delete(f, "ExtSecond") + delete(f, "Engine") + delete(f, "Isp") + delete(f, "From") + delete(f, "Level") + delete(f, "Brand") + delete(f, "Area") + delete(f, "VersionNum") + delete(f, "Platform") + delete(f, "ExtThird") + delete(f, "ExtFirst") + delete(f, "NetType") + delete(f, "Device") + delete(f, "IsAbroad") + delete(f, "Os") + delete(f, "Browser") + delete(f, "CostType") + delete(f, "Env") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataSetUrlStatisticsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataSetUrlStatisticsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataSetUrlStatisticsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataSetUrlStatisticsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataStaticProjectRequest struct { + *tchttp.BaseRequest + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // allcount:性能视图,day:14天数据,condition:条件列表,area:请求速度分布,nettype/version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:网络平台视图/Version视图/设备视图/ISP视图/地区视图/浏览器视图/ext1视图等等 + Type *string `json:"Type,omitempty" name:"Type"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 自定义2 + ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + + // 浏览器引擎 + Engine *string `json:"Engine,omitempty" name:"Engine"` + + // 运营商 + Isp *string `json:"Isp,omitempty" name:"Isp"` + + // 来源页面 + From *string `json:"From,omitempty" name:"From"` + + // 日志等级 + Level *string `json:"Level,omitempty" name:"Level"` + + // 品牌 + Brand *string `json:"Brand,omitempty" name:"Brand"` + + // 地区 + Area *string `json:"Area,omitempty" name:"Area"` + + // 版本 + VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + + // 平台 + Platform *string `json:"Platform,omitempty" name:"Platform"` + + // 自定义3 + ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + + // 自定义1 + ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` + + // 网络类型 + NetType *string `json:"NetType,omitempty" name:"NetType"` + + // 机型 + Device *string `json:"Device,omitempty" name:"Device"` + + // 是否海外 + IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` + + // 操作系统 + Os *string `json:"Os,omitempty" name:"Os"` + + // 浏览器 + Browser *string `json:"Browser,omitempty" name:"Browser"` + + // 耗时计算 + CostType *string `json:"CostType,omitempty" name:"CostType"` + + // 来源 + Url []*string `json:"Url,omitempty" name:"Url"` + + // 环境 + Env *string `json:"Env,omitempty" name:"Env"` +} + +func (r *DescribeDataStaticProjectRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataStaticProjectRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "Type") + delete(f, "EndTime") + delete(f, "ID") + delete(f, "ExtSecond") + delete(f, "Engine") + delete(f, "Isp") + delete(f, "From") + delete(f, "Level") + delete(f, "Brand") + delete(f, "Area") + delete(f, "VersionNum") + delete(f, "Platform") + delete(f, "ExtThird") + delete(f, "ExtFirst") + delete(f, "NetType") + delete(f, "Device") + delete(f, "IsAbroad") + delete(f, "Os") + delete(f, "Browser") + delete(f, "CostType") + delete(f, "Url") + delete(f, "Env") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataStaticProjectRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataStaticProjectResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataStaticProjectResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataStaticProjectResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataStaticResourceRequest struct { + *tchttp.BaseRequest + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // top:资源top视图,count40x:40X视图,nettype/version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:网络平台视图/Version视图/设备视图/ISP视图/地区视图/浏览器视图//ext1视图等等 + Type *string `json:"Type,omitempty" name:"Type"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 自定义2 + ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + + // 浏览器引擎 + Engine *string `json:"Engine,omitempty" name:"Engine"` + + // 运营商 + Isp *string `json:"Isp,omitempty" name:"Isp"` + + // 来源页面 + From *string `json:"From,omitempty" name:"From"` + + // 日志等级 + Level *string `json:"Level,omitempty" name:"Level"` + + // 品牌 + Brand *string `json:"Brand,omitempty" name:"Brand"` + + // 地区 + Area *string `json:"Area,omitempty" name:"Area"` + + // 版本 + VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + + // 平台 + Platform *string `json:"Platform,omitempty" name:"Platform"` + + // 自定义3 + ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + + // 自定义1 + ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` + + // 网络类型 + NetType *string `json:"NetType,omitempty" name:"NetType"` + + // 机型 + Device *string `json:"Device,omitempty" name:"Device"` + + // 是否海外 + IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` + + // 操作系统 + Os *string `json:"Os,omitempty" name:"Os"` + + // 浏览器 + Browser *string `json:"Browser,omitempty" name:"Browser"` + + // 耗时计算方式 + CostType *string `json:"CostType,omitempty" name:"CostType"` + + // 来源 + Url *string `json:"Url,omitempty" name:"Url"` + + // 环境 + Env *string `json:"Env,omitempty" name:"Env"` +} + +func (r *DescribeDataStaticResourceRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataStaticResourceRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "Type") + delete(f, "EndTime") + delete(f, "ID") + delete(f, "ExtSecond") + delete(f, "Engine") + delete(f, "Isp") + delete(f, "From") + delete(f, "Level") + delete(f, "Brand") + delete(f, "Area") + delete(f, "VersionNum") + delete(f, "Platform") + delete(f, "ExtThird") + delete(f, "ExtFirst") + delete(f, "NetType") + delete(f, "Device") + delete(f, "IsAbroad") + delete(f, "Os") + delete(f, "Browser") + delete(f, "CostType") + delete(f, "Url") + delete(f, "Env") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataStaticResourceRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataStaticResourceResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataStaticResourceResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataStaticResourceResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataStaticUrlRequest struct { + *tchttp.BaseRequest + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // pagepv:性能视图,nettype/version/platform/isp/region/device/browser/ext1/ext2/ext3/ret/status/from/url/env/:网络平台视图/Version视图/设备视图/ISP视图/地区视图/浏览器视图//ext1视图等等 + Type *string `json:"Type,omitempty" name:"Type"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 自定义2 + ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + + // 浏览器引擎 + Engine *string `json:"Engine,omitempty" name:"Engine"` + + // 运营商 + Isp *string `json:"Isp,omitempty" name:"Isp"` + + // 来源页面 + From *string `json:"From,omitempty" name:"From"` + + // 日志等级 + Level *string `json:"Level,omitempty" name:"Level"` + + // 品牌 + Brand *string `json:"Brand,omitempty" name:"Brand"` + + // 地区 + Area *string `json:"Area,omitempty" name:"Area"` + + // 版本 + VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + + // 平台 + Platform *string `json:"Platform,omitempty" name:"Platform"` + + // 自定义3 + ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + + // 自定义1 + ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` + + // 网络类型 + NetType *string `json:"NetType,omitempty" name:"NetType"` + + // 机型 + Device *string `json:"Device,omitempty" name:"Device"` + + // 是否海外 + IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` + + // 操作系统 + Os *string `json:"Os,omitempty" name:"Os"` + + // 浏览器 + Browser *string `json:"Browser,omitempty" name:"Browser"` + + // 耗时计算方式 + CostType *string `json:"CostType,omitempty" name:"CostType"` + + // 来源 + Url *string `json:"Url,omitempty" name:"Url"` + + // 环境 + Env *string `json:"Env,omitempty" name:"Env"` +} + +func (r *DescribeDataStaticUrlRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataStaticUrlRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "Type") + delete(f, "EndTime") + delete(f, "ID") + delete(f, "ExtSecond") + delete(f, "Engine") + delete(f, "Isp") + delete(f, "From") + delete(f, "Level") + delete(f, "Brand") + delete(f, "Area") + delete(f, "VersionNum") + delete(f, "Platform") + delete(f, "ExtThird") + delete(f, "ExtFirst") + delete(f, "NetType") + delete(f, "Device") + delete(f, "IsAbroad") + delete(f, "Os") + delete(f, "Browser") + delete(f, "CostType") + delete(f, "Url") + delete(f, "Env") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataStaticUrlRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataStaticUrlResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataStaticUrlResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataStaticUrlResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataWebVitalsPageRequest struct { + *tchttp.BaseRequest + + // 开始时间 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // 结束时间 + EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 自定义2 + ExtSecond *string `json:"ExtSecond,omitempty" name:"ExtSecond"` + + // 浏览器引擎 + Engine *string `json:"Engine,omitempty" name:"Engine"` + + // 运营商 + Isp *string `json:"Isp,omitempty" name:"Isp"` + + // 来源页面 + From *string `json:"From,omitempty" name:"From"` + + // 日志等级 + Level *string `json:"Level,omitempty" name:"Level"` + + // 类型暂无 + Type *string `json:"Type,omitempty" name:"Type"` + + // 品牌 + Brand *string `json:"Brand,omitempty" name:"Brand"` + + // 地区 + Area *string `json:"Area,omitempty" name:"Area"` + + // 版本 + VersionNum *string `json:"VersionNum,omitempty" name:"VersionNum"` + + // 平台 + Platform *string `json:"Platform,omitempty" name:"Platform"` + + // 自定义3 + ExtThird *string `json:"ExtThird,omitempty" name:"ExtThird"` + + // 自定义1 + ExtFirst *string `json:"ExtFirst,omitempty" name:"ExtFirst"` + + // 网络类型 + NetType *string `json:"NetType,omitempty" name:"NetType"` + + // 机型 + Device *string `json:"Device,omitempty" name:"Device"` + + // 是否海外 + IsAbroad *string `json:"IsAbroad,omitempty" name:"IsAbroad"` + + // 操作系统 + Os *string `json:"Os,omitempty" name:"Os"` + + // 浏览器 + Browser *string `json:"Browser,omitempty" name:"Browser"` + + // 耗时计算 + CostType *string `json:"CostType,omitempty" name:"CostType"` + + // 环境 + Env *string `json:"Env,omitempty" name:"Env"` +} + +func (r *DescribeDataWebVitalsPageRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataWebVitalsPageRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StartTime") + delete(f, "EndTime") + delete(f, "ID") + delete(f, "ExtSecond") + delete(f, "Engine") + delete(f, "Isp") + delete(f, "From") + delete(f, "Level") + delete(f, "Type") + delete(f, "Brand") + delete(f, "Area") + delete(f, "VersionNum") + delete(f, "Platform") + delete(f, "ExtThird") + delete(f, "ExtFirst") + delete(f, "NetType") + delete(f, "Device") + delete(f, "IsAbroad") + delete(f, "Os") + delete(f, "Browser") + delete(f, "CostType") + delete(f, "Env") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDataWebVitalsPageRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeDataWebVitalsPageResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回值 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeDataWebVitalsPageResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeDataWebVitalsPageResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeErrorRequest struct { + *tchttp.BaseRequest + + // 日期 + Date *string `json:"Date,omitempty" name:"Date"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` +} + +func (r *DescribeErrorRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeErrorRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Date") + delete(f, "ID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeErrorRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeErrorResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 内容 + Content *string `json:"Content,omitempty" name:"Content"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 时间 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeErrorResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeErrorResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeLogExportsRequest struct { + *tchttp.BaseRequest + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` +} + +func (r *DescribeLogExportsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeLogExportsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLogExportsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeLogExportsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 日志导出记录列表 + LogExportSet []*LogExport `json:"LogExportSet,omitempty" name:"LogExportSet"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeLogExportsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeLogExportsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeLogListRequest struct { + *tchttp.BaseRequest + + // 排序方式 desc asc + Sort *string `json:"Sort,omitempty" name:"Sort"` + + // searchlog histogram + ActionType *string `json:"ActionType,omitempty" name:"ActionType"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` + + // 开始时间 + StartTime *string `json:"StartTime,omitempty" name:"StartTime"` + + // 单次查询返回的原始日志条数,最大值为100 + Limit *int64 `json:"Limit,omitempty" name:"Limit"` + + // 上下文,加载更多日志时使用,透传上次返回的 Context 值,获取后续的日志内容,总计最多可获取1万条原始日志。过期时间1小时 + Context *string `json:"Context,omitempty" name:"Context"` + + // 查询语句,语句长度最大为4096 + Query *string `json:"Query,omitempty" name:"Query"` + + // 结束时间 + EndTime *string `json:"EndTime,omitempty" name:"EndTime"` +} + +func (r *DescribeLogListRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeLogListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Sort") + delete(f, "ActionType") + delete(f, "ID") + delete(f, "StartTime") + delete(f, "Limit") + delete(f, "Context") + delete(f, "Query") + delete(f, "EndTime") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLogListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeLogListResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 返回字符串 + Result *string `json:"Result,omitempty" name:"Result"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeLogListResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeLogListResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeOfflineLogConfigsRequest struct { + *tchttp.BaseRequest + + // 项目唯一上报 key + ProjectKey *string `json:"ProjectKey,omitempty" name:"ProjectKey"` +} + +func (r *DescribeOfflineLogConfigsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeOfflineLogConfigsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ProjectKey") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeOfflineLogConfigsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeOfflineLogConfigsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 接口调用信息 + Msg *string `json:"Msg,omitempty" name:"Msg"` + + // 用户唯一标示数组 + UniqueIDSet []*string `json:"UniqueIDSet,omitempty" name:"UniqueIDSet"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeOfflineLogConfigsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeOfflineLogConfigsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeOfflineLogRecordsRequest struct { + *tchttp.BaseRequest + + // 项目唯一上报 key + ProjectKey *string `json:"ProjectKey,omitempty" name:"ProjectKey"` +} + +func (r *DescribeOfflineLogRecordsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeOfflineLogRecordsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ProjectKey") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeOfflineLogRecordsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeOfflineLogRecordsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 接口调用信息 + Msg *string `json:"Msg,omitempty" name:"Msg"` + + // 记录 ID 数组 + RecordSet []*string `json:"RecordSet,omitempty" name:"RecordSet"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeOfflineLogRecordsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeOfflineLogRecordsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeOfflineLogsRequest struct { + *tchttp.BaseRequest + + // 项目唯一上报 key + ProjectKey *string `json:"ProjectKey,omitempty" name:"ProjectKey"` + + // 离线日志文件 id 列表 + FileIDs []*string `json:"FileIDs,omitempty" name:"FileIDs"` +} + +func (r *DescribeOfflineLogsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeOfflineLogsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ProjectKey") + delete(f, "FileIDs") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeOfflineLogsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeOfflineLogsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 接口调用返回信息 + Msg *string `json:"Msg,omitempty" name:"Msg"` + + // 日志列表 + LogSet []*string `json:"LogSet,omitempty" name:"LogSet"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeOfflineLogsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeOfflineLogsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeProjectLimitsRequest struct { + *tchttp.BaseRequest + + // 项目ID + ProjectID *int64 `json:"ProjectID,omitempty" name:"ProjectID"` +} + +func (r *DescribeProjectLimitsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeProjectLimitsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ProjectID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeProjectLimitsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeProjectLimitsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 上报率数组列表 + ProjectLimitSet []*ProjectLimit `json:"ProjectLimitSet,omitempty" name:"ProjectLimitSet"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeProjectLimitsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeProjectLimitsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeProjectsRequest struct { + *tchttp.BaseRequest + + // 分页每页数目,整型 + Limit *uint64 `json:"Limit,omitempty" name:"Limit"` + + // 分页页码,整型 + Offset *uint64 `json:"Offset,omitempty" name:"Offset"` + + // 过滤条件 + Filters []*Filter `json:"Filters,omitempty" name:"Filters"` +} + +func (r *DescribeProjectsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeProjectsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Limit") + delete(f, "Offset") + delete(f, "Filters") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeProjectsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeProjectsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 列表总数 + TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 项目列表 + ProjectSet []*RumProject `json:"ProjectSet,omitempty" name:"ProjectSet"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeProjectsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeProjectsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribePvListRequest struct { + *tchttp.BaseRequest + + // ID + ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` + + // 结束时间 + EndTime *string `json:"EndTime,omitempty" name:"EndTime"` + + // 开始时间 + StartTime *string `json:"StartTime,omitempty" name:"StartTime"` + + // 获取day:d, 获取min则不填 + Dimension *string `json:"Dimension,omitempty" name:"Dimension"` +} + +func (r *DescribePvListRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribePvListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ProjectId") + delete(f, "EndTime") + delete(f, "StartTime") + delete(f, "Dimension") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribePvListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribePvListResponse struct { + *tchttp.BaseResponse + Response *struct { + + // pv列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + ProjectPvSet []*RumPvInfo `json:"ProjectPvSet,omitempty" name:"ProjectPvSet"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribePvListResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribePvListResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeReleaseFileSignRequest struct { + *tchttp.BaseRequest + + // 超时时间,不填默认是 5 分钟 + Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"` +} + +func (r *DescribeReleaseFileSignRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeReleaseFileSignRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Timeout") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeReleaseFileSignRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeReleaseFileSignResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 临时密钥key + SecretKey *string `json:"SecretKey,omitempty" name:"SecretKey"` + + // 临时密钥 id + SecretID *string `json:"SecretID,omitempty" name:"SecretID"` + + // 临时密钥临时 token + SessionToken *string `json:"SessionToken,omitempty" name:"SessionToken"` + + // 开始时间戳 + StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` + + // 过期时间戳 + ExpiredTime *int64 `json:"ExpiredTime,omitempty" name:"ExpiredTime"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeReleaseFileSignResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeReleaseFileSignResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeReleaseFilesRequest struct { + *tchttp.BaseRequest + + // 项目 id + ProjectID *int64 `json:"ProjectID,omitempty" name:"ProjectID"` + + // 文件版本 + FileVersion *string `json:"FileVersion,omitempty" name:"FileVersion"` +} + +func (r *DescribeReleaseFilesRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeReleaseFilesRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ProjectID") + delete(f, "FileVersion") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeReleaseFilesRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeReleaseFilesResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 文件信息列表 + Files []*ReleaseFile `json:"Files,omitempty" name:"Files"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeReleaseFilesResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeReleaseFilesResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeScoresRequest struct { + *tchttp.BaseRequest + + // 结束时间 + EndTime *string `json:"EndTime,omitempty" name:"EndTime"` + + // 开始时间 + StartTime *string `json:"StartTime,omitempty" name:"StartTime"` + + // 项目ID + ID *int64 `json:"ID,omitempty" name:"ID"` +} + +func (r *DescribeScoresRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeScoresRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "EndTime") + delete(f, "StartTime") + delete(f, "ID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeScoresRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeScoresResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 数组 + ScoreSet []*ScoreInfo `json:"ScoreSet,omitempty" name:"ScoreSet"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeScoresResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeScoresResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeTawAreasRequest struct { + *tchttp.BaseRequest + + // 片区Id + AreaIds []*int64 `json:"AreaIds,omitempty" name:"AreaIds"` + + // 片区Key + AreaKeys []*string `json:"AreaKeys,omitempty" name:"AreaKeys"` + + // 分页Limit + Limit *int64 `json:"Limit,omitempty" name:"Limit"` + + // 片区状态(1=有效,2=无效) + AreaStatuses []*int64 `json:"AreaStatuses,omitempty" name:"AreaStatuses"` + + // 分页Offset + Offset *int64 `json:"Offset,omitempty" name:"Offset"` +} + +func (r *DescribeTawAreasRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeTawAreasRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "AreaIds") + delete(f, "AreaKeys") + delete(f, "Limit") + delete(f, "AreaStatuses") + delete(f, "Offset") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeTawAreasRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeTawAreasResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 片区总数 + TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 片区列表 + AreaSet []*RumAreaInfo `json:"AreaSet,omitempty" name:"AreaSet"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeTawAreasResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeTawAreasResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeTawInstancesRequest struct { + *tchttp.BaseRequest + + // 计费状态 + ChargeStatuses []*int64 `json:"ChargeStatuses,omitempty" name:"ChargeStatuses"` + + // 计费类型 + ChargeTypes []*int64 `json:"ChargeTypes,omitempty" name:"ChargeTypes"` + + // 分页Limit + Limit *int64 `json:"Limit,omitempty" name:"Limit"` + + // 分页Offset + Offset *int64 `json:"Offset,omitempty" name:"Offset"` + + // 片区Id + AreaIds []*int64 `json:"AreaIds,omitempty" name:"AreaIds"` + + // 实例状态(1=创建中,2=运行中,3=异常,4=重启中,5=停止中,6=已停止,7=销毁中,8=已销毁) + InstanceStatuses []*int64 `json:"InstanceStatuses,omitempty" name:"InstanceStatuses"` + + // 实例Id + InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` + + // 过滤参数 + Filters []*Filter `json:"Filters,omitempty" name:"Filters"` +} + +func (r *DescribeTawInstancesRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeTawInstancesRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ChargeStatuses") + delete(f, "ChargeTypes") + delete(f, "Limit") + delete(f, "Offset") + delete(f, "AreaIds") + delete(f, "InstanceStatuses") + delete(f, "InstanceIds") + delete(f, "Filters") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeTawInstancesRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeTawInstancesResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 实例列表 + InstanceSet []*RumInstanceInfo `json:"InstanceSet,omitempty" name:"InstanceSet"` + + // 实例总数 + TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeTawInstancesResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeTawInstancesResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeUvListRequest struct { + *tchttp.BaseRequest + + // ID + ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` + + // 结束时间 + EndTime *string `json:"EndTime,omitempty" name:"EndTime"` + + // 开始时间 + StartTime *string `json:"StartTime,omitempty" name:"StartTime"` + + // 获取day:d, min:m + Dimension *string `json:"Dimension,omitempty" name:"Dimension"` +} + +func (r *DescribeUvListRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeUvListRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ProjectId") + delete(f, "EndTime") + delete(f, "StartTime") + delete(f, "Dimension") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeUvListRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeUvListResponse struct { + *tchttp.BaseResponse + Response *struct { + + // uv列表 + ProjectUvSet []*RumUvInfo `json:"ProjectUvSet,omitempty" name:"ProjectUvSet"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeUvListResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeUvListResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DescribeWhitelistsRequest struct { + *tchttp.BaseRequest + + // 实例instance-ID + InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"` +} + +func (r *DescribeWhitelistsRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeWhitelistsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceID") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeWhitelistsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type DescribeWhitelistsResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 白名单列表 + WhitelistSet []*Whitelist `json:"WhitelistSet,omitempty" name:"WhitelistSet"` + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *DescribeWhitelistsResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *DescribeWhitelistsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type Filter struct { + + // 一个或者多个过滤值。 + Values []*string `json:"Values,omitempty" name:"Values"` + + // 过滤键的名称。 + Name *string `json:"Name,omitempty" name:"Name"` +} + +type LogExport struct { + + // 日志导出路径 + CosPath *string `json:"CosPath,omitempty" name:"CosPath"` + + // 日志导出数量 + Count *int64 `json:"Count,omitempty" name:"Count"` + + // 日志导出任务创建时间 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` + + // 日志导出任务ID + ExportID *string `json:"ExportID,omitempty" name:"ExportID"` + + // 日志导出文件名 + FileName *string `json:"FileName,omitempty" name:"FileName"` + + // 日志文件大小 + FileSize *int64 `json:"FileSize,omitempty" name:"FileSize"` - // 返回值 - Result *string `json:"Result,omitempty" name:"Result"` + // 日志导出格式 + Format *string `json:"Format,omitempty" name:"Format"` - // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitempty" name:"RequestId"` - } `json:"Response"` -} + // 日志导出时间排序 + Order *string `json:"Order,omitempty" name:"Order"` -func (r *DescribeDataPvUrlStatisticsResponse) ToJsonString() string { - b, _ := json.Marshal(r) - return string(b) -} + // 日志导出查询语句 + Query *string `json:"Query,omitempty" name:"Query"` -// FromJsonString It is highly **NOT** recommended to use this function -// because it has no param check, nor strict type check -func (r *DescribeDataPvUrlStatisticsResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) + // 日志导出起始时间 + StartTime *string `json:"StartTime,omitempty" name:"StartTime"` + + // 日志导出结束时间 + EndTime *string `json:"EndTime,omitempty" name:"EndTime"` + + // 日志下载状态。Queuing:导出正在排队中,Processing:导出正在进行中,Complete:导出完成,Failed:导出失败,Expired:日志导出已过期(三天有效期)。 + Status *string `json:"Status,omitempty" name:"Status"` } -type DescribeErrorRequest struct { +type ModifyInstanceRequest struct { *tchttp.BaseRequest - // 日期 - Date *string `json:"Date,omitempty" name:"Date"` + // 要修改的实例id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` - // 项目ID - ID *int64 `json:"ID,omitempty" name:"ID"` + // 新的实例名称(长度最大不超过255) + InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` + + // 新的实例描述(长度最大不超过1024) + InstanceDesc *string `json:"InstanceDesc,omitempty" name:"InstanceDesc"` } -func (r *DescribeErrorRequest) ToJsonString() string { +func (r *ModifyInstanceRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeErrorRequest) FromJsonString(s string) error { +func (r *ModifyInstanceRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "Date") - delete(f, "ID") + delete(f, "InstanceId") + delete(f, "InstanceName") + delete(f, "InstanceDesc") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeErrorRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyInstanceRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeErrorResponse struct { +type ModifyInstanceResponse struct { *tchttp.BaseResponse Response *struct { - // 内容 - Content *string `json:"Content,omitempty" name:"Content"` - - // 项目ID - ID *int64 `json:"ID,omitempty" name:"ID"` - - // 时间 - CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` - // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeErrorResponse) ToJsonString() string { +func (r *ModifyInstanceResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeErrorResponse) FromJsonString(s string) error { +func (r *ModifyInstanceResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeLogListRequest struct { +type ModifyProjectLimitRequest struct { *tchttp.BaseRequest - // 排序方式 desc asc - Sort *string `json:"Sort,omitempty" name:"Sort"` - - // searchlog histogram - ActionType *string `json:"ActionType,omitempty" name:"ActionType"` - // 项目ID - ID *int64 `json:"ID,omitempty" name:"ID"` - - // 开始时间 - StartTime *string `json:"StartTime,omitempty" name:"StartTime"` + ProjectID *int64 `json:"ProjectID,omitempty" name:"ProjectID"` - // 单次查询返回的原始日志条数,最大值为100 - Limit *int64 `json:"Limit,omitempty" name:"Limit"` + // 项目接口 + ProjectInterface *string `json:"ProjectInterface,omitempty" name:"ProjectInterface"` - // 上下文,加载更多日志时使用,透传上次返回的 Context 值,获取后续的日志内容,总计最多可获取1万条原始日志。过期时间1小时 - Context *string `json:"Context,omitempty" name:"Context"` + // 上报比例 10代表10% + ReportRate *int64 `json:"ReportRate,omitempty" name:"ReportRate"` - // 查询语句,语句长度最大为4096 - Query *string `json:"Query,omitempty" name:"Query"` + // 上报类型 1:比例 2:上报量 + ReportType *int64 `json:"ReportType,omitempty" name:"ReportType"` - // 结束时间 - EndTime *string `json:"EndTime,omitempty" name:"EndTime"` + // 主键ID + ID *int64 `json:"ID,omitempty" name:"ID"` } -func (r *DescribeLogListRequest) ToJsonString() string { +func (r *ModifyProjectLimitRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLogListRequest) FromJsonString(s string) error { +func (r *ModifyProjectLimitRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "Sort") - delete(f, "ActionType") + delete(f, "ProjectID") + delete(f, "ProjectInterface") + delete(f, "ReportRate") + delete(f, "ReportType") delete(f, "ID") - delete(f, "StartTime") - delete(f, "Limit") - delete(f, "Context") - delete(f, "Query") - delete(f, "EndTime") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeLogListRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyProjectLimitRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeLogListResponse struct { +type ModifyProjectLimitResponse struct { *tchttp.BaseResponse Response *struct { - // 返回字符串 - Result *string `json:"Result,omitempty" name:"Result"` + // 返回信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + Msg *string `json:"Msg,omitempty" name:"Msg"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeLogListResponse) ToJsonString() string { +func (r *ModifyProjectLimitResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeLogListResponse) FromJsonString(s string) error { +func (r *ModifyProjectLimitResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeProjectsRequest struct { +type ModifyProjectRequest struct { *tchttp.BaseRequest - // 分页每页数目,整型 - Limit *uint64 `json:"Limit,omitempty" name:"Limit"` + // 项目 id + ID *uint64 `json:"ID,omitempty" name:"ID"` - // 分页页码,整型 - Offset *uint64 `json:"Offset,omitempty" name:"Offset"` + // 项目名(可选,不为空且最长为 200) + Name *string `json:"Name,omitempty" name:"Name"` - // 过滤条件 - Filters []*Filter `json:"Filters,omitempty" name:"Filters"` + // 项目网页地址(可选,最长为 256) + URL *string `json:"URL,omitempty" name:"URL"` + + // 项目仓库地址(可选,最长为 256) + Repo *string `json:"Repo,omitempty" name:"Repo"` + + // 项目需要转移到的实例 id(可选) + InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"` + + // 项目采样率(可选) + Rate *string `json:"Rate,omitempty" name:"Rate"` + + // 是否开启聚类(可选) + EnableURLGroup *uint64 `json:"EnableURLGroup,omitempty" name:"EnableURLGroup"` + + // 项目类型(可接受值为 "web", "mp", "android", "ios", "node", "hippy", "weex", "viola", "rn") + Type *string `json:"Type,omitempty" name:"Type"` + + // 项目描述(可选,最长为 1000) + Desc *string `json:"Desc,omitempty" name:"Desc"` } -func (r *DescribeProjectsRequest) ToJsonString() string { +func (r *ModifyProjectRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeProjectsRequest) FromJsonString(s string) error { +func (r *ModifyProjectRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "Limit") - delete(f, "Offset") - delete(f, "Filters") + delete(f, "ID") + delete(f, "Name") + delete(f, "URL") + delete(f, "Repo") + delete(f, "InstanceID") + delete(f, "Rate") + delete(f, "EnableURLGroup") + delete(f, "Type") + delete(f, "Desc") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeProjectsRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyProjectRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeProjectsResponse struct { +type ModifyProjectResponse struct { *tchttp.BaseResponse Response *struct { - // 列表总数 - TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` + // 操作信息 + Msg *string `json:"Msg,omitempty" name:"Msg"` - // 项目列表 - ProjectSet []*RumProject `json:"ProjectSet,omitempty" name:"ProjectSet"` + // 项目id + ID *uint64 `json:"ID,omitempty" name:"ID"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeProjectsResponse) ToJsonString() string { +func (r *ModifyProjectResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeProjectsResponse) FromJsonString(s string) error { +func (r *ModifyProjectResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type DescribeScoresRequest struct { - *tchttp.BaseRequest - - // 结束时间 - EndTime *string `json:"EndTime,omitempty" name:"EndTime"` +type ProjectLimit struct { - // 开始时间 - StartTime *string `json:"StartTime,omitempty" name:"StartTime"` + // 主键ID + ID *int64 `json:"ID,omitempty" name:"ID"` // 项目ID + ProjectID *int64 `json:"ProjectID,omitempty" name:"ProjectID"` + + // 接口 + ProjectInterface *string `json:"ProjectInterface,omitempty" name:"ProjectInterface"` + + // 上报率 + ReportRate *int64 `json:"ReportRate,omitempty" name:"ReportRate"` + + // 上报类型 1:上报率 2:上报量限制 + ReportType *int64 `json:"ReportType,omitempty" name:"ReportType"` +} + +type ReleaseFile struct { + + // 文件版本 + Version *string `json:"Version,omitempty" name:"Version"` + + // 文件唯一 key + FileKey *string `json:"FileKey,omitempty" name:"FileKey"` + + // 文件名 + FileName *string `json:"FileName,omitempty" name:"FileName"` + + // 文件哈希值 + FileHash *string `json:"FileHash,omitempty" name:"FileHash"` + + // 文件 id + // 注意:此字段可能返回 null,表示取不到有效值。 ID *int64 `json:"ID,omitempty" name:"ID"` } -func (r *DescribeScoresRequest) ToJsonString() string { +type ResumeInstanceRequest struct { + *tchttp.BaseRequest + + // 需要恢复的实例id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` +} + +func (r *ResumeInstanceRequest) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeScoresRequest) FromJsonString(s string) error { +func (r *ResumeInstanceRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "EndTime") - delete(f, "StartTime") - delete(f, "ID") + delete(f, "InstanceId") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeScoresRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ResumeInstanceRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } -type DescribeScoresResponse struct { +type ResumeInstanceResponse struct { *tchttp.BaseResponse Response *struct { - // 数组 - ScoreSet []*ScoreInfo `json:"ScoreSet,omitempty" name:"ScoreSet"` - // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` } -func (r *DescribeScoresResponse) ToJsonString() string { +func (r *ResumeInstanceResponse) ToJsonString() string { b, _ := json.Marshal(r) return string(b) } // FromJsonString It is highly **NOT** recommended to use this function // because it has no param check, nor strict type check -func (r *DescribeScoresResponse) FromJsonString(s string) error { +func (r *ResumeInstanceResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -type Filter struct { +type RumAreaInfo struct { - // 一个或者多个过滤值。 - Values []*string `json:"Values,omitempty" name:"Values"` + // 片区Id + AreaId *int64 `json:"AreaId,omitempty" name:"AreaId"` - // 过滤键的名称。 - Name *string `json:"Name,omitempty" name:"Name"` + // 片区状态(1=有效,2=无效) + AreaStatus *int64 `json:"AreaStatus,omitempty" name:"AreaStatus"` + + // 片区名称 + AreaName *string `json:"AreaName,omitempty" name:"AreaName"` + + // 片区Key + AreaKey *string `json:"AreaKey,omitempty" name:"AreaKey"` +} + +type RumInstanceInfo struct { + + // 实例状态(1=创建中,2=运行中,3=异常,4=重启中,5=停止中,6=已停止,7=已删除) + InstanceStatus *int64 `json:"InstanceStatus,omitempty" name:"InstanceStatus"` + + // 片区Id + AreaId *int64 `json:"AreaId,omitempty" name:"AreaId"` + + // 标签列表 + Tags []*Tag `json:"Tags,omitempty" name:"Tags"` + + // 实例Id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` + + // 集群Id + ClusterId *int64 `json:"ClusterId,omitempty" name:"ClusterId"` + + // 实例描述 + InstanceDesc *string `json:"InstanceDesc,omitempty" name:"InstanceDesc"` + + // 计费状态(1=使用中,2=已过期,3=已销毁,4=分配中,5=分配失败) + ChargeStatus *int64 `json:"ChargeStatus,omitempty" name:"ChargeStatus"` + + // 计费类型(1=免费版,2=预付费,3=后付费) + ChargeType *int64 `json:"ChargeType,omitempty" name:"ChargeType"` + + // 更新时间 + UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"` + + // 数据保留时间(天) + DataRetentionDays *int64 `json:"DataRetentionDays,omitempty" name:"DataRetentionDays"` + + // 实例名称 + InstanceName *string `json:"InstanceName,omitempty" name:"InstanceName"` + + // 创建时间 + CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"` } type RumProject struct { @@ -1212,6 +4453,31 @@ type RumProject struct { IsStar *int64 `json:"IsStar,omitempty" name:"IsStar"` } +type RumPvInfo struct { + + // 项目ID + ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` + + // pv访问量 + // 注意:此字段可能返回 null,表示取不到有效值。 + Pv *string `json:"Pv,omitempty" name:"Pv"` + + // 时间 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` +} + +type RumUvInfo struct { + + // 项目ID + ProjectId *int64 `json:"ProjectId,omitempty" name:"ProjectId"` + + // uv访问量 + Uv *string `json:"Uv,omitempty" name:"Uv"` + + // 创建时间 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` +} + type ScoreInfo struct { // duration @@ -1253,3 +4519,85 @@ type ScoreInfo struct { // Duration PageDuration *string `json:"PageDuration,omitempty" name:"PageDuration"` } + +type StopInstanceRequest struct { + *tchttp.BaseRequest + + // 需要停止的实例id + InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` +} + +func (r *StopInstanceRequest) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *StopInstanceRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "InstanceId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "StopInstanceRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +type StopInstanceResponse struct { + *tchttp.BaseResponse + Response *struct { + + // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitempty" name:"RequestId"` + } `json:"Response"` +} + +func (r *StopInstanceResponse) ToJsonString() string { + b, _ := json.Marshal(r) + return string(b) +} + +// FromJsonString It is highly **NOT** recommended to use this function +// because it has no param check, nor strict type check +func (r *StopInstanceResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type Tag struct { + + // 标签key + Key *string `json:"Key,omitempty" name:"Key"` + + // 标签value + Value *string `json:"Value,omitempty" name:"Value"` +} + +type Whitelist struct { + + // 备注 + Remark *string `json:"Remark,omitempty" name:"Remark"` + + // 实例ID + InstanceID *string `json:"InstanceID,omitempty" name:"InstanceID"` + + // 截止时间 + Ttl *string `json:"Ttl,omitempty" name:"Ttl"` + + // 白名单自增ID + ID *string `json:"ID,omitempty" name:"ID"` + + // 业务唯一标识 + WhitelistUin *string `json:"WhitelistUin,omitempty" name:"WhitelistUin"` + + // 创建者ID + CreateUser *string `json:"CreateUser,omitempty" name:"CreateUser"` + + // aid标识 + Aid *string `json:"Aid,omitempty" name:"Aid"` + + // 创建时间 + CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` +} diff --git a/tencentcloud/scf/go.mod b/tencentcloud/scf/go.mod index 2ee57a4dc3..c001ee2a53 100644 --- a/tencentcloud/scf/go.mod +++ b/tencentcloud/scf/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/scf go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/scf/v20180416/client.go b/tencentcloud/scf/v20180416/client.go index 44fa7fe398..aa88e3b4d6 100644 --- a/tencentcloud/scf/v20180416/client.go +++ b/tencentcloud/scf/v20180416/client.go @@ -3271,6 +3271,7 @@ func NewUpdateFunctionConfigurationResponse() (response *UpdateFunctionConfigura // RESOURCENOTFOUND_CMQ = "ResourceNotFound.Cmq" // RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function" // RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName" +// RESOURCENOTFOUND_GETCFSMOUNTINSERROR = "ResourceNotFound.GetCfsMountInsError" // RESOURCENOTFOUND_GETCFSNOTMATCH = "ResourceNotFound.GetCfsNotMatch" // RESOURCENOTFOUND_LAYER = "ResourceNotFound.Layer" // RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace" @@ -3340,6 +3341,7 @@ func (c *Client) UpdateFunctionConfiguration(request *UpdateFunctionConfiguratio // RESOURCENOTFOUND_CMQ = "ResourceNotFound.Cmq" // RESOURCENOTFOUND_FUNCTION = "ResourceNotFound.Function" // RESOURCENOTFOUND_FUNCTIONNAME = "ResourceNotFound.FunctionName" +// RESOURCENOTFOUND_GETCFSMOUNTINSERROR = "ResourceNotFound.GetCfsMountInsError" // RESOURCENOTFOUND_GETCFSNOTMATCH = "ResourceNotFound.GetCfsNotMatch" // RESOURCENOTFOUND_LAYER = "ResourceNotFound.Layer" // RESOURCENOTFOUND_NAMESPACE = "ResourceNotFound.Namespace" diff --git a/tencentcloud/ses/go.mod b/tencentcloud/ses/go.mod index 536ea7a872..3d717ecd85 100644 --- a/tencentcloud/ses/go.mod +++ b/tencentcloud/ses/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ses go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/smh/go.mod b/tencentcloud/smh/go.mod index 6e7076cc3b..0b1af92512 100644 --- a/tencentcloud/smh/go.mod +++ b/tencentcloud/smh/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smh go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/smpn/go.mod b/tencentcloud/smpn/go.mod index ad01ec4e83..92a03785e4 100644 --- a/tencentcloud/smpn/go.mod +++ b/tencentcloud/smpn/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smpn go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/sms/go.mod b/tencentcloud/sms/go.mod index 4cefe7bab4..4e0cd7dcbb 100644 --- a/tencentcloud/sms/go.mod +++ b/tencentcloud/sms/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/sms/v20210111/client.go b/tencentcloud/sms/v20210111/client.go index 93a0c73fa4..cac1ff135c 100644 --- a/tencentcloud/sms/v20210111/client.go +++ b/tencentcloud/sms/v20210111/client.go @@ -77,6 +77,7 @@ func NewAddSmsSignResponse() (response *AddSmsSignResponse) { // FAILEDOPERATION_OTHERERROR = "FailedOperation.OtherError" // FAILEDOPERATION_PARAMETERSOTHERERROR = "FailedOperation.ParametersOtherError" // FAILEDOPERATION_SIGNNUMBERLIMIT = "FailedOperation.SignNumberLimit" +// FAILEDOPERATION_TEMPLATEIDNOTEXIST = "FailedOperation.TemplateIdNotExist" // INTERNALERROR_REQUESTTIMEEXCEPTION = "InternalError.RequestTimeException" // INTERNALERROR_RESTAPIINTERFACENOTEXIST = "InternalError.RestApiInterfaceNotExist" // INTERNALERROR_SIGFIELDMISSING = "InternalError.SigFieldMissing" @@ -122,6 +123,7 @@ func (c *Client) AddSmsSign(request *AddSmsSignRequest) (response *AddSmsSignRes // FAILEDOPERATION_OTHERERROR = "FailedOperation.OtherError" // FAILEDOPERATION_PARAMETERSOTHERERROR = "FailedOperation.ParametersOtherError" // FAILEDOPERATION_SIGNNUMBERLIMIT = "FailedOperation.SignNumberLimit" +// FAILEDOPERATION_TEMPLATEIDNOTEXIST = "FailedOperation.TemplateIdNotExist" // INTERNALERROR_REQUESTTIMEEXCEPTION = "InternalError.RequestTimeException" // INTERNALERROR_RESTAPIINTERFACENOTEXIST = "InternalError.RestApiInterfaceNotExist" // INTERNALERROR_SIGFIELDMISSING = "InternalError.SigFieldMissing" diff --git a/tencentcloud/soe/go.mod b/tencentcloud/soe/go.mod index 7d7e7f3d96..b4b7b592cb 100644 --- a/tencentcloud/soe/go.mod +++ b/tencentcloud/soe/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/soe go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/solar/go.mod b/tencentcloud/solar/go.mod index 7aa3068a23..2ca09f9160 100644 --- a/tencentcloud/solar/go.mod +++ b/tencentcloud/solar/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/solar go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/sqlserver/go.mod b/tencentcloud/sqlserver/go.mod index d1b891ce88..7509d418e8 100644 --- a/tencentcloud/sqlserver/go.mod +++ b/tencentcloud/sqlserver/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ssa/go.mod b/tencentcloud/ssa/go.mod index 34900a654d..19b22bc4ac 100644 --- a/tencentcloud/ssa/go.mod +++ b/tencentcloud/ssa/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssa go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ssl/go.mod b/tencentcloud/ssl/go.mod index c53d9c6650..f30c0847e6 100644 --- a/tencentcloud/ssl/go.mod +++ b/tencentcloud/ssl/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssl go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ssl/v20191205/client.go b/tencentcloud/ssl/v20191205/client.go index d68c8e2bc1..6a4345c2a4 100644 --- a/tencentcloud/ssl/v20191205/client.go +++ b/tencentcloud/ssl/v20191205/client.go @@ -1485,7 +1485,10 @@ func NewUploadCertificateResponse() (response *UploadCertificateResponse) { // 本接口(UploadCertificate)用于上传证书。 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError" +// FAILEDOPERATION_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail" // FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed" // FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued" // FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour" @@ -1517,7 +1520,10 @@ func (c *Client) UploadCertificate(request *UploadCertificateRequest) (response // 本接口(UploadCertificate)用于上传证书。 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError" +// FAILEDOPERATION_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail" // FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed" // FAILEDOPERATION_CANNOTBEDELETEDISSUED = "FailedOperation.CannotBeDeletedIssued" // FAILEDOPERATION_CANNOTBEDELETEDWITHINHOUR = "FailedOperation.CannotBeDeletedWithinHour" diff --git a/tencentcloud/ssl/v20191205/errors.go b/tencentcloud/ssl/v20191205/errors.go index ca8b5199e6..3b3a9a1b28 100644 --- a/tencentcloud/ssl/v20191205/errors.go +++ b/tencentcloud/ssl/v20191205/errors.go @@ -20,12 +20,18 @@ const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" + // 操作未授权。 + AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" + // 操作失败。 FAILEDOPERATION = "FailedOperation" // 请检查是否有权限。 FAILEDOPERATION_AUTHERROR = "FailedOperation.AuthError" + // CAM鉴权出现错误。 + FAILEDOPERATION_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail" + // 取消订单失败。 FAILEDOPERATION_CANCELORDERFAILED = "FailedOperation.CancelOrderFailed" diff --git a/tencentcloud/sslpod/go.mod b/tencentcloud/sslpod/go.mod index d9121e204f..444bdaab95 100644 --- a/tencentcloud/sslpod/go.mod +++ b/tencentcloud/sslpod/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sslpod go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ssm/go.mod b/tencentcloud/ssm/go.mod index 6727129277..9e34b3a9b7 100644 --- a/tencentcloud/ssm/go.mod +++ b/tencentcloud/ssm/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssm go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ssm/v20190923/models.go b/tencentcloud/ssm/v20190923/models.go index 71d4c35797..05819690ef 100644 --- a/tencentcloud/ssm/v20190923/models.go +++ b/tencentcloud/ssm/v20190923/models.go @@ -1047,8 +1047,8 @@ type GetServiceStatusResponse struct { // 服务不可用类型: 0-未购买,1-正常, 2-欠费停服, 3-资源释放。 InvalidType *int64 `json:"InvalidType,omitempty" name:"InvalidType"` - // true表示用户已经可以使用云API密钥安全托管功能, - // false表示用户暂时不能使用云API密钥安全托管功能。 + // true表示用户已经可以使用密钥安全托管功能, + // false表示用户暂时不能使用密钥安全托管功能。 AccessKeyEscrowEnabled *bool `json:"AccessKeyEscrowEnabled,omitempty" name:"AccessKeyEscrowEnabled"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 @@ -1401,7 +1401,7 @@ type RotateProductSecretResponse struct { *tchttp.BaseResponse Response *struct { - // 当凭据类型为云产品凭据时(即SecretType为1,如Mysq、Tdsql等托管凭据)此字段有效,返回轮转异步任务ID号。 + // 当凭据类型为云产品凭据时(即SecretType为1,如MySQL、Tdsql等托管凭据)此字段有效,返回轮转异步任务ID号。 FlowID *int64 `json:"FlowID,omitempty" name:"FlowID"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 diff --git a/tencentcloud/sts/go.mod b/tencentcloud/sts/go.mod index 78325f85b9..fb03e8faba 100644 --- a/tencentcloud/sts/go.mod +++ b/tencentcloud/sts/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/taf/go.mod b/tencentcloud/taf/go.mod index c840379af0..90d570c2ad 100644 --- a/tencentcloud/taf/go.mod +++ b/tencentcloud/taf/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/taf go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tag/go.mod b/tencentcloud/tag/go.mod index 93e2b92870..edfcf67af8 100644 --- a/tencentcloud/tag/go.mod +++ b/tencentcloud/tag/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tat/go.mod b/tencentcloud/tat/go.mod index dec6951d8e..c584a02622 100644 --- a/tencentcloud/tat/go.mod +++ b/tencentcloud/tat/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tat go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tav/go.mod b/tencentcloud/tav/go.mod index 2b1cab98db..3d8b2764ca 100644 --- a/tencentcloud/tav/go.mod +++ b/tencentcloud/tav/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tav go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tbaas/go.mod b/tencentcloud/tbaas/go.mod index f3a2bf8d6e..6c0bb9fcaa 100644 --- a/tencentcloud/tbaas/go.mod +++ b/tencentcloud/tbaas/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbaas go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tbm/go.mod b/tencentcloud/tbm/go.mod index f3c86a7f73..44ef1dfb46 100644 --- a/tencentcloud/tbm/go.mod +++ b/tencentcloud/tbm/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbm go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tbp/go.mod b/tencentcloud/tbp/go.mod index 37e7fd82e4..9611cd0966 100644 --- a/tencentcloud/tbp/go.mod +++ b/tencentcloud/tbp/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbp go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tcaplusdb/go.mod b/tencentcloud/tcaplusdb/go.mod index 5afc567188..fc23cf877e 100644 --- a/tencentcloud/tcaplusdb/go.mod +++ b/tencentcloud/tcaplusdb/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcaplusdb go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tcb/go.mod b/tencentcloud/tcb/go.mod index 60b13fca0f..10e04ea559 100644 --- a/tencentcloud/tcb/go.mod +++ b/tencentcloud/tcb/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcb go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tcex/go.mod b/tencentcloud/tcex/go.mod index 333f428773..0950d0a7c3 100644 --- a/tencentcloud/tcex/go.mod +++ b/tencentcloud/tcex/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcex go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tci/go.mod b/tencentcloud/tci/go.mod index 989e10782d..d70effa16d 100644 --- a/tencentcloud/tci/go.mod +++ b/tencentcloud/tci/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tci go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tcm/go.mod b/tencentcloud/tcm/go.mod index 2f8581d841..87a0c7232b 100644 --- a/tencentcloud/tcm/go.mod +++ b/tencentcloud/tcm/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcm go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tcm/v20210413/models.go b/tencentcloud/tcm/v20210413/models.go index 69a9964cb5..095a7104da 100644 --- a/tencentcloud/tcm/v20210413/models.go +++ b/tencentcloud/tcm/v20210413/models.go @@ -33,6 +33,12 @@ type AccessLogConfig struct { // 腾讯云日志服务相关参数 CLS *CLS `json:"CLS,omitempty" name:"CLS"` + + // 编码格式,可选值:TEXT、JSON + Encoding *string `json:"Encoding,omitempty" name:"Encoding"` + + // 日志格式 + Format *string `json:"Format,omitempty" name:"Format"` } type ActiveOperation struct { diff --git a/tencentcloud/tcr/go.mod b/tencentcloud/tcr/go.mod index 7437d61689..71e9f06401 100644 --- a/tencentcloud/tcr/go.mod +++ b/tencentcloud/tcr/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcr go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tcss/go.mod b/tencentcloud/tcss/go.mod index 7196d65e0d..9a728fbbed 100644 --- a/tencentcloud/tcss/go.mod +++ b/tencentcloud/tcss/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcss go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tcss/v20201101/models.go b/tencentcloud/tcss/v20201101/models.go index f0d8bfb408..3201d03126 100644 --- a/tencentcloud/tcss/v20201101/models.go +++ b/tencentcloud/tcss/v20201101/models.go @@ -1372,6 +1372,10 @@ type ComplianceK8SDetailInfo struct { // K8S集群的名称。 // 注意:此字段可能返回 null,表示取不到有效值。 ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` + + // K8S集群的版本。 + // 注意:此字段可能返回 null,表示取不到有效值。 + ClusterVersion *string `json:"ClusterVersion,omitempty" name:"ClusterVersion"` } type CompliancePeriodTask struct { @@ -4623,6 +4627,9 @@ type DescribeAssetImageRegistryDetailRequest struct { // 仓库列表id Id *uint64 `json:"Id,omitempty" name:"Id"` + + // 镜像ID + ImageId *string `json:"ImageId,omitempty" name:"ImageId"` } func (r *DescribeAssetImageRegistryDetailRequest) ToJsonString() string { @@ -4638,6 +4645,7 @@ func (r *DescribeAssetImageRegistryDetailRequest) FromJsonString(s string) error return err } delete(f, "Id") + delete(f, "ImageId") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAssetImageRegistryDetailRequest has unknown keys!", "") } @@ -10136,7 +10144,7 @@ type DescribeVirusTaskListResponse struct { // 文件查杀列表 List []*VirusTaskInfo `json:"List,omitempty" name:"List"` - // 总数量 + // 总数量(容器任务数量) TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 @@ -11893,7 +11901,7 @@ type ModifyVirusMonitorSettingRequest struct { // 扫描全部路径 ScanPathAll *bool `json:"ScanPathAll,omitempty" name:"ScanPathAll"` - // 当ScanPathAll为true 生效 0扫描以下路径 1、扫描除以下路径 + // 当ScanPathAll为true 生效 0扫描以下路径 1、扫描除以下路径(扫描范围只能小于等于1) ScanPathType *uint64 `json:"ScanPathType,omitempty" name:"ScanPathType"` // 自选排除或扫描的地址 diff --git a/tencentcloud/tdid/go.mod b/tencentcloud/tdid/go.mod index 600cc35382..4915384ba4 100644 --- a/tencentcloud/tdid/go.mod +++ b/tencentcloud/tdid/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdid go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tdmq/go.mod b/tencentcloud/tdmq/go.mod index 6715a36aab..30def7cdc6 100644 --- a/tencentcloud/tdmq/go.mod +++ b/tencentcloud/tdmq/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tdmq/v20200217/client.go b/tencentcloud/tdmq/v20200217/client.go index 7f51a97d1a..64a0956241 100644 --- a/tencentcloud/tdmq/v20200217/client.go +++ b/tencentcloud/tdmq/v20200217/client.go @@ -3175,7 +3175,7 @@ func NewDescribeCmqSubscriptionDetailResponse() (response *DescribeCmqSubscripti // 查询cmq订阅详情 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError" func (c *Client) DescribeCmqSubscriptionDetail(request *DescribeCmqSubscriptionDetailRequest) (response *DescribeCmqSubscriptionDetailResponse, err error) { if request == nil { request = NewDescribeCmqSubscriptionDetailRequest() @@ -3190,7 +3190,7 @@ func (c *Client) DescribeCmqSubscriptionDetail(request *DescribeCmqSubscriptionD // 查询cmq订阅详情 // // 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError" func (c *Client) DescribeCmqSubscriptionDetailWithContext(ctx context.Context, request *DescribeCmqSubscriptionDetailRequest) (response *DescribeCmqSubscriptionDetailResponse, err error) { if request == nil { request = NewDescribeCmqSubscriptionDetailRequest() @@ -3224,6 +3224,7 @@ func NewDescribeCmqTopicDetailResponse() (response *DescribeCmqTopicDetailRespon // // 可能返回的错误码: // FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError" // RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeCmqTopicDetail(request *DescribeCmqTopicDetailRequest) (response *DescribeCmqTopicDetailResponse, err error) { if request == nil { @@ -3240,6 +3241,7 @@ func (c *Client) DescribeCmqTopicDetail(request *DescribeCmqTopicDetailRequest) // // 可能返回的错误码: // FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError" // RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) DescribeCmqTopicDetailWithContext(ctx context.Context, request *DescribeCmqTopicDetailRequest) (response *DescribeCmqTopicDetailResponse, err error) { if request == nil { @@ -3274,6 +3276,7 @@ func NewDescribeCmqTopicsResponse() (response *DescribeCmqTopicsResponse) { // // 可能返回的错误码: // FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError" func (c *Client) DescribeCmqTopics(request *DescribeCmqTopicsRequest) (response *DescribeCmqTopicsResponse, err error) { if request == nil { request = NewDescribeCmqTopicsRequest() @@ -3289,6 +3292,7 @@ func (c *Client) DescribeCmqTopics(request *DescribeCmqTopicsRequest) (response // // 可能返回的错误码: // FAILEDOPERATION = "FailedOperation" +// FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError" func (c *Client) DescribeCmqTopicsWithContext(ctx context.Context, request *DescribeCmqTopicsRequest) (response *DescribeCmqTopicsResponse, err error) { if request == nil { request = NewDescribeCmqTopicsRequest() diff --git a/tencentcloud/tdmq/v20200217/errors.go b/tencentcloud/tdmq/v20200217/errors.go index ea0673cf7b..59c160551d 100644 --- a/tencentcloud/tdmq/v20200217/errors.go +++ b/tencentcloud/tdmq/v20200217/errors.go @@ -23,6 +23,9 @@ const ( // 操作失败。 FAILEDOPERATION = "FailedOperation" + // CMQ 后台服务错误。 + FAILEDOPERATION_CMQBACKENDERROR = "FailedOperation.CmqBackendError" + // 创建vpc绑定关系失败。 FAILEDOPERATION_CREATEBINDVPC = "FailedOperation.CreateBindVpc" diff --git a/tencentcloud/tdmq/v20200217/models.go b/tencentcloud/tdmq/v20200217/models.go index 57530e08e5..c9e3d6c33d 100644 --- a/tencentcloud/tdmq/v20200217/models.go +++ b/tencentcloud/tdmq/v20200217/models.go @@ -491,6 +491,12 @@ type Cluster struct { // 标签 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitempty" name:"Tags"` + + // 计费模式: + // 0: 按量计费 + // 1: 包年包月 + // 注意:此字段可能返回 null,表示取不到有效值。 + PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` } type CmqDeadLetterPolicy struct { @@ -787,6 +793,10 @@ type Consumer struct { // 消费者版本。 // 注意:此字段可能返回 null,表示取不到有效值。 ClientVersion *string `json:"ClientVersion,omitempty" name:"ClientVersion"` + + // 消费者连接的主题分区号 + // 注意:此字段可能返回 null,表示取不到有效值。 + Partition *int64 `json:"Partition,omitempty" name:"Partition"` } type ConsumersSchedule struct { @@ -1243,6 +1253,9 @@ type CreateCmqQueueRequest struct { // 是否开启消息轨迹追踪,当不设置字段时,默认为不开启,该字段为true表示开启,为false表示不开启 Trace *bool `json:"Trace,omitempty" name:"Trace"` + + // 标签数组 + Tags []*Tag `json:"Tags,omitempty" name:"Tags"` } func (r *CreateCmqQueueRequest) ToJsonString() string { @@ -1272,6 +1285,7 @@ func (r *CreateCmqQueueRequest) FromJsonString(s string) error { delete(f, "MaxReceiveCount") delete(f, "MaxTimeToLive") delete(f, "Trace") + delete(f, "Tags") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateCmqQueueRequest has unknown keys!", "") } @@ -1395,6 +1409,9 @@ type CreateCmqTopicRequest struct { // 是否开启消息轨迹标识,true表示开启,false表示不开启,不填表示不开启。 Trace *bool `json:"Trace,omitempty" name:"Trace"` + + // 标签数组 + Tags []*Tag `json:"Tags,omitempty" name:"Tags"` } func (r *CreateCmqTopicRequest) ToJsonString() string { @@ -1414,6 +1431,7 @@ func (r *CreateCmqTopicRequest) FromJsonString(s string) error { delete(f, "FilterType") delete(f, "MsgRetentionSeconds") delete(f, "Trace") + delete(f, "Tags") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateCmqTopicRequest has unknown keys!", "") } @@ -1976,6 +1994,9 @@ type CreateTopicRequest struct { // 0:非分区topic,无分区;非0:具体分区topic的分区数,最大不允许超过128。 Partitions *uint64 `json:"Partitions,omitempty" name:"Partitions"` + // 备注,128字符以内。 + Remark *string `json:"Remark,omitempty" name:"Remark"` + // 0: 普通消息; // 1 :全局顺序消息; // 2 :局部顺序消息; @@ -1983,11 +2004,15 @@ type CreateTopicRequest struct { // 4 :死信队列。 TopicType *uint64 `json:"TopicType,omitempty" name:"TopicType"` - // 备注,128字符以内。 - Remark *string `json:"Remark,omitempty" name:"Remark"` - // Pulsar 集群的ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` + + // Pulsar 主题类型 + // 0: 非持久非分区 + // 1: 非持久分区 + // 2: 持久非分区 + // 3: 持久分区 + PulsarTopicType *int64 `json:"PulsarTopicType,omitempty" name:"PulsarTopicType"` } func (r *CreateTopicRequest) ToJsonString() string { @@ -2005,9 +2030,10 @@ func (r *CreateTopicRequest) FromJsonString(s string) error { delete(f, "EnvironmentId") delete(f, "TopicName") delete(f, "Partitions") - delete(f, "TopicType") delete(f, "Remark") + delete(f, "TopicType") delete(f, "ClusterId") + delete(f, "PulsarTopicType") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateTopicRequest has unknown keys!", "") } @@ -7301,6 +7327,18 @@ type Subscription struct { // 最近修改时间。 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` + + // 订阅类型,Exclusive,Shared,Failover, Key_Shared,空或NULL表示未知, + // 注意:此字段可能返回 null,表示取不到有效值。 + SubType *string `json:"SubType,omitempty" name:"SubType"` + + // 是否由于未 ack 数到达上限而被 block + // 注意:此字段可能返回 null,表示取不到有效值。 + BlockedSubscriptionOnUnackedMsgs *bool `json:"BlockedSubscriptionOnUnackedMsgs,omitempty" name:"BlockedSubscriptionOnUnackedMsgs"` + + // 未 ack 消息数上限 + // 注意:此字段可能返回 null,表示取不到有效值。 + MaxUnackedMsgNum *int64 `json:"MaxUnackedMsgNum,omitempty" name:"MaxUnackedMsgNum"` } type SubscriptionTopic struct { @@ -7415,6 +7453,13 @@ type Topic struct { // 消费者上限。 // 注意:此字段可能返回 null,表示取不到有效值。 ConsumerLimit *string `json:"ConsumerLimit,omitempty" name:"ConsumerLimit"` + + // 0: 非持久非分区 + // 1: 非持久分区 + // 2: 持久非分区 + // 3: 持久分区 + // 注意:此字段可能返回 null,表示取不到有效值。 + PulsarTopicType *int64 `json:"PulsarTopicType,omitempty" name:"PulsarTopicType"` } type TopicRecord struct { diff --git a/tencentcloud/tem/go.mod b/tencentcloud/tem/go.mod index 59156ee18d..25f4bfd7d8 100644 --- a/tencentcloud/tem/go.mod +++ b/tencentcloud/tem/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tem/v20210701/client.go b/tencentcloud/tem/v20210701/client.go index d581c6b5a1..934bc4d9e5 100644 --- a/tencentcloud/tem/v20210701/client.go +++ b/tencentcloud/tem/v20210701/client.go @@ -529,6 +529,7 @@ func NewDescribeDeployApplicationDetailResponse() (response *DescribeDeployAppli // 可能返回的错误码: // INTERNALERROR_DESCRIBERUNPODLISTERROR = "InternalError.DescribeRunPodListError" // MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" +// RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" // RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" func (c *Client) DescribeDeployApplicationDetail(request *DescribeDeployApplicationDetailRequest) (response *DescribeDeployApplicationDetailResponse, err error) { if request == nil { @@ -546,6 +547,7 @@ func (c *Client) DescribeDeployApplicationDetail(request *DescribeDeployApplicat // 可能返回的错误码: // INTERNALERROR_DESCRIBERUNPODLISTERROR = "InternalError.DescribeRunPodListError" // MISSINGPARAMETER_NAMESPACEIDNULL = "MissingParameter.NamespaceIdNull" +// RESOURCENOTFOUND_SERVICENOTFOUND = "ResourceNotFound.ServiceNotFound" // RESOURCENOTFOUND_VERSIONNAMESPACENOTFOUND = "ResourceNotFound.VersionNamespaceNotFound" func (c *Client) DescribeDeployApplicationDetailWithContext(ctx context.Context, request *DescribeDeployApplicationDetailRequest) (response *DescribeDeployApplicationDetailResponse, err error) { if request == nil { diff --git a/tencentcloud/thpc/go.mod b/tencentcloud/thpc/go.mod index b3c7d9cae6..1581fe5ed2 100644 --- a/tencentcloud/thpc/go.mod +++ b/tencentcloud/thpc/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/thpc go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/thpc/v20211109/client.go b/tencentcloud/thpc/v20211109/client.go index b4af6f6654..10b859a5c7 100644 --- a/tencentcloud/thpc/v20211109/client.go +++ b/tencentcloud/thpc/v20211109/client.go @@ -65,6 +65,7 @@ func NewBindAutoScalingGroupResponse() (response *BindAutoScalingGroupResponse) // 本接口(BindAutoScalingGroup)用于为集群队列绑定弹性伸缩组 // // 可能返回的错误码: +// INVALIDPARAMETERVALUE_TOOSMALL = "InvalidParameterValue.TooSmall" // RESOURCENOTFOUND_LAUNCHCONFIGURATIONID = "ResourceNotFound.LaunchConfigurationId" // UNSUPPORTEDOPERATION_AUTOSCALINGGROUPALREADYBINDED = "UnsupportedOperation.AutoScalingGroupAlreadyBinded" func (c *Client) BindAutoScalingGroup(request *BindAutoScalingGroupRequest) (response *BindAutoScalingGroupResponse, err error) { @@ -81,6 +82,7 @@ func (c *Client) BindAutoScalingGroup(request *BindAutoScalingGroupRequest) (res // 本接口(BindAutoScalingGroup)用于为集群队列绑定弹性伸缩组 // // 可能返回的错误码: +// INVALIDPARAMETERVALUE_TOOSMALL = "InvalidParameterValue.TooSmall" // RESOURCENOTFOUND_LAUNCHCONFIGURATIONID = "ResourceNotFound.LaunchConfigurationId" // UNSUPPORTEDOPERATION_AUTOSCALINGGROUPALREADYBINDED = "UnsupportedOperation.AutoScalingGroupAlreadyBinded" func (c *Client) BindAutoScalingGroupWithContext(ctx context.Context, request *BindAutoScalingGroupRequest) (response *BindAutoScalingGroupResponse, err error) { @@ -175,6 +177,7 @@ func NewDeleteClusterResponse() (response *DeleteClusterResponse) { // 可能返回的错误码: // INVALIDPARAMETER_MALFORMED = "InvalidParameter.Malformed" // RESOURCENOTFOUND_CLUSTERID = "ResourceNotFound.ClusterId" +// UNSUPPORTEDOPERATION_CLUSTERSTATUSNOTSUPPORT = "UnsupportedOperation.ClusterStatusNotSupport" func (c *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteClusterResponse, err error) { if request == nil { request = NewDeleteClusterRequest() @@ -191,6 +194,7 @@ func (c *Client) DeleteCluster(request *DeleteClusterRequest) (response *DeleteC // 可能返回的错误码: // INVALIDPARAMETER_MALFORMED = "InvalidParameter.Malformed" // RESOURCENOTFOUND_CLUSTERID = "ResourceNotFound.ClusterId" +// UNSUPPORTEDOPERATION_CLUSTERSTATUSNOTSUPPORT = "UnsupportedOperation.ClusterStatusNotSupport" func (c *Client) DeleteClusterWithContext(ctx context.Context, request *DeleteClusterRequest) (response *DeleteClusterResponse, err error) { if request == nil { request = NewDeleteClusterRequest() diff --git a/tencentcloud/thpc/v20211109/errors.go b/tencentcloud/thpc/v20211109/errors.go index 39749310f0..95593374ae 100644 --- a/tencentcloud/thpc/v20211109/errors.go +++ b/tencentcloud/thpc/v20211109/errors.go @@ -46,4 +46,7 @@ const ( // 该伸缩组已绑定集群,请更换伸缩组。 UNSUPPORTEDOPERATION_AUTOSCALINGGROUPALREADYBINDED = "UnsupportedOperation.AutoScalingGroupAlreadyBinded" + + // 该集群当前状态不支持该操作。 + UNSUPPORTEDOPERATION_CLUSTERSTATUSNOTSUPPORT = "UnsupportedOperation.ClusterStatusNotSupport" ) diff --git a/tencentcloud/tia/go.mod b/tencentcloud/tia/go.mod index 00cc5b0e49..df95ab8ff1 100644 --- a/tencentcloud/tia/go.mod +++ b/tencentcloud/tia/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tia go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tic/go.mod b/tencentcloud/tic/go.mod index 16611f3286..288f682953 100644 --- a/tencentcloud/tic/go.mod +++ b/tencentcloud/tic/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tic go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ticm/go.mod b/tencentcloud/ticm/go.mod index 824306b495..66af433efc 100644 --- a/tencentcloud/ticm/go.mod +++ b/tencentcloud/ticm/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ticm go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tics/go.mod b/tencentcloud/tics/go.mod index e57caeb9c6..adf18ef9c7 100644 --- a/tencentcloud/tics/go.mod +++ b/tencentcloud/tics/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tics go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tiems/go.mod b/tencentcloud/tiems/go.mod index 91950d6841..6f8801140b 100644 --- a/tencentcloud/tiems/go.mod +++ b/tencentcloud/tiems/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiems go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tiia/go.mod b/tencentcloud/tiia/go.mod index 690062583c..24a1c0697b 100644 --- a/tencentcloud/tiia/go.mod +++ b/tencentcloud/tiia/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiia go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tiia/v20190529/client.go b/tencentcloud/tiia/v20190529/client.go index 6205f6a966..918d82da70 100644 --- a/tencentcloud/tiia/v20190529/client.go +++ b/tencentcloud/tiia/v20190529/client.go @@ -1050,6 +1050,7 @@ func NewDetectMisbehaviorResponse() (response *DetectMisbehaviorResponse) { // FAILEDOPERATION_REQUESTTIMEOUT = "FailedOperation.RequestTimeout" // FAILEDOPERATION_RPCFAIL = "FailedOperation.RpcFail" // FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" // INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" // LIMITEXCEEDED_TOOLARGEFILEERROR = "LimitExceeded.TooLargeFileError" // RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" @@ -1081,6 +1082,7 @@ func (c *Client) DetectMisbehavior(request *DetectMisbehaviorRequest) (response // FAILEDOPERATION_REQUESTTIMEOUT = "FailedOperation.RequestTimeout" // FAILEDOPERATION_RPCFAIL = "FailedOperation.RpcFail" // FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" // INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" // LIMITEXCEEDED_TOOLARGEFILEERROR = "LimitExceeded.TooLargeFileError" // RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" @@ -1489,6 +1491,7 @@ func NewSearchImageResponse() (response *SearchImageResponse) { // INVALIDPARAMETERVALUE_IMAGEGROUPIDTOOLONG = "InvalidParameterValue.ImageGroupIdTooLong" // INVALIDPARAMETERVALUE_LIMITEXCEED = "InvalidParameterValue.LimitExceed" // MISSINGPARAMETER_ERRORPARAMETEREMPTY = "MissingParameter.ErrorParameterEmpty" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" func (c *Client) SearchImage(request *SearchImageRequest) (response *SearchImageResponse, err error) { if request == nil { request = NewSearchImageRequest() @@ -1523,6 +1526,7 @@ func (c *Client) SearchImage(request *SearchImageRequest) (response *SearchImage // INVALIDPARAMETERVALUE_IMAGEGROUPIDTOOLONG = "InvalidParameterValue.ImageGroupIdTooLong" // INVALIDPARAMETERVALUE_LIMITEXCEED = "InvalidParameterValue.LimitExceed" // MISSINGPARAMETER_ERRORPARAMETEREMPTY = "MissingParameter.ErrorParameterEmpty" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" func (c *Client) SearchImageWithContext(ctx context.Context, request *SearchImageRequest) (response *SearchImageResponse, err error) { if request == nil { request = NewSearchImageRequest() diff --git a/tencentcloud/tione/go.mod b/tencentcloud/tione/go.mod index a66092a408..5a752c884c 100644 --- a/tencentcloud/tione/go.mod +++ b/tencentcloud/tione/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tione go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tiw/go.mod b/tencentcloud/tiw/go.mod index de7becd76b..1f55481257 100644 --- a/tencentcloud/tiw/go.mod +++ b/tencentcloud/tiw/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiw go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tke/go.mod b/tencentcloud/tke/go.mod index 50e7857efd..471e9ac6cc 100644 --- a/tencentcloud/tke/go.mod +++ b/tencentcloud/tke/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tke/v20180525/client.go b/tencentcloud/tke/v20180525/client.go index ca1422efca..bb8e06b450 100644 --- a/tencentcloud/tke/v20180525/client.go +++ b/tencentcloud/tke/v20180525/client.go @@ -4526,6 +4526,7 @@ func NewDescribePrometheusTargetsResponse() (response *DescribePrometheusTargets // INTERNALERROR_PARAM = "InternalError.Param" // INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" // INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" // INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound" // INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) DescribePrometheusTargets(request *DescribePrometheusTargetsRequest) (response *DescribePrometheusTargetsResponse, err error) { @@ -4547,6 +4548,7 @@ func (c *Client) DescribePrometheusTargets(request *DescribePrometheusTargetsReq // INTERNALERROR_PARAM = "InternalError.Param" // INTERNALERROR_UNEXPECTEDINTERNAL = "InternalError.UnexpectedInternal" // INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_CLUSTERNOTFOUND = "InvalidParameter.ClusterNotFound" // INVALIDPARAMETER_PROMCLUSTERNOTFOUND = "InvalidParameter.PromClusterNotFound" // INVALIDPARAMETER_PROMINSTANCENOTFOUND = "InvalidParameter.PromInstanceNotFound" func (c *Client) DescribePrometheusTargetsWithContext(ctx context.Context, request *DescribePrometheusTargetsRequest) (response *DescribePrometheusTargetsResponse, err error) { diff --git a/tencentcloud/tkgdq/go.mod b/tencentcloud/tkgdq/go.mod index cb800d607d..e4949b90e6 100644 --- a/tencentcloud/tkgdq/go.mod +++ b/tencentcloud/tkgdq/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tkgdq go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tms/go.mod b/tencentcloud/tms/go.mod index 61f9909f9d..00248e2d50 100644 --- a/tencentcloud/tms/go.mod +++ b/tencentcloud/tms/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tms go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tmt/go.mod b/tencentcloud/tmt/go.mod index f000a7caa2..00ce6c83b9 100644 --- a/tencentcloud/tmt/go.mod +++ b/tencentcloud/tmt/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tmt go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/trtc/go.mod b/tencentcloud/trtc/go.mod index 30ab47fa18..89ffb036d0 100644 --- a/tencentcloud/trtc/go.mod +++ b/tencentcloud/trtc/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trtc go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tse/go.mod b/tencentcloud/tse/go.mod index a227a1eb91..d2dd178ff5 100644 --- a/tencentcloud/tse/go.mod +++ b/tencentcloud/tse/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tse/v20201207/models.go b/tencentcloud/tse/v20201207/models.go index ed827087d8..6e0cc558bc 100644 --- a/tencentcloud/tse/v20201207/models.go +++ b/tencentcloud/tse/v20201207/models.go @@ -323,6 +323,12 @@ type ServiceGovernanceInfo struct { // 服务治理引擎绑定的网络信息 VpcInfos []*VpcInfo `json:"VpcInfos,omitempty" name:"VpcInfos"` + + // 当前实例鉴权是否开启 + AuthOpen *bool `json:"AuthOpen,omitempty" name:"AuthOpen"` + + // 该实例支持的功能,鉴权就是 Auth + Features []*string `json:"Features,omitempty" name:"Features"` } type VpcInfo struct { diff --git a/tencentcloud/tsf/go.mod b/tencentcloud/tsf/go.mod index 231c09eeb4..a4c9d8f2d9 100644 --- a/tencentcloud/tsf/go.mod +++ b/tencentcloud/tsf/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsf go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tsf/v20180326/client.go b/tencentcloud/tsf/v20180326/client.go index 060ab1ac1a..195f02f6b0 100644 --- a/tencentcloud/tsf/v20180326/client.go +++ b/tencentcloud/tsf/v20180326/client.go @@ -593,6 +593,7 @@ func NewCreateApplicationResponse() (response *CreateApplicationResponse) { // MISSINGPARAMETER_APPLICATIONTYPENULL = "MissingParameter.ApplicationTypeNull" // RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" // UNAUTHORIZEDOPERATION_CAMGENERALERROR = "UnauthorizedOperation.CamGeneralError" +// UNAUTHORIZEDOPERATION_LICENSEUNAUTHORIZED = "UnauthorizedOperation.LicenseUnauthorized" // UNAUTHORIZEDOPERATION_NOPRIVILEGE = "UnauthorizedOperation.NoPrivilege" func (c *Client) CreateApplication(request *CreateApplicationRequest) (response *CreateApplicationResponse, err error) { if request == nil { @@ -624,6 +625,7 @@ func (c *Client) CreateApplication(request *CreateApplicationRequest) (response // MISSINGPARAMETER_APPLICATIONTYPENULL = "MissingParameter.ApplicationTypeNull" // RESOURCENOTFOUND_MICROSERVICEOFFLINE = "ResourceNotFound.MicroserviceOffline" // UNAUTHORIZEDOPERATION_CAMGENERALERROR = "UnauthorizedOperation.CamGeneralError" +// UNAUTHORIZEDOPERATION_LICENSEUNAUTHORIZED = "UnauthorizedOperation.LicenseUnauthorized" // UNAUTHORIZEDOPERATION_NOPRIVILEGE = "UnauthorizedOperation.NoPrivilege" func (c *Client) CreateApplicationWithContext(ctx context.Context, request *CreateApplicationRequest) (response *CreateApplicationResponse, err error) { if request == nil { @@ -3066,6 +3068,7 @@ func NewDeployContainerGroupResponse() (response *DeployContainerGroupResponse) // FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" // FAILEDOPERATION_TSFPRIVILEGEERROR = "FailedOperation.TsfPrivilegeError" // INTERNALERROR_CONTAINERGROUPKUBERNETEAPIINVOKEERROR = "InternalError.ContainergroupKuberneteApiInvokeError" +// INTERNALERROR_CONTAINERGROUPSQLFAILED = "InternalError.ContainergroupSqlFailed" // INTERNALERROR_UNHANDLEDEXCEPTION = "InternalError.UnhandledException" // INVALIDPARAMETER_BADREQUEST = "InvalidParameter.BadRequest" // INVALIDPARAMETER_KUBERNETESPARAMERROR = "InvalidParameter.KubernetesParamError" @@ -3111,6 +3114,7 @@ func (c *Client) DeployContainerGroup(request *DeployContainerGroupRequest) (res // FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" // FAILEDOPERATION_TSFPRIVILEGEERROR = "FailedOperation.TsfPrivilegeError" // INTERNALERROR_CONTAINERGROUPKUBERNETEAPIINVOKEERROR = "InternalError.ContainergroupKuberneteApiInvokeError" +// INTERNALERROR_CONTAINERGROUPSQLFAILED = "InternalError.ContainergroupSqlFailed" // INTERNALERROR_UNHANDLEDEXCEPTION = "InternalError.UnhandledException" // INVALIDPARAMETER_BADREQUEST = "InvalidParameter.BadRequest" // INVALIDPARAMETER_KUBERNETESPARAMERROR = "InvalidParameter.KubernetesParamError" diff --git a/tencentcloud/tsw/go.mod b/tencentcloud/tsw/go.mod index f28f9821ae..6f416f55c5 100644 --- a/tencentcloud/tsw/go.mod +++ b/tencentcloud/tsw/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/tts/go.mod b/tencentcloud/tts/go.mod index 667a3e36a8..7ec558183a 100644 --- a/tencentcloud/tts/go.mod +++ b/tencentcloud/tts/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/ump/go.mod b/tencentcloud/ump/go.mod index 0ac159baba..82da89f1df 100644 --- a/tencentcloud/ump/go.mod +++ b/tencentcloud/ump/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/vm/go.mod b/tencentcloud/vm/go.mod index 91d14d4fac..d97b976af0 100644 --- a/tencentcloud/vm/go.mod +++ b/tencentcloud/vm/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/vms/go.mod b/tencentcloud/vms/go.mod index c2435ddd23..8357ff54d5 100644 --- a/tencentcloud/vms/go.mod +++ b/tencentcloud/vms/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vms go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/vod/go.mod b/tencentcloud/vod/go.mod index 28bd917f63..f21e82feed 100644 --- a/tencentcloud/vod/go.mod +++ b/tencentcloud/vod/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vod go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/vpc/go.mod b/tencentcloud/vpc/go.mod index a02e7ed3ff..b5a90422fb 100644 --- a/tencentcloud/vpc/go.mod +++ b/tencentcloud/vpc/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/vpc/v20170312/client.go b/tencentcloud/vpc/v20170312/client.go index f6f79098c2..e4fa0ec533 100644 --- a/tencentcloud/vpc/v20170312/client.go +++ b/tencentcloud/vpc/v20170312/client.go @@ -258,7 +258,7 @@ func NewAddTemplateMemberResponse() (response *AddTemplateMemberResponse) { } // AddTemplateMember -// 增加模版对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 +// 增加模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -277,7 +277,7 @@ func (c *Client) AddTemplateMember(request *AddTemplateMemberRequest) (response } // AddTemplateMember -// 增加模版对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 +// 增加模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -1792,7 +1792,7 @@ func NewCreateAddressTemplateResponse() (response *CreateAddressTemplateResponse } // CreateAddressTemplate -// 本接口(CreateAddressTemplate)用于创建IP地址模版 +// 本接口(CreateAddressTemplate)用于创建IP地址模板。 // // 可能返回的错误码: // INVALIDPARAMETERVALUE = "InvalidParameterValue" @@ -1811,7 +1811,7 @@ func (c *Client) CreateAddressTemplate(request *CreateAddressTemplateRequest) (r } // CreateAddressTemplate -// 本接口(CreateAddressTemplate)用于创建IP地址模版 +// 本接口(CreateAddressTemplate)用于创建IP地址模板。 // // 可能返回的错误码: // INVALIDPARAMETERVALUE = "InvalidParameterValue" @@ -6032,7 +6032,7 @@ func NewDeleteTemplateMemberResponse() (response *DeleteTemplateMemberResponse) } // DeleteTemplateMember -// 删除模版对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 +// 删除模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -6050,7 +6050,7 @@ func (c *Client) DeleteTemplateMember(request *DeleteTemplateMemberRequest) (res } // DeleteTemplateMember -// 删除模版对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 +// 删除模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -14036,7 +14036,7 @@ func NewModifyTemplateMemberResponse() (response *ModifyTemplateMemberResponse) } // ModifyTemplateMember -// 修改模版对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 +// 修改模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" @@ -14054,7 +14054,7 @@ func (c *Client) ModifyTemplateMember(request *ModifyTemplateMemberRequest) (res } // ModifyTemplateMember -// 修改模版对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 +// 修改模板对象中的IP地址、协议端口、IP地址组、协议端口组。当前仅支持北京、泰国、北美地域请求。 // // 可能返回的错误码: // INTERNALERROR = "InternalError" diff --git a/tencentcloud/vpc/v20170312/models.go b/tencentcloud/vpc/v20170312/models.go index 7cdc10adea..e74fe593cc 100644 --- a/tencentcloud/vpc/v20170312/models.go +++ b/tencentcloud/vpc/v20170312/models.go @@ -1950,7 +1950,7 @@ func (r *CreateAddressTemplateGroupResponse) FromJsonString(s string) error { type CreateAddressTemplateRequest struct { *tchttp.BaseRequest - // IP地址模版名称 + // IP地址模板名称。 AddressTemplateName *string `json:"AddressTemplateName,omitempty" name:"AddressTemplateName"` // 地址信息,支持 IP、CIDR、IP 范围。Addresses与AddressesExtra必填其一。 diff --git a/tencentcloud/waf/go.mod b/tencentcloud/waf/go.mod index 2fba86fd82..fdae4e0518 100644 --- a/tencentcloud/waf/go.mod +++ b/tencentcloud/waf/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/wav/go.mod b/tencentcloud/wav/go.mod index 16fb405dee..00ecbe7b92 100644 --- a/tencentcloud/wav/go.mod +++ b/tencentcloud/wav/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wav go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/wss/go.mod b/tencentcloud/wss/go.mod index 481578850c..234f8eea29 100644 --- a/tencentcloud/wss/go.mod +++ b/tencentcloud/wss/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/youmall/go.mod b/tencentcloud/youmall/go.mod index f9566802f2..5e68c74c09 100644 --- a/tencentcloud/youmall/go.mod +++ b/tencentcloud/youmall/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/youmall go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/yunjing/go.mod b/tencentcloud/yunjing/go.mod index 5065fa3d28..911273a826 100644 --- a/tencentcloud/yunjing/go.mod +++ b/tencentcloud/yunjing/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunjing go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/yunsou/go.mod b/tencentcloud/yunsou/go.mod index 78de80adf5..b85d6c470e 100644 --- a/tencentcloud/yunsou/go.mod +++ b/tencentcloud/yunsou/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunsou go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/tencentcloud/zj/go.mod b/tencentcloud/zj/go.mod index c2f06384e3..3c8c3a1fcf 100644 --- a/tencentcloud/zj/go.mod +++ b/tencentcloud/zj/go.mod @@ -1,3 +1,5 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/zj go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 diff --git a/testing/go.mod b/testing/go.mod index 0e01fd885e..68be7b0240 100644 --- a/testing/go.mod +++ b/testing/go.mod @@ -53,7 +53,7 @@ require ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cme v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cms v0.0.0 - github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v0.0.0 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.350 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cr v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v0.0.0