From 973de1c8db0aeefcf71efceeda8a5ec7381cc142 Mon Sep 17 00:00:00 2001 From: tencentcloudapi Date: Fri, 10 Jan 2025 04:18:19 +0800 Subject: [PATCH] release v1.0.1079 --- CHANGELOG.md | 311 ++++ SERVICE_CHANGELOG.md | 652 +++++--- products.md | 52 +- tencentcloud/aa/go.mod | 2 +- tencentcloud/aai/go.mod | 2 +- tencentcloud/aca/go.mod | 2 +- tencentcloud/acp/go.mod | 2 +- tencentcloud/advisor/go.mod | 2 +- tencentcloud/af/go.mod | 2 +- tencentcloud/afc/go.mod | 2 +- tencentcloud/aiart/go.mod | 2 +- tencentcloud/aiart/v20221229/client.go | 142 ++ tencentcloud/aiart/v20221229/models.go | 212 +++ tencentcloud/ame/go.mod | 2 +- tencentcloud/ams/go.mod | 2 +- tencentcloud/anicloud/go.mod | 2 +- tencentcloud/antiddos/go.mod | 2 +- tencentcloud/apcas/go.mod | 2 +- tencentcloud/ape/go.mod | 2 +- tencentcloud/api/go.mod | 2 +- tencentcloud/apigateway/go.mod | 2 +- tencentcloud/apm/go.mod | 2 +- tencentcloud/as/go.mod | 2 +- tencentcloud/asr/go.mod | 2 +- tencentcloud/asw/go.mod | 2 +- tencentcloud/ba/go.mod | 2 +- tencentcloud/batch/go.mod | 2 +- tencentcloud/batch/v20170312/models.go | 2 +- tencentcloud/bda/go.mod | 2 +- tencentcloud/bh/go.mod | 2 +- tencentcloud/bi/go.mod | 2 +- tencentcloud/billing/go.mod | 2 +- tencentcloud/bizlive/go.mod | 2 +- tencentcloud/bm/go.mod | 2 +- tencentcloud/bma/go.mod | 2 +- tencentcloud/bmeip/go.mod | 2 +- tencentcloud/bmlb/go.mod | 2 +- tencentcloud/bmvpc/go.mod | 2 +- tencentcloud/bpaas/go.mod | 2 +- tencentcloud/bri/go.mod | 2 +- tencentcloud/bsca/go.mod | 2 +- tencentcloud/btoe/go.mod | 2 +- tencentcloud/ca/go.mod | 2 +- tencentcloud/cam/go.mod | 2 +- tencentcloud/captcha/go.mod | 2 +- tencentcloud/car/go.mod | 2 +- tencentcloud/cat/go.mod | 2 +- tencentcloud/cbs/go.mod | 2 +- tencentcloud/ccc/go.mod | 2 +- tencentcloud/cdb/go.mod | 2 +- tencentcloud/cdb/v20170320/models.go | 17 + tencentcloud/cdc/go.mod | 2 +- tencentcloud/cdn/go.mod | 2 +- tencentcloud/cds/go.mod | 2 +- tencentcloud/cdwch/go.mod | 2 +- tencentcloud/cdwdoris/go.mod | 2 +- tencentcloud/cdwpg/go.mod | 2 +- tencentcloud/cdz/go.mod | 2 +- tencentcloud/cfg/go.mod | 2 +- tencentcloud/cfs/go.mod | 2 +- tencentcloud/cfw/go.mod | 2 +- tencentcloud/chdfs/go.mod | 2 +- tencentcloud/ciam/go.mod | 2 +- tencentcloud/cii/go.mod | 2 +- tencentcloud/cim/go.mod | 2 +- tencentcloud/cis/go.mod | 2 +- tencentcloud/ckafka/go.mod | 2 +- tencentcloud/clb/go.mod | 2 +- tencentcloud/cloudapp/go.mod | 2 +- tencentcloud/cloudaudit/go.mod | 2 +- tencentcloud/cloudhsm/go.mod | 2 +- tencentcloud/cloudstudio/go.mod | 2 +- tencentcloud/cls/go.mod | 2 +- tencentcloud/cme/go.mod | 2 +- tencentcloud/cmq/go.mod | 2 +- tencentcloud/cmq/v20190304/client.go | 1117 +------------ tencentcloud/cmq/v20190304/models.go | 1507 ++---------------- tencentcloud/cms/go.mod | 2 +- tencentcloud/common/http/request.go | 2 +- tencentcloud/config/go.mod | 2 +- tencentcloud/config/v20220802/client.go | 108 ++ tencentcloud/config/v20220802/errors.go | 3 + tencentcloud/config/v20220802/models.go | 260 +++ tencentcloud/controlcenter/go.mod | 2 +- tencentcloud/cpdp/go.mod | 2 +- tencentcloud/csip/go.mod | 2 +- tencentcloud/csxg/go.mod | 2 +- tencentcloud/csxg/v20230303/client.go | 34 + tencentcloud/csxg/v20230303/errors.go | 48 + tencentcloud/cvm/go.mod | 2 +- tencentcloud/cvm/v20170312/models.go | 2 +- tencentcloud/cwp/go.mod | 2 +- tencentcloud/cws/go.mod | 2 +- tencentcloud/cynosdb/go.mod | 2 +- tencentcloud/dasb/go.mod | 2 +- tencentcloud/dataintegration/go.mod | 2 +- tencentcloud/dayu/go.mod | 2 +- tencentcloud/dbbrain/go.mod | 2 +- tencentcloud/dbdc/go.mod | 2 +- tencentcloud/dc/go.mod | 2 +- tencentcloud/dcdb/go.mod | 2 +- tencentcloud/dlc/go.mod | 2 +- tencentcloud/dnspod/go.mod | 2 +- tencentcloud/domain/go.mod | 2 +- tencentcloud/drm/go.mod | 2 +- tencentcloud/ds/go.mod | 2 +- tencentcloud/dsgc/go.mod | 2 +- tencentcloud/dtf/go.mod | 2 +- tencentcloud/dts/go.mod | 2 +- tencentcloud/eb/go.mod | 2 +- tencentcloud/ecc/go.mod | 2 +- tencentcloud/ecdn/go.mod | 2 +- tencentcloud/ecm/go.mod | 2 +- tencentcloud/ecm/v20190719/models.go | 9 - tencentcloud/eiam/go.mod | 2 +- tencentcloud/eis/go.mod | 2 +- tencentcloud/emr/go.mod | 2 +- tencentcloud/es/go.mod | 2 +- tencentcloud/ess/go.mod | 2 +- tencentcloud/ess/v20201111/client.go | 100 +- tencentcloud/ess/v20201111/models.go | 31 +- tencentcloud/essbasic/go.mod | 2 +- tencentcloud/essbasic/v20210526/models.go | 15 +- tencentcloud/facefusion/go.mod | 2 +- tencentcloud/faceid/go.mod | 2 +- tencentcloud/fmu/go.mod | 2 +- tencentcloud/ft/go.mod | 2 +- tencentcloud/gaap/go.mod | 2 +- tencentcloud/gme/go.mod | 2 +- tencentcloud/goosefs/go.mod | 2 +- tencentcloud/gpm/go.mod | 2 +- tencentcloud/gs/go.mod | 2 +- tencentcloud/gse/go.mod | 2 +- tencentcloud/gwlb/go.mod | 2 +- tencentcloud/habo/go.mod | 2 +- tencentcloud/hai/go.mod | 2 +- tencentcloud/hai/v20230812/client.go | 53 + tencentcloud/hai/v20230812/models.go | 120 ++ tencentcloud/hasim/go.mod | 2 +- tencentcloud/hcm/go.mod | 2 +- tencentcloud/hunyuan/go.mod | 2 +- tencentcloud/iai/go.mod | 2 +- tencentcloud/iap/go.mod | 2 +- tencentcloud/ic/go.mod | 2 +- tencentcloud/icr/go.mod | 2 +- tencentcloud/ie/go.mod | 2 +- tencentcloud/iecp/go.mod | 2 +- tencentcloud/ig/go.mod | 2 +- tencentcloud/iir/go.mod | 2 +- tencentcloud/ims/go.mod | 2 +- tencentcloud/ioa/go.mod | 2 +- tencentcloud/iot/go.mod | 2 +- tencentcloud/iotcloud/go.mod | 2 +- tencentcloud/iotexplorer/go.mod | 2 +- tencentcloud/iotexplorer/v20190423/client.go | 246 +++ tencentcloud/iotexplorer/v20190423/models.go | 348 ++++ tencentcloud/iottid/go.mod | 2 +- tencentcloud/iotvideo/go.mod | 2 +- tencentcloud/iotvideo/v20211125/client.go | 53 + tencentcloud/iotvideo/v20211125/models.go | 68 + tencentcloud/iotvideoindustry/go.mod | 2 +- tencentcloud/irp/go.mod | 2 +- tencentcloud/iss/go.mod | 2 +- tencentcloud/ivld/go.mod | 2 +- tencentcloud/keewidb/go.mod | 2 +- tencentcloud/kms/go.mod | 2 +- tencentcloud/lcic/go.mod | 2 +- tencentcloud/lighthouse/go.mod | 2 +- tencentcloud/live/go.mod | 2 +- tencentcloud/lke/go.mod | 2 +- tencentcloud/lkeap/go.mod | 2 +- tencentcloud/lkeap/v20240522/client.go | 24 +- tencentcloud/lkeap/v20240522/errors.go | 3 + tencentcloud/lkeap/v20240522/models.go | 63 +- tencentcloud/lowcode/go.mod | 2 +- tencentcloud/lp/go.mod | 2 +- tencentcloud/mall/go.mod | 2 +- tencentcloud/mariadb/go.mod | 2 +- tencentcloud/market/go.mod | 2 +- tencentcloud/memcached/go.mod | 2 +- tencentcloud/mgobe/go.mod | 2 +- tencentcloud/mmps/go.mod | 2 +- tencentcloud/mna/go.mod | 2 +- tencentcloud/mna/v20210119/models.go | 11 - tencentcloud/mongodb/go.mod | 2 +- tencentcloud/monitor/go.mod | 2 +- tencentcloud/mps/go.mod | 2 +- tencentcloud/mqtt/go.mod | 2 +- tencentcloud/mrs/go.mod | 2 +- tencentcloud/ms/go.mod | 2 +- tencentcloud/msp/go.mod | 2 +- tencentcloud/mvj/go.mod | 2 +- tencentcloud/nlp/go.mod | 2 +- tencentcloud/npp/go.mod | 2 +- tencentcloud/oceanus/go.mod | 2 +- tencentcloud/ocr/go.mod | 2 +- tencentcloud/omics/go.mod | 2 +- tencentcloud/organization/go.mod | 2 +- tencentcloud/partners/go.mod | 2 +- tencentcloud/pds/go.mod | 2 +- tencentcloud/postgres/go.mod | 2 +- tencentcloud/privatedns/go.mod | 2 +- tencentcloud/pts/go.mod | 2 +- tencentcloud/rce/go.mod | 2 +- tencentcloud/redis/go.mod | 2 +- tencentcloud/redis/v20180412/models.go | 4 +- tencentcloud/region/go.mod | 2 +- tencentcloud/rkp/go.mod | 2 +- tencentcloud/rp/go.mod | 2 +- tencentcloud/rum/go.mod | 2 +- tencentcloud/scf/go.mod | 2 +- tencentcloud/ses/go.mod | 2 +- tencentcloud/smh/go.mod | 2 +- tencentcloud/smop/go.mod | 2 +- tencentcloud/smpn/go.mod | 2 +- tencentcloud/sms/go.mod | 2 +- tencentcloud/sms/v20190711/client.go | 8 + tencentcloud/sms/v20190711/errors.go | 6 + tencentcloud/sms/v20190711/models.go | 26 + tencentcloud/sms/v20210111/client.go | 8 + tencentcloud/sms/v20210111/errors.go | 6 + tencentcloud/sms/v20210111/models.go | 26 + tencentcloud/soe/go.mod | 2 +- tencentcloud/solar/go.mod | 2 +- tencentcloud/sqlserver/go.mod | 2 +- tencentcloud/ssa/go.mod | 2 +- tencentcloud/ssl/go.mod | 2 +- tencentcloud/sslpod/go.mod | 2 +- tencentcloud/ssm/go.mod | 2 +- tencentcloud/sts/go.mod | 2 +- tencentcloud/svp/go.mod | 2 +- tencentcloud/taf/go.mod | 2 +- tencentcloud/tag/go.mod | 2 +- tencentcloud/tan/go.mod | 2 +- tencentcloud/tat/go.mod | 2 +- tencentcloud/tav/go.mod | 2 +- tencentcloud/tbaas/go.mod | 2 +- tencentcloud/tbm/go.mod | 2 +- tencentcloud/tbp/go.mod | 2 +- tencentcloud/tcaplusdb/go.mod | 2 +- tencentcloud/tcb/go.mod | 2 +- tencentcloud/tcb/v20180608/models.go | 46 +- tencentcloud/tcbr/go.mod | 2 +- tencentcloud/tcex/go.mod | 2 +- tencentcloud/tchd/go.mod | 2 +- tencentcloud/tci/go.mod | 2 +- tencentcloud/tcm/go.mod | 2 +- tencentcloud/tcr/go.mod | 2 +- tencentcloud/tcss/go.mod | 2 +- tencentcloud/tdcpg/go.mod | 2 +- tencentcloud/tdid/go.mod | 2 +- tencentcloud/tdmq/go.mod | 2 +- tencentcloud/tds/go.mod | 2 +- tencentcloud/tem/go.mod | 2 +- tencentcloud/teo/go.mod | 2 +- tencentcloud/thpc/go.mod | 2 +- tencentcloud/tia/go.mod | 2 +- tencentcloud/tic/go.mod | 2 +- tencentcloud/ticm/go.mod | 2 +- tencentcloud/tics/go.mod | 2 +- tencentcloud/tiems/go.mod | 2 +- tencentcloud/tiia/go.mod | 2 +- tencentcloud/tione/go.mod | 2 +- tencentcloud/tiw/go.mod | 2 +- tencentcloud/tke/go.mod | 2 +- tencentcloud/tkgdq/go.mod | 2 +- tencentcloud/tms/go.mod | 2 +- tencentcloud/tmt/go.mod | 2 +- tencentcloud/tourism/go.mod | 2 +- tencentcloud/trdp/go.mod | 2 +- tencentcloud/trocket/go.mod | 2 +- tencentcloud/trp/go.mod | 2 +- tencentcloud/trro/go.mod | 2 +- tencentcloud/trro/v20220325/models.go | 3 + tencentcloud/trtc/go.mod | 2 +- tencentcloud/tse/go.mod | 2 +- tencentcloud/tse/v20201207/models.go | 6 + tencentcloud/tsf/go.mod | 2 +- tencentcloud/tsi/go.mod | 2 +- tencentcloud/tsw/go.mod | 2 +- tencentcloud/tts/go.mod | 2 +- tencentcloud/ump/go.mod | 2 +- tencentcloud/vcg/go.mod | 2 +- tencentcloud/vclm/go.mod | 2 +- tencentcloud/vcube/go.mod | 2 +- tencentcloud/vdb/go.mod | 2 +- tencentcloud/vm/go.mod | 2 +- tencentcloud/vms/go.mod | 2 +- tencentcloud/vod/go.mod | 2 +- tencentcloud/vpc/go.mod | 2 +- tencentcloud/vpc/v20170312/client.go | 24 + tencentcloud/vpc/v20170312/errors.go | 12 + tencentcloud/vpc/v20170312/models.go | 7 +- tencentcloud/vrs/go.mod | 2 +- tencentcloud/vtc/go.mod | 2 +- tencentcloud/waf/go.mod | 2 +- tencentcloud/wav/go.mod | 2 +- tencentcloud/wedata/go.mod | 2 +- tencentcloud/wedata/v20210820/models.go | 47 + tencentcloud/weilingwith/go.mod | 2 +- tencentcloud/wss/go.mod | 2 +- tencentcloud/yinsuda/go.mod | 2 +- tencentcloud/youmall/go.mod | 2 +- tencentcloud/yunjing/go.mod | 2 +- tencentcloud/yunsou/go.mod | 2 +- testing/go.mod | 2 +- 306 files changed, 3208 insertions(+), 3158 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c10fa2f4b..8110fc5918 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,314 @@ +# Release v1.0.1079 + +## 大模型图像创作引擎(aiart) 版本:2022-12-29 + +### 第 18 次发布 + +发布时间:2025-01-10 01:07:23 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [QueryMemeJob](https://cloud.tencent.com/document/api/1668/115593) +* [SubmitMemeJob](https://cloud.tencent.com/document/api/1668/115592) + + + +## 云数据库 MySQL(cdb) 版本:2017-03-20 + +### 第 184 次发布 + +发布时间:2025-01-10 01:09:26 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [UpgradeDBInstance](https://cloud.tencent.com/document/api/236/15876) + + * 新增入参:DataCheckSensitive + + + + +## 消息队列 CMQ(cmq) 版本:2019-03-04 + +### 第 4 次发布 + +发布时间:2025-01-10 01:11:48 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* ClearQueue +* ClearSubscriptionFilterTags +* CreateQueue +* CreateSubscribe +* CreateTopic +* DeleteQueue +* DeleteSubscribe +* DeleteTopic +* DescribeDeadLetterSourceQueues +* DescribeSubscriptionDetail +* ModifyQueueAttribute +* ModifySubscriptionAttribute +* ModifyTopicAttribute +* RewindQueue +* UnbindDeadLetter + +**删除数据结构**: + +* Subscription + + + +## 配置审计(config) 版本:2022-08-02 + +### 第 5 次发布 + +发布时间:2025-01-10 01:11:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeAggregateDiscoveredResource](https://cloud.tencent.com/document/api/1579/115595) +* [ListAggregateDiscoveredResources](https://cloud.tencent.com/document/api/1579/115594) + +新增数据结构: + +* [AggregateResourceInfo](https://cloud.tencent.com/document/api/1579/101783#AggregateResourceInfo) + + + +## 高性能应用服务(hai) 版本:2023-08-12 + +### 第 10 次发布 + +发布时间:2025-01-10 01:17:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeMuskPrompts](https://cloud.tencent.com/document/api/1721/115596) + +新增数据结构: + +* [MuskPromptInfo](https://cloud.tencent.com/document/api/1721/101518#MuskPromptInfo) + + + +## 物联网开发平台(iotexplorer) 版本:2019-04-23 + +### 第 91 次发布 + +发布时间:2025-01-10 01:18:24 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeActivateDevice](https://cloud.tencent.com/document/api/1081/115600) +* [DescribeActivateLicenseService](https://cloud.tencent.com/document/api/1081/115599) +* [DescribeFreeCloudStorageNum](https://cloud.tencent.com/document/api/1081/115597) +* [DescribeVideoLicense](https://cloud.tencent.com/document/api/1081/115598) + +新增数据结构: + +* [ActivateDeviceInfo](https://cloud.tencent.com/document/api/1081/34988#ActivateDeviceInfo) +* [CloudStoragePackageInfo](https://cloud.tencent.com/document/api/1081/34988#CloudStoragePackageInfo) +* [DeviceActivationDetail](https://cloud.tencent.com/document/api/1081/34988#DeviceActivationDetail) +* [LicenseServiceNumInfo](https://cloud.tencent.com/document/api/1081/34988#LicenseServiceNumInfo) +* [RegisteredDeviceNetTypeInfo](https://cloud.tencent.com/document/api/1081/34988#RegisteredDeviceNetTypeInfo) +* [RegisteredDeviceTypeInfo](https://cloud.tencent.com/document/api/1081/34988#RegisteredDeviceTypeInfo) +* [TWeCallLicenseInfo](https://cloud.tencent.com/document/api/1081/34988#TWeCallLicenseInfo) +* [VideoLicenseEntity](https://cloud.tencent.com/document/api/1081/34988#VideoLicenseEntity) + + + +## 物联网智能视频服务(iotvideo) 版本:2021-11-25 + +### 第 33 次发布 + +发布时间:2025-01-10 01:19:02 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeFreeCloudStorageNum](https://cloud.tencent.com/document/api/1131/115601) + +新增数据结构: + +* [CloudStoragePackageInfo](https://cloud.tencent.com/document/api/1131/76635#CloudStoragePackageInfo) + + + +## 物联网智能视频服务(iotvideo) 版本:2020-12-15 + + + +## 物联网智能视频服务(iotvideo) 版本:2019-11-26 + + + +## 短信(sms) 版本:2021-01-11 + +### 第 6 次发布 + +发布时间:2025-01-10 01:24:22 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [AddSmsSign](https://cloud.tencent.com/document/api/382/55971) + + * 新增入参:QualificationId + +* [ModifySmsSign](https://cloud.tencent.com/document/api/382/55968) + + * 新增入参:QualificationId + + +修改数据结构: + +* [DescribeSignListStatus](https://cloud.tencent.com/document/api/382/52068#DescribeSignListStatus) + + * 新增成员:QualificationId, QualificationName, QualificationStatusCode + + + + +## 短信(sms) 版本:2019-07-11 + +### 第 10 次发布 + +发布时间:2025-01-10 01:24:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [AddSmsSign](https://cloud.tencent.com/document/api/382/41146) + + * 新增入参:QualificationId + +* [ModifySmsSign](https://cloud.tencent.com/document/api/382/41144) + + * 新增入参:QualificationId + + +修改数据结构: + +* [DescribeSignListStatus](https://cloud.tencent.com/document/api/382/38779#DescribeSignListStatus) + + * 新增成员:QualificationId, QualificationName, QualificationStatusCode + + + + +## 远程实时操控(trro) 版本:2022-03-25 + +### 第 8 次发布 + +发布时间:2025-01-10 01:28:09 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [Device](https://cloud.tencent.com/document/api/1584/89828#Device) + + * 新增成员:LimitedTime + + + + +## 微服务引擎(tse) 版本:2020-12-07 + +### 第 86 次发布 + +发布时间:2025-01-10 01:28:23 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [GovernanceNamespaceInput](https://cloud.tencent.com/document/api/1364/54942#GovernanceNamespaceInput) + + * 新增成员:SyncToGlobalRegistry + +* [GovernanceServiceInput](https://cloud.tencent.com/document/api/1364/54942#GovernanceServiceInput) + + * 新增成员:SyncToGlobalRegistry + + + + +## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 + +### 第 119 次发布 + +发布时间:2025-01-10 01:31:06 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateHiveTable](https://cloud.tencent.com/document/api/1267/82525) + + * 新增入参:DataOptimizationResource, SmartOptimizerWritten + +* [CreateHiveTableByDDL](https://cloud.tencent.com/document/api/1267/82524) + + * 新增入参:DataOptimizationResource, SmartOptimizerWritten + +* [GenHiveTableDDLSql](https://cloud.tencent.com/document/api/1267/82483) + + * 新增入参:Env + + +修改数据结构: + +* [AlarmIndicatorInfo](https://cloud.tencent.com/document/api/1267/76336#AlarmIndicatorInfo) + + * 新增成员:IndicatorTimeRangeUnit, IndicatorTimeRangeValue + +* [TaskAlarmInfo](https://cloud.tencent.com/document/api/1267/76336#TaskAlarmInfo) + + * 新增成员:BusinessType + + + + # Release v1.0.1078 ## 弹性伸缩(as) 版本:2018-04-19 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index b651c04ddb..d19f2617b6 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,29 +1,27 @@ # 本版本更新包含以下内容: -## 弹性伸缩(as) 版本:2018-04-19 +## 大模型图像创作引擎(aiart) 版本:2022-12-29 -### 第 80 次发布 +### 第 18 次发布 -发布时间:2025-01-09 01:09:15 +发布时间:2025-01-10 01:07:23 本次发布包含了以下内容: 改善已有的文档。 -修改数据结构: - -* [RollingUpdateSettings](https://cloud.tencent.com/document/api/377/20453#RollingUpdateSettings) - - * 新增成员:FailProcess +新增接口: +* [QueryMemeJob](https://cloud.tencent.com/document/api/1668/115593) +* [SubmitMemeJob](https://cloud.tencent.com/document/api/1668/115592) -## 负载均衡(clb) 版本:2018-03-17 +## 云数据库 MySQL(cdb) 版本:2017-03-20 -### 第 116 次发布 +### 第 184 次发布 -发布时间:2025-01-09 01:12:23 +发布时间:2025-01-10 01:09:26 本次发布包含了以下内容: @@ -31,172 +29,151 @@ 修改接口: -* [CreateTargetGroup](https://cloud.tencent.com/document/api/214/40559) - - * 新增入参:Tags, Weight - -* [ModifyTargetGroupAttribute](https://cloud.tencent.com/document/api/214/40552) +* [UpgradeDBInstance](https://cloud.tencent.com/document/api/236/15876) - * 新增入参:Weight + * 新增入参:DataCheckSensitive -## 云应用(cloudapp) 版本:2022-05-30 +## 消息队列 CMQ(cmq) 版本:2019-03-04 -### 第 3 次发布 +### 第 4 次发布 -发布时间:2025-01-09 01:12:37 +发布时间:2025-01-10 01:11:48 本次发布包含了以下内容: 改善已有的文档。 -修改接口: - -* [VerifyLicense](https://cloud.tencent.com/document/api/1689/108874) - - * 新增出参:Timestamp, Signature - - -修改数据结构: - -* [SaleParam](https://cloud.tencent.com/document/api/1689/108875#SaleParam) +**删除接口**: - * 新增成员:ParamType +* ClearQueue +* ClearSubscriptionFilterTags +* CreateQueue +* CreateSubscribe +* CreateTopic +* DeleteQueue +* DeleteSubscribe +* DeleteTopic +* DescribeDeadLetterSourceQueues +* DescribeSubscriptionDetail +* ModifyQueueAttribute +* ModifySubscriptionAttribute +* ModifyTopicAttribute +* RewindQueue +* UnbindDeadLetter - * **修改成员**:ParamValue, ParamValueName +**删除数据结构**: +* Subscription -## 日志服务(cls) 版本:2020-10-16 +## 配置审计(config) 版本:2022-08-02 -### 第 119 次发布 +### 第 5 次发布 -发布时间:2025-01-09 01:12:45 +发布时间:2025-01-10 01:11:51 本次发布包含了以下内容: 改善已有的文档。 -修改数据结构: +新增接口: -* [AlarmInfo](https://cloud.tencent.com/document/api/614/56471#AlarmInfo) +* [DescribeAggregateDiscoveredResource](https://cloud.tencent.com/document/api/1579/115595) +* [ListAggregateDiscoveredResources](https://cloud.tencent.com/document/api/1579/115594) - * 新增成员:Classifications +新增数据结构: +* [AggregateResourceInfo](https://cloud.tencent.com/document/api/1579/101783#AggregateResourceInfo) -## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 +## 高性能应用服务(hai) 版本:2023-08-12 -### 第 122 次发布 +### 第 10 次发布 -发布时间:2025-01-09 01:14:38 +发布时间:2025-01-10 01:17:51 本次发布包含了以下内容: 改善已有的文档。 -修改接口: - -* [DescribeInstanceSlowQueries](https://cloud.tencent.com/document/api/1003/76369) - - * 新增入参:SqlText - -* [RollbackToNewCluster](https://cloud.tencent.com/document/api/1003/104727) - - * 新增入参:ProjectId +新增接口: +* [DescribeMuskPrompts](https://cloud.tencent.com/document/api/1721/115596) 新增数据结构: -* [TaskProgressInfo](https://cloud.tencent.com/document/api/1003/48097#TaskProgressInfo) - -修改数据结构: - -* [BizTaskInfo](https://cloud.tencent.com/document/api/1003/48097#BizTaskInfo) - - * 新增成员:TaskProgressInfo - +* [MuskPromptInfo](https://cloud.tencent.com/document/api/1721/101518#MuskPromptInfo) -## 专线接入(dc) 版本:2018-04-10 +## 物联网开发平台(iotexplorer) 版本:2019-04-23 -### 第 30 次发布 +### 第 91 次发布 -发布时间:2025-01-09 01:15:16 +发布时间:2025-01-10 01:18:24 本次发布包含了以下内容: 改善已有的文档。 -修改数据结构: - -* [BgpPeer](https://cloud.tencent.com/document/api/216/18418#BgpPeer) +新增接口: - * 新增成员:CloudAsn +* [DescribeActivateDevice](https://cloud.tencent.com/document/api/1081/115600) +* [DescribeActivateLicenseService](https://cloud.tencent.com/document/api/1081/115599) +* [DescribeFreeCloudStorageNum](https://cloud.tencent.com/document/api/1081/115597) +* [DescribeVideoLicense](https://cloud.tencent.com/document/api/1081/115598) -* [DirectConnectTunnelRoute](https://cloud.tencent.com/document/api/216/18418#DirectConnectTunnelRoute) - - * 新增成员:UpdateTime, ApplyOnTunnelEnable +新增数据结构: +* [ActivateDeviceInfo](https://cloud.tencent.com/document/api/1081/34988#ActivateDeviceInfo) +* [CloudStoragePackageInfo](https://cloud.tencent.com/document/api/1081/34988#CloudStoragePackageInfo) +* [DeviceActivationDetail](https://cloud.tencent.com/document/api/1081/34988#DeviceActivationDetail) +* [LicenseServiceNumInfo](https://cloud.tencent.com/document/api/1081/34988#LicenseServiceNumInfo) +* [RegisteredDeviceNetTypeInfo](https://cloud.tencent.com/document/api/1081/34988#RegisteredDeviceNetTypeInfo) +* [RegisteredDeviceTypeInfo](https://cloud.tencent.com/document/api/1081/34988#RegisteredDeviceTypeInfo) +* [TWeCallLicenseInfo](https://cloud.tencent.com/document/api/1081/34988#TWeCallLicenseInfo) +* [VideoLicenseEntity](https://cloud.tencent.com/document/api/1081/34988#VideoLicenseEntity) -## 数字版权管理(drm) 版本:2018-11-15 +## 物联网智能视频服务(iotvideo) 版本:2021-11-25 -### 第 7 次发布 +### 第 33 次发布 -发布时间:2025-01-09 01:16:10 +发布时间:2025-01-10 01:19:02 本次发布包含了以下内容: 改善已有的文档。 -修改接口: - -* [CreateLicense](https://cloud.tencent.com/document/api/1000/30711) - - * 新增入参:WidevineSecurityLevel - - - - -## 数据传输服务(dts) 版本:2021-12-06 - -### 第 38 次发布 - -发布时间:2025-01-09 01:16:34 - -本次发布包含了以下内容: +新增接口: -改善已有的文档。 +* [DescribeFreeCloudStorageNum](https://cloud.tencent.com/document/api/1131/115601) -修改接口: +新增数据结构: -* [DescribeSubscribeJobs](https://cloud.tencent.com/document/api/571/102943) +* [CloudStoragePackageInfo](https://cloud.tencent.com/document/api/1131/76635#CloudStoragePackageInfo) - * 新增入参:SubscribeIds -* [DescribeSyncJobs](https://cloud.tencent.com/document/api/571/82103) - - * 新增入参:JobIds, SrcInfoPattern, DstInfoPattern +## 物联网智能视频服务(iotvideo) 版本:2020-12-15 -## 数据传输服务(dts) 版本:2018-03-30 +## 物联网智能视频服务(iotvideo) 版本:2019-11-26 -## 弹性 MapReduce(emr) 版本:2019-01-03 +## 短信(sms) 版本:2021-01-11 -### 第 88 次发布 +### 第 6 次发布 -发布时间:2025-01-09 01:17:15 +发布时间:2025-01-10 01:24:22 本次发布包含了以下内容: @@ -204,62 +181,29 @@ 修改接口: -* [DescribeAutoScaleRecords](https://cloud.tencent.com/document/api/589/100248) - - * 新增入参:Asc - - -新增数据结构: - -* [ClusterRelationMeta](https://cloud.tencent.com/document/api/589/33981#ClusterRelationMeta) - -修改数据结构: - -* [ClusterInstancesInfo](https://cloud.tencent.com/document/api/589/33981#ClusterInstancesInfo) - - * 新增成员:ClusterRelationInfoList - -* [PersistentVolumeContext](https://cloud.tencent.com/document/api/589/33981#PersistentVolumeContext) - - * 新增成员:ExtraPerformance - -* [RepeatStrategy](https://cloud.tencent.com/document/api/589/33981#RepeatStrategy) - - * 新增成员:StartTime - - - - -## 腾讯电子签企业版(ess) 版本:2020-11-11 +* [AddSmsSign](https://cloud.tencent.com/document/api/382/55971) -### 第 206 次发布 + * 新增入参:QualificationId -发布时间:2025-01-09 01:17:49 +* [ModifySmsSign](https://cloud.tencent.com/document/api/382/55968) -本次发布包含了以下内容: + * 新增入参:QualificationId -改善已有的文档。 修改数据结构: -* [FlowApproverDetail](https://cloud.tencent.com/document/api/1323/70369#FlowApproverDetail) - - * 新增成员:RecipientId - -* [ReleasedApprover](https://cloud.tencent.com/document/api/1323/70369#ReleasedApprover) +* [DescribeSignListStatus](https://cloud.tencent.com/document/api/382/52068#DescribeSignListStatus) - * 新增成员:RelievedApproverRecipientId + * 新增成员:QualificationId, QualificationName, QualificationStatusCode - * **修改成员**:RelievedApproverReceiptId +## 短信(sms) 版本:2019-07-11 -## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 +### 第 10 次发布 -### 第 206 次发布 - -发布时间:2025-01-09 01:18:08 +发布时间:2025-01-10 01:24:18 本次发布包含了以下内容: @@ -267,155 +211,100 @@ 修改接口: -* [ChannelCreateFlowByFiles](https://cloud.tencent.com/document/api/1420/73068) - - * 新增入参:OpenDynamicSignFlow - - -修改数据结构: - -* [FlowApproverDetail](https://cloud.tencent.com/document/api/1420/61525#FlowApproverDetail) - - * 新增成员:RecipientId - - - - -## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 - +* [AddSmsSign](https://cloud.tencent.com/document/api/382/41146) + * 新增入参:QualificationId -## 全球应用加速(gaap) 版本:2018-05-29 +* [ModifySmsSign](https://cloud.tencent.com/document/api/382/41144) -### 第 52 次发布 + * 新增入参:QualificationId -发布时间:2025-01-09 01:18:35 -本次发布包含了以下内容: +修改数据结构: -改善已有的文档。 +* [DescribeSignListStatus](https://cloud.tencent.com/document/api/382/38779#DescribeSignListStatus) -**预下线接口**: + * 新增成员:QualificationId, QualificationName, QualificationStatusCode -* CreateFirstLinkSession -* DeleteFirstLinkSession -* DescribeFirstLinkSession -## 高性能应用服务(hai) 版本:2023-08-12 +## 远程实时操控(trro) 版本:2022-03-25 -### 第 9 次发布 +### 第 8 次发布 -发布时间:2025-01-09 01:19:02 +发布时间:2025-01-10 01:28:09 本次发布包含了以下内容: 改善已有的文档。 -新增接口: - -* [CreateMuskPrompt](https://cloud.tencent.com/document/api/1721/115529) - - - -## 云数据库 PostgreSQL(postgres) 版本:2017-03-12 - -### 第 47 次发布 - -发布时间:2025-01-09 01:24:20 - -本次发布包含了以下内容: +修改数据结构: -改善已有的文档。 +* [Device](https://cloud.tencent.com/document/api/1584/89828#Device) -新增接口: + * 新增成员:LimitedTime -* [DescribeMaintainTimeWindow](https://cloud.tencent.com/document/api/409/115531) -* [ModifyMaintainTimeWindow](https://cloud.tencent.com/document/api/409/115530) -## 云开发 CloudBase(tcb) 版本:2018-06-08 +## 微服务引擎(tse) 版本:2020-12-07 -### 第 107 次发布 +### 第 86 次发布 -发布时间:2025-01-09 01:26:32 +发布时间:2025-01-10 01:28:23 本次发布包含了以下内容: 改善已有的文档。 -修改接口: - -* [DescribeCloudBaseRunPodList](https://cloud.tencent.com/document/api/876/63345) - - * 新增出参:Offset, Limit, TotalCount, PodList - - -新增数据结构: - -* [CloudBaseRunVersionPod](https://cloud.tencent.com/document/api/876/34822#CloudBaseRunVersionPod) - 修改数据结构: -* [CbrPackageInfo](https://cloud.tencent.com/document/api/876/34822#CbrPackageInfo) - - * **修改成员**:PackageName, PackageVersion - -* [CbrRepoInfo](https://cloud.tencent.com/document/api/876/34822#CbrRepoInfo) +* [GovernanceNamespaceInput](https://cloud.tencent.com/document/api/1364/54942#GovernanceNamespaceInput) - * **修改成员**:Repo, RepoType, RepoLanguage, Branch + * 新增成员:SyncToGlobalRegistry -* [CloudBaseRunServiceVolumeHostPath](https://cloud.tencent.com/document/api/876/34822#CloudBaseRunServiceVolumeHostPath) +* [GovernanceServiceInput](https://cloud.tencent.com/document/api/1364/54942#GovernanceServiceInput) - * 新增成员:Path + * 新增成员:SyncToGlobalRegistry -## TI-ONE 训练平台(tione) 版本:2021-11-11 +## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 -### 第 66 次发布 +### 第 119 次发布 -发布时间:2025-01-09 01:28:15 +发布时间:2025-01-10 01:31:06 本次发布包含了以下内容: 改善已有的文档。 -修改数据结构: - -* [NotebookDetail](https://cloud.tencent.com/document/api/851/75051#NotebookDetail) - - * 新增成员:AppId - -* [NotebookSetItem](https://cloud.tencent.com/document/api/851/75051#NotebookSetItem) - - * 新增成员:AppId - - +修改接口: +* [CreateHiveTable](https://cloud.tencent.com/document/api/1267/82525) -## TI-ONE 训练平台(tione) 版本:2019-10-22 + * 新增入参:DataOptimizationResource, SmartOptimizerWritten +* [CreateHiveTableByDDL](https://cloud.tencent.com/document/api/1267/82524) + * 新增入参:DataOptimizationResource, SmartOptimizerWritten -## 私有网络(vpc) 版本:2017-03-12 +* [GenHiveTableDDLSql](https://cloud.tencent.com/document/api/1267/82483) -### 第 240 次发布 + * 新增入参:Env -发布时间:2025-01-09 01:31:10 -本次发布包含了以下内容: +修改数据结构: -改善已有的文档。 +* [AlarmIndicatorInfo](https://cloud.tencent.com/document/api/1267/76336#AlarmIndicatorInfo) -修改数据结构: + * 新增成员:IndicatorTimeRangeUnit, IndicatorTimeRangeValue -* [PeerConnection](https://cloud.tencent.com/document/api/215/15824#PeerConnection) +* [TaskAlarmInfo](https://cloud.tencent.com/document/api/1267/76336#TaskAlarmInfo) - * 新增成员:DestinationVpcId + * 新增成员:BusinessType @@ -1151,6 +1040,19 @@ ## 大模型图像创作引擎(aiart) 版本:2022-12-29 +### 第 18 次发布 + +发布时间:2025-01-10 01:07:23 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[QueryMemeJob](https://cloud.tencent.com/document/api/1668/115593)](https://cloud.tencent.com/document/api/#/#) +* [[SubmitMemeJob](https://cloud.tencent.com/document/api/1668/115592)](https://cloud.tencent.com/document/api/#/#) + ### 第 17 次发布 发布时间:2024-12-24 16:08:44 @@ -18665,6 +18567,21 @@ ## 云数据库 MySQL(cdb) 版本:2017-03-20 +### 第 184 次发布 + +发布时间:2025-01-10 01:09:26 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [UpgradeDBInstance](https://cloud.tencent.com/document/api/236/15876) + + * 新增入参:DataCheckSensitive + + ### 第 183 次发布 发布时间:2025-01-07 01:10:39 @@ -39574,6 +39491,36 @@ ## 消息队列 CMQ(cmq) 版本:2019-03-04 +### 第 4 次发布 + +发布时间:2025-01-10 01:11:48 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* ClearQueue +* ClearSubscriptionFilterTags +* CreateQueue +* CreateSubscribe +* CreateTopic +* DeleteQueue +* DeleteSubscribe +* DeleteTopic +* DescribeDeadLetterSourceQueues +* DescribeSubscriptionDetail +* ModifyQueueAttribute +* ModifySubscriptionAttribute +* ModifyTopicAttribute +* RewindQueue +* UnbindDeadLetter + +**删除数据结构**: + +* Subscription + ### 第 3 次发布 发布时间:2024-12-27 11:04:06 @@ -39624,23 +39571,23 @@ 新增接口: -* [ClearQueue](https://cloud.tencent.com/document/api/406/42628) -* [ClearSubscriptionFilterTags](https://cloud.tencent.com/document/api/406/42634) -* [CreateQueue](https://cloud.tencent.com/document/api/406/42627) -* [CreateSubscribe](https://cloud.tencent.com/document/api/406/42633) -* [CreateTopic](https://cloud.tencent.com/document/api/406/42639) -* [DeleteQueue](https://cloud.tencent.com/document/api/406/42626) -* [DeleteSubscribe](https://cloud.tencent.com/document/api/406/42632) -* [DeleteTopic](https://cloud.tencent.com/document/api/406/42638) -* [DescribeDeadLetterSourceQueues](https://cloud.tencent.com/document/api/406/42625) +* [ClearQueue](https://cloud.tencent.com/document/api/#/#) +* [ClearSubscriptionFilterTags](https://cloud.tencent.com/document/api/#/#) +* [CreateQueue](https://cloud.tencent.com/document/api/#/#) +* [CreateSubscribe](https://cloud.tencent.com/document/api/#/#) +* [CreateTopic](https://cloud.tencent.com/document/api/#/#) +* [DeleteQueue](https://cloud.tencent.com/document/api/#/#) +* [DeleteSubscribe](https://cloud.tencent.com/document/api/#/#) +* [DeleteTopic](https://cloud.tencent.com/document/api/#/#) +* [DescribeDeadLetterSourceQueues](https://cloud.tencent.com/document/api/#/#) * [DescribeQueueDetail](https://cloud.tencent.com/document/api/406/42624) -* [DescribeSubscriptionDetail](https://cloud.tencent.com/document/api/406/42631) +* [DescribeSubscriptionDetail](https://cloud.tencent.com/document/api/#/#) * [DescribeTopicDetail](https://cloud.tencent.com/document/api/406/42637) -* [ModifyQueueAttribute](https://cloud.tencent.com/document/api/406/42623) -* [ModifySubscriptionAttribute](https://cloud.tencent.com/document/api/406/42630) -* [ModifyTopicAttribute](https://cloud.tencent.com/document/api/406/42636) -* [RewindQueue](https://cloud.tencent.com/document/api/406/42622) -* [UnbindDeadLetter](https://cloud.tencent.com/document/api/406/42621) +* [ModifyQueueAttribute](https://cloud.tencent.com/document/api/#/#) +* [ModifySubscriptionAttribute](https://cloud.tencent.com/document/api/#/#) +* [ModifyTopicAttribute](https://cloud.tencent.com/document/api/#/#) +* [RewindQueue](https://cloud.tencent.com/document/api/#/#) +* [UnbindDeadLetter](https://cloud.tencent.com/document/api/#/#) 新增数据结构: @@ -40108,6 +40055,23 @@ ## 配置审计(config) 版本:2022-08-02 +### 第 5 次发布 + +发布时间:2025-01-10 01:11:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeAggregateDiscoveredResource](https://cloud.tencent.com/document/api/1579/115595)](https://cloud.tencent.com/document/api/#/#) +* [[ListAggregateDiscoveredResources](https://cloud.tencent.com/document/api/1579/115594)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[AggregateResourceInfo](https://cloud.tencent.com/document/api/1579/101783#AggregateResourceInfo)](https://cloud.tencent.com/document/api/1579/101783#[AggregateResourceInfo](https://cloud.tencent.com/document/api/1579/101783#AggregateResourceInfo)) + ### 第 4 次发布 发布时间:2024-12-06 01:14:06 @@ -50818,7 +50782,7 @@ 新增数据结构: -* [[TaskProgressInfo](https://cloud.tencent.com/document/api/1003/48097#TaskProgressInfo)](https://cloud.tencent.com/document/api/1003/48097#[TaskProgressInfo](https://cloud.tencent.com/document/api/1003/48097#TaskProgressInfo)) +* [TaskProgressInfo](https://cloud.tencent.com/document/api/1003/48097#TaskProgressInfo) 修改数据结构: @@ -67120,7 +67084,7 @@ 新增数据结构: -* [[ClusterRelationMeta](https://cloud.tencent.com/document/api/589/33981#ClusterRelationMeta)](https://cloud.tencent.com/document/api/589/33981#[ClusterRelationMeta](https://cloud.tencent.com/document/api/589/33981#ClusterRelationMeta)) +* [ClusterRelationMeta](https://cloud.tencent.com/document/api/589/33981#ClusterRelationMeta) 修改数据结构: @@ -83776,6 +83740,22 @@ ## 高性能应用服务(hai) 版本:2023-08-12 +### 第 10 次发布 + +发布时间:2025-01-10 01:17:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeMuskPrompts](https://cloud.tencent.com/document/api/1721/115596)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[MuskPromptInfo](https://cloud.tencent.com/document/api/1721/101518#MuskPromptInfo)](https://cloud.tencent.com/document/api/1721/101518#[MuskPromptInfo](https://cloud.tencent.com/document/api/1721/101518#MuskPromptInfo)) + ### 第 9 次发布 发布时间:2025-01-09 01:19:02 @@ -83786,7 +83766,7 @@ 新增接口: -* [[CreateMuskPrompt](https://cloud.tencent.com/document/api/1721/115529)](https://cloud.tencent.com/document/api/#/#) +* [CreateMuskPrompt](https://cloud.tencent.com/document/api/1721/115529) ### 第 8 次发布 @@ -88093,6 +88073,32 @@ ## 物联网开发平台(iotexplorer) 版本:2019-04-23 +### 第 91 次发布 + +发布时间:2025-01-10 01:18:24 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeActivateDevice](https://cloud.tencent.com/document/api/1081/115600)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeActivateLicenseService](https://cloud.tencent.com/document/api/1081/115599)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeFreeCloudStorageNum](https://cloud.tencent.com/document/api/1081/115597)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeVideoLicense](https://cloud.tencent.com/document/api/1081/115598)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[ActivateDeviceInfo](https://cloud.tencent.com/document/api/1081/34988#ActivateDeviceInfo)](https://cloud.tencent.com/document/api/1081/34988#[ActivateDeviceInfo](https://cloud.tencent.com/document/api/1081/34988#ActivateDeviceInfo)) +* [[CloudStoragePackageInfo](https://cloud.tencent.com/document/api/1081/34988#CloudStoragePackageInfo)](https://cloud.tencent.com/document/api/1081/34988#[CloudStoragePackageInfo](https://cloud.tencent.com/document/api/1081/34988#CloudStoragePackageInfo)) +* [[DeviceActivationDetail](https://cloud.tencent.com/document/api/1081/34988#DeviceActivationDetail)](https://cloud.tencent.com/document/api/1081/34988#[DeviceActivationDetail](https://cloud.tencent.com/document/api/1081/34988#DeviceActivationDetail)) +* [[LicenseServiceNumInfo](https://cloud.tencent.com/document/api/1081/34988#LicenseServiceNumInfo)](https://cloud.tencent.com/document/api/1081/34988#[LicenseServiceNumInfo](https://cloud.tencent.com/document/api/1081/34988#LicenseServiceNumInfo)) +* [[RegisteredDeviceNetTypeInfo](https://cloud.tencent.com/document/api/1081/34988#RegisteredDeviceNetTypeInfo)](https://cloud.tencent.com/document/api/1081/34988#[RegisteredDeviceNetTypeInfo](https://cloud.tencent.com/document/api/1081/34988#RegisteredDeviceNetTypeInfo)) +* [[RegisteredDeviceTypeInfo](https://cloud.tencent.com/document/api/1081/34988#RegisteredDeviceTypeInfo)](https://cloud.tencent.com/document/api/1081/34988#[RegisteredDeviceTypeInfo](https://cloud.tencent.com/document/api/1081/34988#RegisteredDeviceTypeInfo)) +* [[TWeCallLicenseInfo](https://cloud.tencent.com/document/api/1081/34988#TWeCallLicenseInfo)](https://cloud.tencent.com/document/api/1081/34988#[TWeCallLicenseInfo](https://cloud.tencent.com/document/api/1081/34988#TWeCallLicenseInfo)) +* [[VideoLicenseEntity](https://cloud.tencent.com/document/api/1081/34988#VideoLicenseEntity)](https://cloud.tencent.com/document/api/1081/34988#[VideoLicenseEntity](https://cloud.tencent.com/document/api/1081/34988#VideoLicenseEntity)) + ### 第 90 次发布 发布时间:2025-01-07 01:18:58 @@ -90753,6 +90759,22 @@ ## 物联网智能视频服务(iotvideo) 版本:2021-11-25 +### 第 33 次发布 + +发布时间:2025-01-10 01:19:02 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeFreeCloudStorageNum](https://cloud.tencent.com/document/api/1131/115601)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[CloudStoragePackageInfo](https://cloud.tencent.com/document/api/1131/76635#CloudStoragePackageInfo)](https://cloud.tencent.com/document/api/1131/76635#[CloudStoragePackageInfo](https://cloud.tencent.com/document/api/1131/76635#CloudStoragePackageInfo)) + ### 第 32 次发布 发布时间:2024-12-17 01:35:29 @@ -113475,7 +113497,7 @@ 修改接口: -* [IDCardOCR](https://cloud.tencent.com/document/api/866/33524) +* [IDCardOCR](https://cloud.tencent.com/document/api/#/#) * 新增入参:EnableDateVerify @@ -114234,7 +114256,7 @@ 修改接口: -* [IDCardOCR](https://cloud.tencent.com/document/api/866/33524) +* [IDCardOCR](https://cloud.tencent.com/document/api/#/#) * 新增入参:EnableReflectDetail @@ -114437,7 +114459,7 @@ 修改接口: -* [IDCardOCR](https://cloud.tencent.com/document/api/866/33524) +* [IDCardOCR](https://cloud.tencent.com/document/api/#/#) * 新增入参:EnableRecognitionRectify @@ -116519,7 +116541,7 @@ * [GeneralBasicOCR](https://cloud.tencent.com/document/api/866/33526) * [GeneralFastOCR](https://cloud.tencent.com/document/api/866/33525) -* [IDCardOCR](https://cloud.tencent.com/document/api/866/33524) +* [IDCardOCR](https://cloud.tencent.com/document/api/#/#) 新增数据结构: @@ -118588,8 +118610,8 @@ 新增接口: -* [[DescribeMaintainTimeWindow](https://cloud.tencent.com/document/api/409/115531)](https://cloud.tencent.com/document/api/#/#) -* [[ModifyMaintainTimeWindow](https://cloud.tencent.com/document/api/409/115530)](https://cloud.tencent.com/document/api/#/#) +* [DescribeMaintainTimeWindow](https://cloud.tencent.com/document/api/409/115531) +* [ModifyMaintainTimeWindow](https://cloud.tencent.com/document/api/409/115530) ### 第 46 次发布 @@ -125207,6 +125229,32 @@ ## 短信(sms) 版本:2019-07-11 +### 第 10 次发布 + +发布时间:2025-01-10 01:24:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [AddSmsSign](https://cloud.tencent.com/document/api/382/41146) + + * 新增入参:QualificationId + +* [ModifySmsSign](https://cloud.tencent.com/document/api/382/41144) + + * 新增入参:QualificationId + + +修改数据结构: + +* [DescribeSignListStatus](https://cloud.tencent.com/document/api/382/38779#DescribeSignListStatus) + + * 新增成员:QualificationId, QualificationName, QualificationStatusCode + + ### 第 9 次发布 发布时间:2020-07-02 08:15:59 @@ -125409,6 +125457,32 @@ ## 短信(sms) 版本:2021-01-11 +### 第 6 次发布 + +发布时间:2025-01-10 01:24:22 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [AddSmsSign](https://cloud.tencent.com/document/api/382/55971) + + * 新增入参:QualificationId + +* [ModifySmsSign](https://cloud.tencent.com/document/api/382/55968) + + * 新增入参:QualificationId + + +修改数据结构: + +* [DescribeSignListStatus](https://cloud.tencent.com/document/api/382/52068#DescribeSignListStatus) + + * 新增成员:QualificationId, QualificationName, QualificationStatusCode + + ### 第 5 次发布 发布时间:2022-08-17 06:36:01 @@ -132555,7 +132629,7 @@ 新增数据结构: -* [[CloudBaseRunVersionPod](https://cloud.tencent.com/document/api/876/34822#CloudBaseRunVersionPod)](https://cloud.tencent.com/document/api/876/34822#[CloudBaseRunVersionPod](https://cloud.tencent.com/document/api/876/34822#CloudBaseRunVersionPod)) +* [CloudBaseRunVersionPod](https://cloud.tencent.com/document/api/876/34822#CloudBaseRunVersionPod) 修改数据结构: @@ -158383,6 +158457,21 @@ ## 远程实时操控(trro) 版本:2022-03-25 +### 第 8 次发布 + +发布时间:2025-01-10 01:28:09 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [Device](https://cloud.tencent.com/document/api/1584/89828#Device) + + * 新增成员:LimitedTime + + ### 第 7 次发布 发布时间:2024-11-14 02:13:50 @@ -160362,6 +160451,25 @@ ## 微服务引擎(tse) 版本:2020-12-07 +### 第 86 次发布 + +发布时间:2025-01-10 01:28:23 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [GovernanceNamespaceInput](https://cloud.tencent.com/document/api/1364/54942#GovernanceNamespaceInput) + + * 新增成员:SyncToGlobalRegistry + +* [GovernanceServiceInput](https://cloud.tencent.com/document/api/1364/54942#GovernanceServiceInput) + + * 新增成员:SyncToGlobalRegistry + + ### 第 85 次发布 发布时间:2024-12-31 01:32:20 @@ -180287,6 +180395,40 @@ ## 数据开发治理平台 WeData(wedata) 版本:2021-08-20 +### 第 119 次发布 + +发布时间:2025-01-10 01:31:06 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateHiveTable](https://cloud.tencent.com/document/api/1267/82525) + + * 新增入参:DataOptimizationResource, SmartOptimizerWritten + +* [CreateHiveTableByDDL](https://cloud.tencent.com/document/api/1267/82524) + + * 新增入参:DataOptimizationResource, SmartOptimizerWritten + +* [GenHiveTableDDLSql](https://cloud.tencent.com/document/api/1267/82483) + + * 新增入参:Env + + +修改数据结构: + +* [AlarmIndicatorInfo](https://cloud.tencent.com/document/api/1267/76336#AlarmIndicatorInfo) + + * 新增成员:IndicatorTimeRangeUnit, IndicatorTimeRangeValue + +* [TaskAlarmInfo](https://cloud.tencent.com/document/api/1267/76336#TaskAlarmInfo) + + * 新增成员:BusinessType + + ### 第 118 次发布 发布时间:2025-01-07 01:32:10 diff --git a/products.md b/products.md index 0ff9187ce4..06a5f5eeab 100644 --- a/products.md +++ b/products.md @@ -7,7 +7,7 @@ | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2024-10-15 01:02:26 | | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-11-22 11:20:38 | | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-05-31 01:07:25 | -| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2025-01-09 01:08:40 | +| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2025-01-10 01:07:23 | | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 | | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2025-01-08 01:09:45 | | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 | @@ -21,7 +21,7 @@ | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2024-11-21 01:05:01 | | asw | [应用与服务编排工作流](https://cloud.tencent.com/document/product/1272) | 2023-05-18 01:04:02 | | ba | [ICP备案](https://cloud.tencent.com/document/product/243) | 2024-12-19 01:10:53 | -| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2024-12-27 10:51:28 | +| batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2025-01-10 01:08:10 | | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2024-11-14 01:10:31 | | bh | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2025-01-09 01:09:37 | | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2024-12-20 01:07:23 | @@ -41,9 +41,9 @@ | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-10-23 01:09:56 | | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-12-27 10:53:11 | | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-11-15 01:13:36 | -| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2025-01-03 01:10:33 | +| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2025-01-10 01:09:12 | | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2025-01-08 01:11:38 | -| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2025-01-07 01:10:39 | +| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2025-01-10 01:09:26 | | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-11-15 01:15:46 | | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-12-09 11:17:22 | | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-11-08 01:17:02 | @@ -53,7 +53,7 @@ | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-11-14 01:17:55 | | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-12-27 10:54:56 | | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2025-01-09 01:11:42 | -| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-12-09 11:19:12 | +| cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2025-01-10 01:10:30 | | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2024-12-27 10:55:07 | | ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2024-10-28 01:19:38 | | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 | @@ -67,14 +67,14 @@ | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-12-27 10:55:16 | | cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2025-01-09 01:12:45 | | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-09-25 01:13:30 | -| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-12-30 01:21:08 | +| cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2025-01-10 01:11:48 | | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-06-20 01:24:47 | -| config | [配置审计](https://cloud.tencent.com/document/product/1579) | 2024-12-25 01:22:32 | +| config | [配置审计](https://cloud.tencent.com/document/product/1579) | 2025-01-10 01:11:51 | | controlcenter | [控制中心](https://cloud.tencent.com/document/product/1708) | 2024-10-24 01:13:25 | | cpdp | [企业收付平台](https://cloud.tencent.com/document/product/1122) | 2023-09-21 02:09:54 | -| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-12-26 18:44:26 | +| csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2025-01-10 01:11:55 | | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 | -| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2025-01-03 01:13:42 | +| cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2025-01-10 01:12:17 | | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2025-01-01 01:14:11 | | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 | | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2025-01-09 01:14:38 | @@ -96,13 +96,13 @@ | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-12-26 01:31:46 | | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2024-09-05 01:32:54 | | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2024-10-22 01:18:29 | -| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2025-01-08 01:17:46 | +| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2025-01-10 01:15:40 | | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2024-06-25 01:14:34 | | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 | | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2025-01-09 01:17:15 | | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-12-11 01:33:45 | -| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2025-01-09 01:17:49 | -| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2025-01-09 01:18:08 | +| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2025-01-10 01:16:29 | +| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2025-01-10 01:16:57 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-12-26 01:36:01 | | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-12-27 11:12:08 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-12-25 01:36:47 | @@ -115,7 +115,7 @@ | gse | [游戏服务器伸缩](https://cloud.tencent.com/document/product/1165) | 2022-07-11 06:12:44 | | gwlb | [网关负载均衡](https://cloud.tencent.com/document/product/1782) | 2025-01-09 01:18:59 | | habo | [](https://cloud.tencent.com/document/product) | 2019-05-09 19:37:22 | -| hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2025-01-09 01:19:02 | +| hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2025-01-10 01:17:51 | | hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 | | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2024-05-09 01:16:27 | | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2025-01-08 01:19:41 | @@ -131,9 +131,9 @@ | ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-11-11 01:39:45 | | iot | [加速物联网套件](https://cloud.tencent.com/document/product/568) | 2023-07-17 01:22:28 | | iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2024-06-05 01:47:50 | -| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2025-01-07 01:18:58 | +| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2025-01-10 01:18:24 | | iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 | -| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-12-17 01:35:29 | +| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2025-01-10 01:19:02 | | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2025-01-01 01:21:21 | | irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2024-10-17 01:22:29 | | iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2024-12-24 01:40:55 | @@ -144,7 +144,7 @@ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2025-01-06 01:20:05 | | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-12-31 01:22:41 | | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2025-01-07 01:21:13 | -| lkeap | [知识引擎原子能力](https://cloud.tencent.com/document/product/1772) | 2025-01-08 01:22:43 | +| lkeap | [知识引擎原子能力](https://cloud.tencent.com/document/product/1772) | 2025-01-10 01:20:52 | | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 | | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 | | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 | @@ -153,7 +153,7 @@ | memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2024-12-16 01:45:51 | | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 | | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-11-11 01:49:22 | -| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2025-01-07 01:22:17 | +| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2025-01-10 01:21:09 | | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2025-01-09 01:22:22 | | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2025-01-07 01:22:34 | | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-12-31 01:24:25 | @@ -174,7 +174,7 @@ | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-12-24 01:52:16 | | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2025-01-01 01:26:11 | | rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-12-04 01:27:22 | -| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2025-01-09 01:24:46 | +| redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2025-01-10 01:23:39 | | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-12-20 01:49:24 | | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 | | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 | @@ -184,7 +184,7 @@ | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-12-17 01:50:10 | | smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2024-10-31 02:02:47 | | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2024-07-09 01:21:06 | -| sms | [短信](https://cloud.tencent.com/document/product/382) | 2024-12-26 16:48:49 | +| sms | [短信](https://cloud.tencent.com/document/product/382) | 2025-01-10 01:24:22 | | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2024-11-13 02:01:41 | | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 | | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2025-01-07 01:25:35 | @@ -203,13 +203,13 @@ | tbm | [](https://cloud.tencent.com/document/product) | 2019-03-29 14:49:11 | | tbp | [腾讯智能对话平台](https://cloud.tencent.com/document/product/1060) | 2024-03-20 01:24:24 | | tcaplusdb | [游戏数据库 TcaplusDB](https://cloud.tencent.com/document/product/596) | 2024-08-05 02:05:20 | -| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2025-01-09 01:26:32 | +| tcb | [云开发 CloudBase](https://cloud.tencent.com/document/product/876) | 2025-01-10 01:25:27 | | tcbr | [云托管 CloudBase Run](https://cloud.tencent.com/document/product/1243) | 2025-01-08 01:27:40 | | tcex | [腾讯云释义](https://cloud.tencent.com/document/product/1266) | 2022-07-21 06:17:29 | | tchd | [腾讯云健康看板](https://cloud.tencent.com/document/product/1688) | 2024-11-21 02:00:04 | | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 | | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2025-01-06 01:25:44 | -| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2025-01-09 01:26:55 | +| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2025-01-10 01:25:47 | | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-11-04 02:03:35 | | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-07-10 01:25:35 | | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-12-19 02:00:31 | @@ -234,9 +234,9 @@ | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 | | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2025-01-06 01:28:18 | | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-11-08 02:10:59 | -| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-12-27 11:23:20 | -| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2025-01-09 01:29:22 | -| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-12-31 01:32:20 | +| trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2025-01-10 01:28:09 | +| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2025-01-10 01:28:13 | +| tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2025-01-10 01:28:23 | | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-12-30 02:06:44 | | tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-10-23 01:36:51 | | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2024-03-20 01:30:06 | @@ -249,12 +249,12 @@ | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 | | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 | | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-11-18 02:09:13 | -| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2025-01-09 01:31:10 | +| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2025-01-10 01:29:49 | | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-12-19 02:13:39 | | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-10-16 01:32:39 | | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2025-01-06 01:30:59 | | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2024-11-20 02:21:21 | -| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2025-01-07 01:32:10 | +| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2025-01-10 01:31:06 | | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-11-07 02:23:06 | | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 | | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2024-06-05 02:38:46 | diff --git a/tencentcloud/aa/go.mod b/tencentcloud/aa/go.mod index ed552ff387..b8f86dd539 100644 --- a/tencentcloud/aa/go.mod +++ b/tencentcloud/aa/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aa go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/aai/go.mod b/tencentcloud/aai/go.mod index cf7c32cbc0..d420c69f45 100644 --- a/tencentcloud/aai/go.mod +++ b/tencentcloud/aai/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aai go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/aca/go.mod b/tencentcloud/aca/go.mod index 718ccdfe46..d668a56558 100644 --- a/tencentcloud/aca/go.mod +++ b/tencentcloud/aca/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aca go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/acp/go.mod b/tencentcloud/acp/go.mod index d72e5061a3..6a9ed0f61c 100644 --- a/tencentcloud/acp/go.mod +++ b/tencentcloud/acp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/acp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/advisor/go.mod b/tencentcloud/advisor/go.mod index ef40c849b1..be756bee32 100644 --- a/tencentcloud/advisor/go.mod +++ b/tencentcloud/advisor/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/advisor go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/af/go.mod b/tencentcloud/af/go.mod index 49c625790b..ad3a99e6a5 100644 --- a/tencentcloud/af/go.mod +++ b/tencentcloud/af/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/af go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/afc/go.mod b/tencentcloud/afc/go.mod index 7f917f1569..856ee825c1 100644 --- a/tencentcloud/afc/go.mod +++ b/tencentcloud/afc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/afc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/aiart/go.mod b/tencentcloud/aiart/go.mod index 1429df160d..b77d04fab9 100644 --- a/tencentcloud/aiart/go.mod +++ b/tencentcloud/aiart/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/aiart go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/aiart/v20221229/client.go b/tencentcloud/aiart/v20221229/client.go index ea50943477..b4ef43c5d1 100644 --- a/tencentcloud/aiart/v20221229/client.go +++ b/tencentcloud/aiart/v20221229/client.go @@ -659,6 +659,75 @@ func (c *Client) QueryDrawPortraitJobWithContext(ctx context.Context, request *Q return } +func NewQueryMemeJobRequest() (request *QueryMemeJobRequest) { + request = &QueryMemeJobRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("aiart", APIVersion, "QueryMemeJob") + + + return +} + +func NewQueryMemeJobResponse() (response *QueryMemeJobResponse) { + response = &QueryMemeJobResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// QueryMemeJob +// 表情动图生成接口将静态照片制作成动态的表情包。分为提交任务和查询任务2个接口。 +// +// - 提交任务:提交一个表情动图生成异步任务,获得任务 ID。 +// +// - 查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。 +// +// +// +// 表情动图生成默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。 +// +// 可能返回的错误码: +// FAILEDOPERATION_JOBNOTEXIST = "FailedOperation.JobNotExist" +// FAILEDOPERATION_SERVERERROR = "FailedOperation.ServerError" +// OPERATIONDENIED_IMAGEILLEGALDETECTED = "OperationDenied.ImageIllegalDetected" +func (c *Client) QueryMemeJob(request *QueryMemeJobRequest) (response *QueryMemeJobResponse, err error) { + return c.QueryMemeJobWithContext(context.Background(), request) +} + +// QueryMemeJob +// 表情动图生成接口将静态照片制作成动态的表情包。分为提交任务和查询任务2个接口。 +// +// - 提交任务:提交一个表情动图生成异步任务,获得任务 ID。 +// +// - 查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。 +// +// +// +// 表情动图生成默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。 +// +// 可能返回的错误码: +// FAILEDOPERATION_JOBNOTEXIST = "FailedOperation.JobNotExist" +// FAILEDOPERATION_SERVERERROR = "FailedOperation.ServerError" +// OPERATIONDENIED_IMAGEILLEGALDETECTED = "OperationDenied.ImageIllegalDetected" +func (c *Client) QueryMemeJobWithContext(ctx context.Context, request *QueryMemeJobRequest) (response *QueryMemeJobResponse, err error) { + if request == nil { + request = NewQueryMemeJobRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("QueryMemeJob require credential") + } + + request.SetContext(ctx) + + response = NewQueryMemeJobResponse() + err = c.Send(request, response) + return +} + func NewQueryTextToImageProJobRequest() (request *QueryTextToImageProJobRequest) { request = &QueryTextToImageProJobRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -1104,6 +1173,79 @@ func (c *Client) SubmitDrawPortraitJobWithContext(ctx context.Context, request * return } +func NewSubmitMemeJobRequest() (request *SubmitMemeJobRequest) { + request = &SubmitMemeJobRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("aiart", APIVersion, "SubmitMemeJob") + + + return +} + +func NewSubmitMemeJobResponse() (response *SubmitMemeJobResponse) { + response = &SubmitMemeJobResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// SubmitMemeJob +// 表情动图生成接口将静态照片制作成动态的表情包。分为提交任务和查询任务2个接口。 +// +// +// +// - 提交任务:提交一个表情动图生成异步任务,获得任务 ID。 +// +// - 查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。 +// +// +// +// 表情动图生成默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。 +// +// 可能返回的错误码: +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" +func (c *Client) SubmitMemeJob(request *SubmitMemeJobRequest) (response *SubmitMemeJobResponse, err error) { + return c.SubmitMemeJobWithContext(context.Background(), request) +} + +// SubmitMemeJob +// 表情动图生成接口将静态照片制作成动态的表情包。分为提交任务和查询任务2个接口。 +// +// +// +// - 提交任务:提交一个表情动图生成异步任务,获得任务 ID。 +// +// - 查询任务:根据任务 ID 查询任务的处理状态、处理结果,任务处理完成后可获得生成图像结果。 +// +// +// +// 表情动图生成默认提供1个并发,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。 +// +// 可能返回的错误码: +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" +func (c *Client) SubmitMemeJobWithContext(ctx context.Context, request *SubmitMemeJobRequest) (response *SubmitMemeJobResponse, err error) { + if request == nil { + request = NewSubmitMemeJobRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("SubmitMemeJob require credential") + } + + request.SetContext(ctx) + + response = NewSubmitMemeJobResponse() + err = c.Send(request, response) + return +} + func NewSubmitTextToImageProJobRequest() (request *SubmitTextToImageProJobRequest) { request = &SubmitTextToImageProJobRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/aiart/v20221229/models.go b/tencentcloud/aiart/v20221229/models.go index b7b27c1ab1..0f9cc77a11 100644 --- a/tencentcloud/aiart/v20221229/models.go +++ b/tencentcloud/aiart/v20221229/models.go @@ -843,6 +843,76 @@ func (r *QueryDrawPortraitJobResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type QueryMemeJobRequestParams struct { + // 查询表情动图生成任务 ID。 + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` +} + +type QueryMemeJobRequest struct { + *tchttp.BaseRequest + + // 查询表情动图生成任务 ID。 + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` +} + +func (r *QueryMemeJobRequest) 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 *QueryMemeJobRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "JobId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "QueryMemeJobRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type QueryMemeJobResponseParams struct { + // 当前任务状态码: + // 1:等待中、2:运行中、4:处理失败、5:处理完成。 + JobStatusCode *string `json:"JobStatusCode,omitnil,omitempty" name:"JobStatusCode"` + + // 当前任务状态:排队中、处理中、处理失败或者处理完成。 + JobStatusMsg *string `json:"JobStatusMsg,omitnil,omitempty" name:"JobStatusMsg"` + + // 任务处理失败错误码。 + JobErrorCode *string `json:"JobErrorCode,omitnil,omitempty" name:"JobErrorCode"` + + // 任务处理失败错误信息。 + JobErrorMsg *string `json:"JobErrorMsg,omitnil,omitempty" name:"JobErrorMsg"` + + // 生成图 URL,有效期1小时,请及时保存。 + ResultImage *string `json:"ResultImage,omitnil,omitempty" name:"ResultImage"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type QueryMemeJobResponse struct { + *tchttp.BaseResponse + Response *QueryMemeJobResponseParams `json:"Response"` +} + +func (r *QueryMemeJobResponse) 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 *QueryMemeJobResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type QueryTextToImageProJobRequestParams struct { // 任务 ID。 @@ -1371,6 +1441,148 @@ func (r *SubmitDrawPortraitJobResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type SubmitMemeJobRequestParams struct { + // 表情模板。 + // 请在 [表情动图模板列表](https://cloud.tencent.com/document/product/1668/115327) 中选择期望的模板,传入 Pose 名称。 + Pose *string `json:"Pose,omitnil,omitempty" name:"Pose"` + + // 人像参考图 Base64 数据。 + // Base64 和 Url 必须提供一个,如果都提供以 Url 为准。 + // 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。 + InputImage *string `json:"InputImage,omitnil,omitempty" name:"InputImage"` + + // 人像参考图 Url。 + // Base64 和 Url 必须提供一个,如果都提供以 Url 为准。 + // 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。 + InputUrl *string `json:"InputUrl,omitnil,omitempty" name:"InputUrl"` + + // 生成分辨率。 + // 真人类型支持256、512,默认为256, + // 卡通类型仅支持512。 + Resolution *int64 `json:"Resolution,omitnil,omitempty" name:"Resolution"` + + // 自定义文案。 + // 仅对真人类型的 Pose 生效,将在生成的表情动图中显示指定的文字。如果传入的字符串长度大于10,只截取前10个显示。 + // 如果不传,默认使用自带的文案。 + // 如果 text = "" 空字符串,代表不在表情动图中添加文案。 + Text *string `json:"Text,omitnil,omitempty" name:"Text"` + + // 头发遮罩开关。 + // true:裁剪过长的头发。 + // false:不裁剪过长的头发。 + // 仅对卡通类型的 Pose 生效,默认为 false。 + Haircut *bool `json:"Haircut,omitnil,omitempty" name:"Haircut"` + + // 为生成结果图添加标识的开关,默认为1。 + // 1:添加标识。 + // 0:不添加标识。 + // 其他数值:默认按1处理。 + // 建议您使用显著标识来提示结果图是 AI 生成的图片。 + LogoAdd *int64 `json:"LogoAdd,omitnil,omitempty" name:"LogoAdd"` + + // 标识内容设置。 + // 默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。 + LogoParam *LogoParam `json:"LogoParam,omitnil,omitempty" name:"LogoParam"` +} + +type SubmitMemeJobRequest struct { + *tchttp.BaseRequest + + // 表情模板。 + // 请在 [表情动图模板列表](https://cloud.tencent.com/document/product/1668/115327) 中选择期望的模板,传入 Pose 名称。 + Pose *string `json:"Pose,omitnil,omitempty" name:"Pose"` + + // 人像参考图 Base64 数据。 + // Base64 和 Url 必须提供一个,如果都提供以 Url 为准。 + // 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。 + InputImage *string `json:"InputImage,omitnil,omitempty" name:"InputImage"` + + // 人像参考图 Url。 + // Base64 和 Url 必须提供一个,如果都提供以 Url 为准。 + // 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。 + InputUrl *string `json:"InputUrl,omitnil,omitempty" name:"InputUrl"` + + // 生成分辨率。 + // 真人类型支持256、512,默认为256, + // 卡通类型仅支持512。 + Resolution *int64 `json:"Resolution,omitnil,omitempty" name:"Resolution"` + + // 自定义文案。 + // 仅对真人类型的 Pose 生效,将在生成的表情动图中显示指定的文字。如果传入的字符串长度大于10,只截取前10个显示。 + // 如果不传,默认使用自带的文案。 + // 如果 text = "" 空字符串,代表不在表情动图中添加文案。 + Text *string `json:"Text,omitnil,omitempty" name:"Text"` + + // 头发遮罩开关。 + // true:裁剪过长的头发。 + // false:不裁剪过长的头发。 + // 仅对卡通类型的 Pose 生效,默认为 false。 + Haircut *bool `json:"Haircut,omitnil,omitempty" name:"Haircut"` + + // 为生成结果图添加标识的开关,默认为1。 + // 1:添加标识。 + // 0:不添加标识。 + // 其他数值:默认按1处理。 + // 建议您使用显著标识来提示结果图是 AI 生成的图片。 + LogoAdd *int64 `json:"LogoAdd,omitnil,omitempty" name:"LogoAdd"` + + // 标识内容设置。 + // 默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。 + LogoParam *LogoParam `json:"LogoParam,omitnil,omitempty" name:"LogoParam"` +} + +func (r *SubmitMemeJobRequest) 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 *SubmitMemeJobRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Pose") + delete(f, "InputImage") + delete(f, "InputUrl") + delete(f, "Resolution") + delete(f, "Text") + delete(f, "Haircut") + delete(f, "LogoAdd") + delete(f, "LogoParam") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "SubmitMemeJobRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type SubmitMemeJobResponseParams struct { + // 任务id + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type SubmitMemeJobResponse struct { + *tchttp.BaseResponse + Response *SubmitMemeJobResponseParams `json:"Response"` +} + +func (r *SubmitMemeJobResponse) 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 *SubmitMemeJobResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type SubmitTextToImageProJobRequestParams struct { // 文本描述。 diff --git a/tencentcloud/ame/go.mod b/tencentcloud/ame/go.mod index 72b5515ea7..a7869b681a 100644 --- a/tencentcloud/ame/go.mod +++ b/tencentcloud/ame/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ame go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ams/go.mod b/tencentcloud/ams/go.mod index ff0b1518cd..02e495ad19 100644 --- a/tencentcloud/ams/go.mod +++ b/tencentcloud/ams/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ams go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/anicloud/go.mod b/tencentcloud/anicloud/go.mod index 0235189b97..2a2aac8e93 100644 --- a/tencentcloud/anicloud/go.mod +++ b/tencentcloud/anicloud/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/anicloud go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/antiddos/go.mod b/tencentcloud/antiddos/go.mod index 9dcbbad8c4..a16bcc5c17 100644 --- a/tencentcloud/antiddos/go.mod +++ b/tencentcloud/antiddos/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/antiddos go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/apcas/go.mod b/tencentcloud/apcas/go.mod index c230d2f0f7..9aa4d3ea48 100644 --- a/tencentcloud/apcas/go.mod +++ b/tencentcloud/apcas/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apcas go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ape/go.mod b/tencentcloud/ape/go.mod index e2e332971c..565f9dc3ad 100644 --- a/tencentcloud/ape/go.mod +++ b/tencentcloud/ape/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ape go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/api/go.mod b/tencentcloud/api/go.mod index 24ed1b6927..b512b6bdae 100644 --- a/tencentcloud/api/go.mod +++ b/tencentcloud/api/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/api go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/apigateway/go.mod b/tencentcloud/apigateway/go.mod index 0bef8f0ff0..e6b2daa6b6 100644 --- a/tencentcloud/apigateway/go.mod +++ b/tencentcloud/apigateway/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apigateway go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/apm/go.mod b/tencentcloud/apm/go.mod index 4f2fd11104..e33be97b48 100644 --- a/tencentcloud/apm/go.mod +++ b/tencentcloud/apm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/apm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/as/go.mod b/tencentcloud/as/go.mod index 36efeba7d4..fe192daa5a 100644 --- a/tencentcloud/as/go.mod +++ b/tencentcloud/as/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/as go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/asr/go.mod b/tencentcloud/asr/go.mod index 8446a14399..f22243ff81 100644 --- a/tencentcloud/asr/go.mod +++ b/tencentcloud/asr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/asw/go.mod b/tencentcloud/asw/go.mod index b351c83e8e..f07d385868 100644 --- a/tencentcloud/asw/go.mod +++ b/tencentcloud/asw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/asw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ba/go.mod b/tencentcloud/ba/go.mod index dc4d64bb4e..990dac19ac 100644 --- a/tencentcloud/ba/go.mod +++ b/tencentcloud/ba/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ba go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/batch/go.mod b/tencentcloud/batch/go.mod index f1655def1f..72b8efa9fe 100644 --- a/tencentcloud/batch/go.mod +++ b/tencentcloud/batch/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/batch go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/batch/v20170312/models.go b/tencentcloud/batch/v20170312/models.go index 133538dd25..8e985d293b 100644 --- a/tencentcloud/batch/v20170312/models.go +++ b/tencentcloud/batch/v20170312/models.go @@ -3183,7 +3183,7 @@ type SystemDisk struct { //
  • CLOUD_BASIC:普通云硬盘
  • //
  • CLOUD_SSD:SSD云硬盘
  • //
  • CLOUD_PREMIUM:高性能云硬盘
  • - //
  • CLOUD_BSSD:通用性SSD云硬盘
  • + //
  • CLOUD_BSSD:通用型SSD云硬盘
  • //
  • CLOUD_HSSD:增强型SSD云硬盘
  • //
  • CLOUD_TSSD:极速型SSD云硬盘

  • // 默认取值:当前有库存的硬盘类型。 diff --git a/tencentcloud/bda/go.mod b/tencentcloud/bda/go.mod index f6b887b293..c5deef267d 100644 --- a/tencentcloud/bda/go.mod +++ b/tencentcloud/bda/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bda go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/bh/go.mod b/tencentcloud/bh/go.mod index 46de5f8d59..dd7bbc16ac 100644 --- a/tencentcloud/bh/go.mod +++ b/tencentcloud/bh/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bh go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/bi/go.mod b/tencentcloud/bi/go.mod index 47fb20d7e8..f535af789b 100644 --- a/tencentcloud/bi/go.mod +++ b/tencentcloud/bi/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bi go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/billing/go.mod b/tencentcloud/billing/go.mod index f20c127db4..a5e4450965 100644 --- a/tencentcloud/billing/go.mod +++ b/tencentcloud/billing/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/billing go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/bizlive/go.mod b/tencentcloud/bizlive/go.mod index 12397763ea..58d9621ae7 100644 --- a/tencentcloud/bizlive/go.mod +++ b/tencentcloud/bizlive/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bizlive go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/bm/go.mod b/tencentcloud/bm/go.mod index 975d1ad7fc..a5ae20e051 100644 --- a/tencentcloud/bm/go.mod +++ b/tencentcloud/bm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/bma/go.mod b/tencentcloud/bma/go.mod index b3f38aa429..0ca414d16a 100644 --- a/tencentcloud/bma/go.mod +++ b/tencentcloud/bma/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bma go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/bmeip/go.mod b/tencentcloud/bmeip/go.mod index fd13383a92..169b8565ec 100644 --- a/tencentcloud/bmeip/go.mod +++ b/tencentcloud/bmeip/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmeip go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/bmlb/go.mod b/tencentcloud/bmlb/go.mod index 34de72736c..c5f0e5ec7f 100644 --- a/tencentcloud/bmlb/go.mod +++ b/tencentcloud/bmlb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmlb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/bmvpc/go.mod b/tencentcloud/bmvpc/go.mod index b5fa209b45..3ef07308ef 100644 --- a/tencentcloud/bmvpc/go.mod +++ b/tencentcloud/bmvpc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bmvpc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/bpaas/go.mod b/tencentcloud/bpaas/go.mod index eab4d05629..c35b2bcf48 100644 --- a/tencentcloud/bpaas/go.mod +++ b/tencentcloud/bpaas/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bpaas go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/bri/go.mod b/tencentcloud/bri/go.mod index 47ffdc4ed3..0d1ddbe9bb 100644 --- a/tencentcloud/bri/go.mod +++ b/tencentcloud/bri/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bri go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/bsca/go.mod b/tencentcloud/bsca/go.mod index 29d747d048..fe5453b3e6 100644 --- a/tencentcloud/bsca/go.mod +++ b/tencentcloud/bsca/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/bsca go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/btoe/go.mod b/tencentcloud/btoe/go.mod index 4fac7257e0..332c9b4a41 100644 --- a/tencentcloud/btoe/go.mod +++ b/tencentcloud/btoe/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/btoe go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ca/go.mod b/tencentcloud/ca/go.mod index 9bb949df6e..cf047d0e38 100644 --- a/tencentcloud/ca/go.mod +++ b/tencentcloud/ca/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ca go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cam/go.mod b/tencentcloud/cam/go.mod index e07ec1e3ef..a1a44d0d2d 100644 --- a/tencentcloud/cam/go.mod +++ b/tencentcloud/cam/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cam go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/captcha/go.mod b/tencentcloud/captcha/go.mod index f812dc261c..531c62db3f 100644 --- a/tencentcloud/captcha/go.mod +++ b/tencentcloud/captcha/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/captcha go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/car/go.mod b/tencentcloud/car/go.mod index 64b8b7a669..2bfe0a4ac6 100644 --- a/tencentcloud/car/go.mod +++ b/tencentcloud/car/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/car go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cat/go.mod b/tencentcloud/cat/go.mod index 060369542d..7e6ca6eaa5 100644 --- a/tencentcloud/cat/go.mod +++ b/tencentcloud/cat/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cat go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cbs/go.mod b/tencentcloud/cbs/go.mod index 4e2272ad06..5935e893ce 100644 --- a/tencentcloud/cbs/go.mod +++ b/tencentcloud/cbs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cbs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ccc/go.mod b/tencentcloud/ccc/go.mod index 8edffa842c..6db428c64e 100644 --- a/tencentcloud/ccc/go.mod +++ b/tencentcloud/ccc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ccc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cdb/go.mod b/tencentcloud/cdb/go.mod index fbdbd07efe..5eb462dede 100644 --- a/tencentcloud/cdb/go.mod +++ b/tencentcloud/cdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cdb/v20170320/models.go b/tencentcloud/cdb/v20170320/models.go index 379e55214e..9ecc375ad4 100644 --- a/tencentcloud/cdb/v20170320/models.go +++ b/tencentcloud/cdb/v20170320/models.go @@ -16759,6 +16759,14 @@ type UpgradeDBInstanceRequestParams struct { // 检查原地升级是否需要重启,1 检查, 0 不检查。如果值为1,检查为原地升级需要重启,则会停止升级并进行返回提示,如果为原地升级不重启,则正常执行升级流程。 CheckFastUpgradeReboot *int64 `json:"CheckFastUpgradeReboot,omitnil,omitempty" name:"CheckFastUpgradeReboot"` + + // 数据校验敏感度,非极速变配时使用此参数,敏感度根据当前实例规格计算迁移过程中的数据对比使用的cpu资源 + // 对应的选项为: "high"、"normal"、"low",默认为空 + // 参数详解,: + // "high": 对应控制台中的高,数据库负载过高不建议使用 + // "normal":对应控制台中的标准 + // "low":对应控制台中的低 + DataCheckSensitive *string `json:"DataCheckSensitive,omitnil,omitempty" name:"DataCheckSensitive"` } type UpgradeDBInstanceRequest struct { @@ -16823,6 +16831,14 @@ type UpgradeDBInstanceRequest struct { // 检查原地升级是否需要重启,1 检查, 0 不检查。如果值为1,检查为原地升级需要重启,则会停止升级并进行返回提示,如果为原地升级不重启,则正常执行升级流程。 CheckFastUpgradeReboot *int64 `json:"CheckFastUpgradeReboot,omitnil,omitempty" name:"CheckFastUpgradeReboot"` + + // 数据校验敏感度,非极速变配时使用此参数,敏感度根据当前实例规格计算迁移过程中的数据对比使用的cpu资源 + // 对应的选项为: "high"、"normal"、"low",默认为空 + // 参数详解,: + // "high": 对应控制台中的高,数据库负载过高不建议使用 + // "normal":对应控制台中的标准 + // "low":对应控制台中的低 + DataCheckSensitive *string `json:"DataCheckSensitive,omitnil,omitempty" name:"DataCheckSensitive"` } func (r *UpgradeDBInstanceRequest) ToJsonString() string { @@ -16856,6 +16872,7 @@ func (r *UpgradeDBInstanceRequest) FromJsonString(s string) error { delete(f, "RoTransType") delete(f, "ClusterTopology") delete(f, "CheckFastUpgradeReboot") + delete(f, "DataCheckSensitive") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UpgradeDBInstanceRequest has unknown keys!", "") } diff --git a/tencentcloud/cdc/go.mod b/tencentcloud/cdc/go.mod index 101e5c57ad..4f06e76f9f 100644 --- a/tencentcloud/cdc/go.mod +++ b/tencentcloud/cdc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cdn/go.mod b/tencentcloud/cdn/go.mod index 31326ede50..1b7d373a7c 100644 --- a/tencentcloud/cdn/go.mod +++ b/tencentcloud/cdn/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdn go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cds/go.mod b/tencentcloud/cds/go.mod index 0c07e85e37..21aa67f2e6 100644 --- a/tencentcloud/cds/go.mod +++ b/tencentcloud/cds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cdwch/go.mod b/tencentcloud/cdwch/go.mod index 42d00a88c9..11040d1e57 100644 --- a/tencentcloud/cdwch/go.mod +++ b/tencentcloud/cdwch/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwch go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cdwdoris/go.mod b/tencentcloud/cdwdoris/go.mod index 17a0b5263f..1917e57a2d 100644 --- a/tencentcloud/cdwdoris/go.mod +++ b/tencentcloud/cdwdoris/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwdoris go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cdwpg/go.mod b/tencentcloud/cdwpg/go.mod index 382fd71acc..4681a41a00 100644 --- a/tencentcloud/cdwpg/go.mod +++ b/tencentcloud/cdwpg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdwpg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cdz/go.mod b/tencentcloud/cdz/go.mod index 86ca4a086a..4bb3698a16 100644 --- a/tencentcloud/cdz/go.mod +++ b/tencentcloud/cdz/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cdz go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cfg/go.mod b/tencentcloud/cfg/go.mod index 149226023c..b91d358268 100644 --- a/tencentcloud/cfg/go.mod +++ b/tencentcloud/cfg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cfs/go.mod b/tencentcloud/cfs/go.mod index ff2323b7b9..57f0e7c97f 100644 --- a/tencentcloud/cfs/go.mod +++ b/tencentcloud/cfs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cfw/go.mod b/tencentcloud/cfw/go.mod index 28ed404635..be50633e07 100644 --- a/tencentcloud/cfw/go.mod +++ b/tencentcloud/cfw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cfw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/chdfs/go.mod b/tencentcloud/chdfs/go.mod index a2ffb373c6..4aed5f8563 100644 --- a/tencentcloud/chdfs/go.mod +++ b/tencentcloud/chdfs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/chdfs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ciam/go.mod b/tencentcloud/ciam/go.mod index 43741e2586..ead8beab73 100644 --- a/tencentcloud/ciam/go.mod +++ b/tencentcloud/ciam/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ciam go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cii/go.mod b/tencentcloud/cii/go.mod index ab7a634f04..a8fa9b3024 100644 --- a/tencentcloud/cii/go.mod +++ b/tencentcloud/cii/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cii go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cim/go.mod b/tencentcloud/cim/go.mod index b32bbb531e..23c9424a49 100644 --- a/tencentcloud/cim/go.mod +++ b/tencentcloud/cim/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cim go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cis/go.mod b/tencentcloud/cis/go.mod index 24656ea30e..312a813f28 100644 --- a/tencentcloud/cis/go.mod +++ b/tencentcloud/cis/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cis go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ckafka/go.mod b/tencentcloud/ckafka/go.mod index 2fcb95bfbe..fccb57db83 100644 --- a/tencentcloud/ckafka/go.mod +++ b/tencentcloud/ckafka/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ckafka go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/clb/go.mod b/tencentcloud/clb/go.mod index 341e738bcb..c13f439dfd 100644 --- a/tencentcloud/clb/go.mod +++ b/tencentcloud/clb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cloudapp/go.mod b/tencentcloud/cloudapp/go.mod index db2e3f3d46..3ad5cecdc1 100644 --- a/tencentcloud/cloudapp/go.mod +++ b/tencentcloud/cloudapp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudapp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cloudaudit/go.mod b/tencentcloud/cloudaudit/go.mod index ecc3afe9ad..b8f007c9d8 100644 --- a/tencentcloud/cloudaudit/go.mod +++ b/tencentcloud/cloudaudit/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudaudit go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cloudhsm/go.mod b/tencentcloud/cloudhsm/go.mod index da45b7f39c..1f24c08fb4 100644 --- a/tencentcloud/cloudhsm/go.mod +++ b/tencentcloud/cloudhsm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudhsm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cloudstudio/go.mod b/tencentcloud/cloudstudio/go.mod index b80e9f5c56..8103f28236 100644 --- a/tencentcloud/cloudstudio/go.mod +++ b/tencentcloud/cloudstudio/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cloudstudio go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cls/go.mod b/tencentcloud/cls/go.mod index bafa9107fd..59b0f65705 100644 --- a/tencentcloud/cls/go.mod +++ b/tencentcloud/cls/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cls go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cme/go.mod b/tencentcloud/cme/go.mod index dccc345fe7..6ea9c8b466 100644 --- a/tencentcloud/cme/go.mod +++ b/tencentcloud/cme/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cme go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cmq/go.mod b/tencentcloud/cmq/go.mod index 281d5dfb77..d3b6ac2c3f 100644 --- a/tencentcloud/cmq/go.mod +++ b/tencentcloud/cmq/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cmq go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cmq/v20190304/client.go b/tencentcloud/cmq/v20190304/client.go index e2347e5af7..5b9a4c8edb 100644 --- a/tencentcloud/cmq/v20190304/client.go +++ b/tencentcloud/cmq/v20190304/client.go @@ -45,1072 +45,27 @@ func NewClient(credential common.CredentialIface, region string, clientProfile * } -func NewClearQueueRequest() (request *ClearQueueRequest) { - request = &ClearQueueRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "ClearQueue") - - - return -} - -func NewClearQueueResponse() (response *ClearQueueResponse) { - response = &ClearQueueResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// ClearQueue -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 清除queue中的所有消息 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) ClearQueue(request *ClearQueueRequest) (response *ClearQueueResponse, err error) { - return c.ClearQueueWithContext(context.Background(), request) -} - -// ClearQueue -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 清除queue中的所有消息 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) ClearQueueWithContext(ctx context.Context, request *ClearQueueRequest) (response *ClearQueueResponse, err error) { - if request == nil { - request = NewClearQueueRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("ClearQueue require credential") - } - - request.SetContext(ctx) - - response = NewClearQueueResponse() - err = c.Send(request, response) - return -} - -func NewClearSubscriptionFilterTagsRequest() (request *ClearSubscriptionFilterTagsRequest) { - request = &ClearSubscriptionFilterTagsRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "ClearSubscriptionFilterTags") - - - return -} - -func NewClearSubscriptionFilterTagsResponse() (response *ClearSubscriptionFilterTagsResponse) { - response = &ClearSubscriptionFilterTagsResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// ClearSubscriptionFilterTags -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 清空订阅者消息标签 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) ClearSubscriptionFilterTags(request *ClearSubscriptionFilterTagsRequest) (response *ClearSubscriptionFilterTagsResponse, err error) { - return c.ClearSubscriptionFilterTagsWithContext(context.Background(), request) -} - -// ClearSubscriptionFilterTags -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 清空订阅者消息标签 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) ClearSubscriptionFilterTagsWithContext(ctx context.Context, request *ClearSubscriptionFilterTagsRequest) (response *ClearSubscriptionFilterTagsResponse, err error) { - if request == nil { - request = NewClearSubscriptionFilterTagsRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("ClearSubscriptionFilterTags require credential") - } - - request.SetContext(ctx) - - response = NewClearSubscriptionFilterTagsResponse() - err = c.Send(request, response) - return -} - -func NewCreateQueueRequest() (request *CreateQueueRequest) { - request = &CreateQueueRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "CreateQueue") - - - return -} - -func NewCreateQueueResponse() (response *CreateQueueResponse) { - response = &CreateQueueResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// CreateQueue -// 创建队列接口 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) CreateQueue(request *CreateQueueRequest) (response *CreateQueueResponse, err error) { - return c.CreateQueueWithContext(context.Background(), request) -} - -// CreateQueue -// 创建队列接口 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) CreateQueueWithContext(ctx context.Context, request *CreateQueueRequest) (response *CreateQueueResponse, err error) { - if request == nil { - request = NewCreateQueueRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("CreateQueue require credential") - } - - request.SetContext(ctx) - - response = NewCreateQueueResponse() - err = c.Send(request, response) - return -} - -func NewCreateSubscribeRequest() (request *CreateSubscribeRequest) { - request = &CreateSubscribeRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "CreateSubscribe") - - - return -} - -func NewCreateSubscribeResponse() (response *CreateSubscribeResponse) { - response = &CreateSubscribeResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// CreateSubscribe -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 创建订阅接口 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) CreateSubscribe(request *CreateSubscribeRequest) (response *CreateSubscribeResponse, err error) { - return c.CreateSubscribeWithContext(context.Background(), request) -} - -// CreateSubscribe -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 创建订阅接口 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) CreateSubscribeWithContext(ctx context.Context, request *CreateSubscribeRequest) (response *CreateSubscribeResponse, err error) { - if request == nil { - request = NewCreateSubscribeRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("CreateSubscribe require credential") - } - - request.SetContext(ctx) - - response = NewCreateSubscribeResponse() - err = c.Send(request, response) - return -} - -func NewCreateTopicRequest() (request *CreateTopicRequest) { - request = &CreateTopicRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "CreateTopic") - - - return -} - -func NewCreateTopicResponse() (response *CreateTopicResponse) { - response = &CreateTopicResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// CreateTopic -// 创建主题 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) CreateTopic(request *CreateTopicRequest) (response *CreateTopicResponse, err error) { - return c.CreateTopicWithContext(context.Background(), request) -} - -// CreateTopic -// 创建主题 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) CreateTopicWithContext(ctx context.Context, request *CreateTopicRequest) (response *CreateTopicResponse, err error) { - if request == nil { - request = NewCreateTopicRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("CreateTopic require credential") - } - - request.SetContext(ctx) - - response = NewCreateTopicResponse() - err = c.Send(request, response) - return -} - -func NewDeleteQueueRequest() (request *DeleteQueueRequest) { - request = &DeleteQueueRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "DeleteQueue") - - - return -} - -func NewDeleteQueueResponse() (response *DeleteQueueResponse) { - response = &DeleteQueueResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DeleteQueue -// DeleteQueue -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INVALIDPARAMETER = "InvalidParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DeleteQueue(request *DeleteQueueRequest) (response *DeleteQueueResponse, err error) { - return c.DeleteQueueWithContext(context.Background(), request) -} - -// DeleteQueue -// DeleteQueue -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// INVALIDPARAMETER = "InvalidParameter" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DeleteQueueWithContext(ctx context.Context, request *DeleteQueueRequest) (response *DeleteQueueResponse, err error) { - if request == nil { - request = NewDeleteQueueRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DeleteQueue require credential") - } - - request.SetContext(ctx) - - response = NewDeleteQueueResponse() - err = c.Send(request, response) - return -} - -func NewDeleteSubscribeRequest() (request *DeleteSubscribeRequest) { - request = &DeleteSubscribeRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "DeleteSubscribe") - - - return -} - -func NewDeleteSubscribeResponse() (response *DeleteSubscribeResponse) { - response = &DeleteSubscribeResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DeleteSubscribe -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 删除订阅 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DeleteSubscribe(request *DeleteSubscribeRequest) (response *DeleteSubscribeResponse, err error) { - return c.DeleteSubscribeWithContext(context.Background(), request) -} - -// DeleteSubscribe -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 删除订阅 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DeleteSubscribeWithContext(ctx context.Context, request *DeleteSubscribeRequest) (response *DeleteSubscribeResponse, err error) { - if request == nil { - request = NewDeleteSubscribeRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DeleteSubscribe require credential") - } - - request.SetContext(ctx) - - response = NewDeleteSubscribeResponse() - err = c.Send(request, response) - return -} - -func NewDeleteTopicRequest() (request *DeleteTopicRequest) { - request = &DeleteTopicRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "DeleteTopic") - - - return -} - -func NewDeleteTopicResponse() (response *DeleteTopicResponse) { - response = &DeleteTopicResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DeleteTopic -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 删除主题 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DeleteTopic(request *DeleteTopicRequest) (response *DeleteTopicResponse, err error) { - return c.DeleteTopicWithContext(context.Background(), request) -} - -// DeleteTopic -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 删除主题 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DeleteTopicWithContext(ctx context.Context, request *DeleteTopicRequest) (response *DeleteTopicResponse, err error) { - if request == nil { - request = NewDeleteTopicRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DeleteTopic require credential") - } - - request.SetContext(ctx) - - response = NewDeleteTopicResponse() - err = c.Send(request, response) - return -} - -func NewDescribeDeadLetterSourceQueuesRequest() (request *DescribeDeadLetterSourceQueuesRequest) { - request = &DescribeDeadLetterSourceQueuesRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "DescribeDeadLetterSourceQueues") - - - return -} - -func NewDescribeDeadLetterSourceQueuesResponse() (response *DescribeDeadLetterSourceQueuesResponse) { - response = &DescribeDeadLetterSourceQueuesResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DescribeDeadLetterSourceQueues -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 枚举死信队列源队列 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DescribeDeadLetterSourceQueues(request *DescribeDeadLetterSourceQueuesRequest) (response *DescribeDeadLetterSourceQueuesResponse, err error) { - return c.DescribeDeadLetterSourceQueuesWithContext(context.Background(), request) -} - -// DescribeDeadLetterSourceQueues -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 枚举死信队列源队列 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DescribeDeadLetterSourceQueuesWithContext(ctx context.Context, request *DescribeDeadLetterSourceQueuesRequest) (response *DescribeDeadLetterSourceQueuesResponse, err error) { - if request == nil { - request = NewDescribeDeadLetterSourceQueuesRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DescribeDeadLetterSourceQueues require credential") - } - - request.SetContext(ctx) - - response = NewDescribeDeadLetterSourceQueuesResponse() - err = c.Send(request, response) - return -} - -func NewDescribeQueueDetailRequest() (request *DescribeQueueDetailRequest) { - request = &DescribeQueueDetailRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "DescribeQueueDetail") - - - return -} - -func NewDescribeQueueDetailResponse() (response *DescribeQueueDetailResponse) { - response = &DescribeQueueDetailResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DescribeQueueDetail -// 枚举队列列表 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DescribeQueueDetail(request *DescribeQueueDetailRequest) (response *DescribeQueueDetailResponse, err error) { - return c.DescribeQueueDetailWithContext(context.Background(), request) -} - -// DescribeQueueDetail -// 枚举队列列表 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DescribeQueueDetailWithContext(ctx context.Context, request *DescribeQueueDetailRequest) (response *DescribeQueueDetailResponse, err error) { - if request == nil { - request = NewDescribeQueueDetailRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DescribeQueueDetail require credential") - } - - request.SetContext(ctx) - - response = NewDescribeQueueDetailResponse() - err = c.Send(request, response) - return -} - -func NewDescribeSubscriptionDetailRequest() (request *DescribeSubscriptionDetailRequest) { - request = &DescribeSubscriptionDetailRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "DescribeSubscriptionDetail") - - - return -} - -func NewDescribeSubscriptionDetailResponse() (response *DescribeSubscriptionDetailResponse) { - response = &DescribeSubscriptionDetailResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DescribeSubscriptionDetail -// 查询订阅详情 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DescribeSubscriptionDetail(request *DescribeSubscriptionDetailRequest) (response *DescribeSubscriptionDetailResponse, err error) { - return c.DescribeSubscriptionDetailWithContext(context.Background(), request) -} - -// DescribeSubscriptionDetail -// 查询订阅详情 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DescribeSubscriptionDetailWithContext(ctx context.Context, request *DescribeSubscriptionDetailRequest) (response *DescribeSubscriptionDetailResponse, err error) { - if request == nil { - request = NewDescribeSubscriptionDetailRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DescribeSubscriptionDetail require credential") - } - - request.SetContext(ctx) - - response = NewDescribeSubscriptionDetailResponse() - err = c.Send(request, response) - return -} - -func NewDescribeTopicDetailRequest() (request *DescribeTopicDetailRequest) { - request = &DescribeTopicDetailRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "DescribeTopicDetail") - - - return -} - -func NewDescribeTopicDetailResponse() (response *DescribeTopicDetailResponse) { - response = &DescribeTopicDetailResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// DescribeTopicDetail -// 查询主题详情 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DescribeTopicDetail(request *DescribeTopicDetailRequest) (response *DescribeTopicDetailResponse, err error) { - return c.DescribeTopicDetailWithContext(context.Background(), request) -} - -// DescribeTopicDetail -// 查询主题详情 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) DescribeTopicDetailWithContext(ctx context.Context, request *DescribeTopicDetailRequest) (response *DescribeTopicDetailResponse, err error) { - if request == nil { - request = NewDescribeTopicDetailRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("DescribeTopicDetail require credential") - } - - request.SetContext(ctx) - - response = NewDescribeTopicDetailResponse() - err = c.Send(request, response) - return -} - -func NewModifyQueueAttributeRequest() (request *ModifyQueueAttributeRequest) { - request = &ModifyQueueAttributeRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "ModifyQueueAttribute") - - - return -} - -func NewModifyQueueAttributeResponse() (response *ModifyQueueAttributeResponse) { - response = &ModifyQueueAttributeResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// ModifyQueueAttribute -// 修改队列属性 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) ModifyQueueAttribute(request *ModifyQueueAttributeRequest) (response *ModifyQueueAttributeResponse, err error) { - return c.ModifyQueueAttributeWithContext(context.Background(), request) -} - -// ModifyQueueAttribute -// 修改队列属性 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) ModifyQueueAttributeWithContext(ctx context.Context, request *ModifyQueueAttributeRequest) (response *ModifyQueueAttributeResponse, err error) { - if request == nil { - request = NewModifyQueueAttributeRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("ModifyQueueAttribute require credential") - } - - request.SetContext(ctx) - - response = NewModifyQueueAttributeResponse() - err = c.Send(request, response) - return -} - -func NewModifySubscriptionAttributeRequest() (request *ModifySubscriptionAttributeRequest) { - request = &ModifySubscriptionAttributeRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "ModifySubscriptionAttribute") - - - return -} - -func NewModifySubscriptionAttributeResponse() (response *ModifySubscriptionAttributeResponse) { - response = &ModifySubscriptionAttributeResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// ModifySubscriptionAttribute -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 修改订阅属性 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) ModifySubscriptionAttribute(request *ModifySubscriptionAttributeRequest) (response *ModifySubscriptionAttributeResponse, err error) { - return c.ModifySubscriptionAttributeWithContext(context.Background(), request) -} - -// ModifySubscriptionAttribute -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 修改订阅属性 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE_NOTASKID = "InvalidParameterValue.NoTaskId" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) ModifySubscriptionAttributeWithContext(ctx context.Context, request *ModifySubscriptionAttributeRequest) (response *ModifySubscriptionAttributeResponse, err error) { - if request == nil { - request = NewModifySubscriptionAttributeRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("ModifySubscriptionAttribute require credential") - } - - request.SetContext(ctx) - - response = NewModifySubscriptionAttributeResponse() - err = c.Send(request, response) - return -} - -func NewModifyTopicAttributeRequest() (request *ModifyTopicAttributeRequest) { - request = &ModifyTopicAttributeRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cmq", APIVersion, "ModifyTopicAttribute") - - - return -} - -func NewModifyTopicAttributeResponse() (response *ModifyTopicAttributeResponse) { - response = &ModifyTopicAttributeResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// ModifyTopicAttribute -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 修改主题属性 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) ModifyTopicAttribute(request *ModifyTopicAttributeRequest) (response *ModifyTopicAttributeResponse, err error) { - return c.ModifyTopicAttributeWithContext(context.Background(), request) -} - -// ModifyTopicAttribute -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 修改主题属性 -// -// 可能返回的错误码: -// FAILEDOPERATION = "FailedOperation" -// FAILEDOPERATION_TRYLATER = "FailedOperation.TryLater" -// INVALIDPARAMETER = "InvalidParameter" -// LIMITEXCEEDED = "LimitExceeded" -// RESOURCEINUSE = "ResourceInUse" -// RESOURCENOTFOUND = "ResourceNotFound" -// RESOURCEUNAVAILABLE = "ResourceUnavailable" -// RESOURCESSOLDOUT = "ResourcesSoldOut" -// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) ModifyTopicAttributeWithContext(ctx context.Context, request *ModifyTopicAttributeRequest) (response *ModifyTopicAttributeResponse, err error) { - if request == nil { - request = NewModifyTopicAttributeRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("ModifyTopicAttribute require credential") - } - - request.SetContext(ctx) - - response = NewModifyTopicAttributeResponse() - err = c.Send(request, response) - return -} - -func NewRewindQueueRequest() (request *RewindQueueRequest) { - request = &RewindQueueRequest{ +func NewDescribeQueueDetailRequest() (request *DescribeQueueDetailRequest) { + request = &DescribeQueueDetailRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("cmq", APIVersion, "RewindQueue") + request.Init().WithApiInfo("cmq", APIVersion, "DescribeQueueDetail") return } -func NewRewindQueueResponse() (response *RewindQueueResponse) { - response = &RewindQueueResponse{ +func NewDescribeQueueDetailResponse() (response *DescribeQueueDetailResponse) { + response = &DescribeQueueDetailResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// RewindQueue -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 回溯队列 +// DescribeQueueDetail +// 枚举队列列表 // // 可能返回的错误码: // FAILEDOPERATION = "FailedOperation" @@ -1122,16 +77,12 @@ func NewRewindQueueResponse() (response *RewindQueueResponse) { // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) RewindQueue(request *RewindQueueRequest) (response *RewindQueueResponse, err error) { - return c.RewindQueueWithContext(context.Background(), request) +func (c *Client) DescribeQueueDetail(request *DescribeQueueDetailRequest) (response *DescribeQueueDetailResponse, err error) { + return c.DescribeQueueDetailWithContext(context.Background(), request) } -// RewindQueue -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 回溯队列 +// DescribeQueueDetail +// 枚举队列列表 // // 可能返回的错误码: // FAILEDOPERATION = "FailedOperation" @@ -1143,47 +94,43 @@ func (c *Client) RewindQueue(request *RewindQueueRequest) (response *RewindQueue // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) RewindQueueWithContext(ctx context.Context, request *RewindQueueRequest) (response *RewindQueueResponse, err error) { +func (c *Client) DescribeQueueDetailWithContext(ctx context.Context, request *DescribeQueueDetailRequest) (response *DescribeQueueDetailResponse, err error) { if request == nil { - request = NewRewindQueueRequest() + request = NewDescribeQueueDetailRequest() } if c.GetCredential() == nil { - return nil, errors.New("RewindQueue require credential") + return nil, errors.New("DescribeQueueDetail require credential") } request.SetContext(ctx) - response = NewRewindQueueResponse() + response = NewDescribeQueueDetailResponse() err = c.Send(request, response) return } -func NewUnbindDeadLetterRequest() (request *UnbindDeadLetterRequest) { - request = &UnbindDeadLetterRequest{ +func NewDescribeTopicDetailRequest() (request *DescribeTopicDetailRequest) { + request = &DescribeTopicDetailRequest{ BaseRequest: &tchttp.BaseRequest{}, } - request.Init().WithApiInfo("cmq", APIVersion, "UnbindDeadLetter") + request.Init().WithApiInfo("cmq", APIVersion, "DescribeTopicDetail") return } -func NewUnbindDeadLetterResponse() (response *UnbindDeadLetterResponse) { - response = &UnbindDeadLetterResponse{ +func NewDescribeTopicDetailResponse() (response *DescribeTopicDetailResponse) { + response = &DescribeTopicDetailResponse{ BaseResponse: &tchttp.BaseResponse{}, } return } -// UnbindDeadLetter -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 解绑死信队列 +// DescribeTopicDetail +// 查询主题详情 // // 可能返回的错误码: // FAILEDOPERATION = "FailedOperation" @@ -1196,16 +143,12 @@ func NewUnbindDeadLetterResponse() (response *UnbindDeadLetterResponse) { // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) UnbindDeadLetter(request *UnbindDeadLetterRequest) (response *UnbindDeadLetterResponse, err error) { - return c.UnbindDeadLetterWithContext(context.Background(), request) +func (c *Client) DescribeTopicDetail(request *DescribeTopicDetailRequest) (response *DescribeTopicDetailResponse, err error) { + return c.DescribeTopicDetailWithContext(context.Background(), request) } -// UnbindDeadLetter -// 下线老cmq云API 3.0 无调用量接口 -// -// -// -// 解绑死信队列 +// DescribeTopicDetail +// 查询主题详情 // // 可能返回的错误码: // FAILEDOPERATION = "FailedOperation" @@ -1218,18 +161,18 @@ func (c *Client) UnbindDeadLetter(request *UnbindDeadLetterRequest) (response *U // RESOURCEUNAVAILABLE = "ResourceUnavailable" // RESOURCESSOLDOUT = "ResourcesSoldOut" // UNAUTHORIZEDOPERATION = "UnauthorizedOperation" -func (c *Client) UnbindDeadLetterWithContext(ctx context.Context, request *UnbindDeadLetterRequest) (response *UnbindDeadLetterResponse, err error) { +func (c *Client) DescribeTopicDetailWithContext(ctx context.Context, request *DescribeTopicDetailRequest) (response *DescribeTopicDetailResponse, err error) { if request == nil { - request = NewUnbindDeadLetterRequest() + request = NewDescribeTopicDetailRequest() } if c.GetCredential() == nil { - return nil, errors.New("UnbindDeadLetter require credential") + return nil, errors.New("DescribeTopicDetail require credential") } request.SetContext(ctx) - response = NewUnbindDeadLetterResponse() + response = NewDescribeTopicDetailResponse() err = c.Send(request, response) return } diff --git a/tencentcloud/cmq/v20190304/models.go b/tencentcloud/cmq/v20190304/models.go index b3cac09e08..8dfedb3b37 100644 --- a/tencentcloud/cmq/v20190304/models.go +++ b/tencentcloud/cmq/v20190304/models.go @@ -20,1328 +20,222 @@ import ( "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/json" ) -// Predefined struct for user -type ClearQueueRequestParams struct { - // 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` -} - -type ClearQueueRequest struct { - *tchttp.BaseRequest - - // 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` -} - -func (r *ClearQueueRequest) 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 *ClearQueueRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "QueueName") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ClearQueueRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type ClearQueueResponseParams struct { - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type ClearQueueResponse struct { - *tchttp.BaseResponse - Response *ClearQueueResponseParams `json:"Response"` -} - -func (r *ClearQueueResponse) 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 *ClearQueueResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type ClearSubscriptionFilterTagsRequestParams struct { - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"` -} - -type ClearSubscriptionFilterTagsRequest struct { - *tchttp.BaseRequest - - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"` -} - -func (r *ClearSubscriptionFilterTagsRequest) 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 *ClearSubscriptionFilterTagsRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "TopicName") - delete(f, "SubscriptionName") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ClearSubscriptionFilterTagsRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type ClearSubscriptionFilterTagsResponseParams struct { - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type ClearSubscriptionFilterTagsResponse struct { - *tchttp.BaseResponse - Response *ClearSubscriptionFilterTagsResponseParams `json:"Response"` -} - -func (r *ClearSubscriptionFilterTagsResponse) 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 *ClearSubscriptionFilterTagsResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type CreateQueueRequestParams struct { - // 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` - - // 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000,正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000,正式上线后为 100,000,000。 - MaxMsgHeapNum *uint64 `json:"MaxMsgHeapNum,omitnil,omitempty" name:"MaxMsgHeapNum"` - - // 消息接收长轮询等待时间。取值范围 0-30 秒,默认值 0。 - PollingWaitSeconds *uint64 `json:"PollingWaitSeconds,omitnil,omitempty" name:"PollingWaitSeconds"` - - // 消息可见性超时。取值范围 1-43200 秒(即12小时内),默认值 30。 - VisibilityTimeout *uint64 `json:"VisibilityTimeout,omitnil,omitempty" name:"VisibilityTimeout"` - - // 消息最大长度。取值范围 1024-65536 Byte(即1-64K),默认值 65536。 - MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"` - - // 消息保留周期。取值范围 60-1296000 秒(1min-15天),默认值 345600 (4 天)。 - MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"` - - // 队列是否开启回溯消息能力,该参数取值范围0-msgRetentionSeconds,即最大的回溯时间为消息在队列中的保留周期,0表示不开启。 - RewindSeconds *uint64 `json:"RewindSeconds,omitnil,omitempty" name:"RewindSeconds"` - - // 1 表示事务队列,0 表示普通队列 - Transaction *uint64 `json:"Transaction,omitnil,omitempty" name:"Transaction"` - - // 第一次回查间隔 - FirstQueryInterval *uint64 `json:"FirstQueryInterval,omitnil,omitempty" name:"FirstQueryInterval"` - - // 最大回查次数 - MaxQueryCount *uint64 `json:"MaxQueryCount,omitnil,omitempty" name:"MaxQueryCount"` - - // 死信队列名称 - DeadLetterQueueName *string `json:"DeadLetterQueueName,omitnil,omitempty" name:"DeadLetterQueueName"` - - // 死信策略。0为消息被多次消费未删除,1为Time-To-Live过期 - Policy *uint64 `json:"Policy,omitnil,omitempty" name:"Policy"` - - // 最大接收次数 1-1000 - MaxReceiveCount *uint64 `json:"MaxReceiveCount,omitnil,omitempty" name:"MaxReceiveCount"` - - // policy为1时必选。最大未消费过期时间。范围300-43200,单位秒,需要小于消息最大保留时间msgRetentionSeconds - MaxTimeToLive *uint64 `json:"MaxTimeToLive,omitnil,omitempty" name:"MaxTimeToLive"` - - // 是否开启消息轨迹追踪,当不设置字段时,默认为不开启,该字段为true表示开启,为false表示不开启 - Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"` -} - -type CreateQueueRequest struct { - *tchttp.BaseRequest - - // 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` - - // 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000,正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000,正式上线后为 100,000,000。 - MaxMsgHeapNum *uint64 `json:"MaxMsgHeapNum,omitnil,omitempty" name:"MaxMsgHeapNum"` - - // 消息接收长轮询等待时间。取值范围 0-30 秒,默认值 0。 - PollingWaitSeconds *uint64 `json:"PollingWaitSeconds,omitnil,omitempty" name:"PollingWaitSeconds"` - - // 消息可见性超时。取值范围 1-43200 秒(即12小时内),默认值 30。 - VisibilityTimeout *uint64 `json:"VisibilityTimeout,omitnil,omitempty" name:"VisibilityTimeout"` - - // 消息最大长度。取值范围 1024-65536 Byte(即1-64K),默认值 65536。 - MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"` - - // 消息保留周期。取值范围 60-1296000 秒(1min-15天),默认值 345600 (4 天)。 - MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"` - - // 队列是否开启回溯消息能力,该参数取值范围0-msgRetentionSeconds,即最大的回溯时间为消息在队列中的保留周期,0表示不开启。 - RewindSeconds *uint64 `json:"RewindSeconds,omitnil,omitempty" name:"RewindSeconds"` - - // 1 表示事务队列,0 表示普通队列 - Transaction *uint64 `json:"Transaction,omitnil,omitempty" name:"Transaction"` - - // 第一次回查间隔 - FirstQueryInterval *uint64 `json:"FirstQueryInterval,omitnil,omitempty" name:"FirstQueryInterval"` - - // 最大回查次数 - MaxQueryCount *uint64 `json:"MaxQueryCount,omitnil,omitempty" name:"MaxQueryCount"` - - // 死信队列名称 - DeadLetterQueueName *string `json:"DeadLetterQueueName,omitnil,omitempty" name:"DeadLetterQueueName"` - - // 死信策略。0为消息被多次消费未删除,1为Time-To-Live过期 - Policy *uint64 `json:"Policy,omitnil,omitempty" name:"Policy"` - - // 最大接收次数 1-1000 - MaxReceiveCount *uint64 `json:"MaxReceiveCount,omitnil,omitempty" name:"MaxReceiveCount"` - - // policy为1时必选。最大未消费过期时间。范围300-43200,单位秒,需要小于消息最大保留时间msgRetentionSeconds - MaxTimeToLive *uint64 `json:"MaxTimeToLive,omitnil,omitempty" name:"MaxTimeToLive"` - - // 是否开启消息轨迹追踪,当不设置字段时,默认为不开启,该字段为true表示开启,为false表示不开启 - Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"` -} - -func (r *CreateQueueRequest) 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 *CreateQueueRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "QueueName") - delete(f, "MaxMsgHeapNum") - delete(f, "PollingWaitSeconds") - delete(f, "VisibilityTimeout") - delete(f, "MaxMsgSize") - delete(f, "MsgRetentionSeconds") - delete(f, "RewindSeconds") - delete(f, "Transaction") - delete(f, "FirstQueryInterval") - delete(f, "MaxQueryCount") - delete(f, "DeadLetterQueueName") - delete(f, "Policy") - delete(f, "MaxReceiveCount") - delete(f, "MaxTimeToLive") - delete(f, "Trace") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateQueueRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type CreateQueueResponseParams struct { - // 创建成功的queueId - QueueId *string `json:"QueueId,omitnil,omitempty" name:"QueueId"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type CreateQueueResponse struct { - *tchttp.BaseResponse - Response *CreateQueueResponseParams `json:"Response"` -} - -func (r *CreateQueueResponse) 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 *CreateQueueResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type CreateSubscribeRequestParams struct { - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"` - - // 订阅的协议,目前支持两种协议:http、queue。使用http协议,用户需自己搭建接受消息的web server。使用queue,消息会自动推送到CMQ queue,用户可以并发地拉取消息。 - Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` - - // 接收通知的Endpoint,根据协议Protocol区分:对于http,Endpoint必须以“`http://`”开头,host可以是域名或IP;对于Queue,则填QueueName。 请注意,目前推送服务不能推送到私有网络中,因此Endpoint填写为私有网络域名或地址将接收不到推送的消息,目前支持推送到公网和基础网络。 - Endpoint *string `json:"Endpoint,omitnil,omitempty" name:"Endpoint"` - - // 向Endpoint推送消息出现错误时,CMQ推送服务器的重试策略。取值有:1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息;2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始1s,后面是2s,4s,8s...由于Topic消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是EXPONENTIAL_DECAY_RETRY。 - NotifyStrategy *string `json:"NotifyStrategy,omitnil,omitempty" name:"NotifyStrategy"` - - // 消息正文。消息标签(用于消息过滤)。标签数量不能超过5个,每个标签不超过16个字符。与(Batch)PublishMessage的MsgTag参数配合使用,规则:1)如果FilterTag没有设置,则无论MsgTag是否有设置,订阅接收所有发布到Topic的消息;2)如果FilterTag数组有值,则只有数组中至少有一个值在MsgTag数组中也存在时(即FilterTag和MsgTag有交集),订阅才接收该发布到Topic的消息;3)如果FilterTag数组有值,但MsgTag没设置,则不接收任何发布到Topic的消息,可以认为是2)的一种特例,此时FilterTag和MsgTag没有交集。规则整体的设计思想是以订阅者的意愿为主。 - FilterTag []*string `json:"FilterTag,omitnil,omitempty" name:"FilterTag"` - - // BindingKey数量不超过5个, 每个BindingKey长度不超过64字节,该字段表示订阅接收消息的过滤策略,每个BindingKey最多含有15个“.”, 即最多16个词组。 - BindingKey []*string `json:"BindingKey,omitnil,omitempty" name:"BindingKey"` - - // 推送内容的格式。取值:1)JSON;2)SIMPLIFIED,即raw格式。如果Protocol是queue,则取值必须为SIMPLIFIED。如果Protocol是http,两个值均可以,默认值是JSON。 - NotifyContentFormat *string `json:"NotifyContentFormat,omitnil,omitempty" name:"NotifyContentFormat"` -} - -type CreateSubscribeRequest struct { - *tchttp.BaseRequest - - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"` - - // 订阅的协议,目前支持两种协议:http、queue。使用http协议,用户需自己搭建接受消息的web server。使用queue,消息会自动推送到CMQ queue,用户可以并发地拉取消息。 - Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` - - // 接收通知的Endpoint,根据协议Protocol区分:对于http,Endpoint必须以“`http://`”开头,host可以是域名或IP;对于Queue,则填QueueName。 请注意,目前推送服务不能推送到私有网络中,因此Endpoint填写为私有网络域名或地址将接收不到推送的消息,目前支持推送到公网和基础网络。 - Endpoint *string `json:"Endpoint,omitnil,omitempty" name:"Endpoint"` - - // 向Endpoint推送消息出现错误时,CMQ推送服务器的重试策略。取值有:1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息;2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始1s,后面是2s,4s,8s...由于Topic消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是EXPONENTIAL_DECAY_RETRY。 - NotifyStrategy *string `json:"NotifyStrategy,omitnil,omitempty" name:"NotifyStrategy"` - - // 消息正文。消息标签(用于消息过滤)。标签数量不能超过5个,每个标签不超过16个字符。与(Batch)PublishMessage的MsgTag参数配合使用,规则:1)如果FilterTag没有设置,则无论MsgTag是否有设置,订阅接收所有发布到Topic的消息;2)如果FilterTag数组有值,则只有数组中至少有一个值在MsgTag数组中也存在时(即FilterTag和MsgTag有交集),订阅才接收该发布到Topic的消息;3)如果FilterTag数组有值,但MsgTag没设置,则不接收任何发布到Topic的消息,可以认为是2)的一种特例,此时FilterTag和MsgTag没有交集。规则整体的设计思想是以订阅者的意愿为主。 - FilterTag []*string `json:"FilterTag,omitnil,omitempty" name:"FilterTag"` - - // BindingKey数量不超过5个, 每个BindingKey长度不超过64字节,该字段表示订阅接收消息的过滤策略,每个BindingKey最多含有15个“.”, 即最多16个词组。 - BindingKey []*string `json:"BindingKey,omitnil,omitempty" name:"BindingKey"` - - // 推送内容的格式。取值:1)JSON;2)SIMPLIFIED,即raw格式。如果Protocol是queue,则取值必须为SIMPLIFIED。如果Protocol是http,两个值均可以,默认值是JSON。 - NotifyContentFormat *string `json:"NotifyContentFormat,omitnil,omitempty" name:"NotifyContentFormat"` -} - -func (r *CreateSubscribeRequest) 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 *CreateSubscribeRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "TopicName") - delete(f, "SubscriptionName") - delete(f, "Protocol") - delete(f, "Endpoint") - delete(f, "NotifyStrategy") - delete(f, "FilterTag") - delete(f, "BindingKey") - delete(f, "NotifyContentFormat") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateSubscribeRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type CreateSubscribeResponseParams struct { - // SubscriptionId - SubscriptionId *string `json:"SubscriptionId,omitnil,omitempty" name:"SubscriptionId"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type CreateSubscribeResponse struct { - *tchttp.BaseResponse - Response *CreateSubscribeResponseParams `json:"Response"` -} - -func (r *CreateSubscribeResponse) 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 *CreateSubscribeResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type CreateTopicRequestParams struct { - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 消息最大长度。取值范围 1024-65536 Byte(即1-64K),默认值 65536。 - MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"` - - // 用于指定主题的消息匹配策略。1:表示标签匹配策略;2:表示路由匹配策略,默认值为标签匹配策略。 - FilterType *uint64 `json:"FilterType,omitnil,omitempty" name:"FilterType"` - - // 消息保存时间。取值范围60 - 86400 s(即1分钟 - 1天),默认值86400。 - MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"` - - // 是否开启消息轨迹标识,true表示开启,false表示不开启,不填表示不开启。 - Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"` -} - -type CreateTopicRequest struct { - *tchttp.BaseRequest - - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 消息最大长度。取值范围 1024-65536 Byte(即1-64K),默认值 65536。 - MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"` - - // 用于指定主题的消息匹配策略。1:表示标签匹配策略;2:表示路由匹配策略,默认值为标签匹配策略。 - FilterType *uint64 `json:"FilterType,omitnil,omitempty" name:"FilterType"` - - // 消息保存时间。取值范围60 - 86400 s(即1分钟 - 1天),默认值86400。 - MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"` - - // 是否开启消息轨迹标识,true表示开启,false表示不开启,不填表示不开启。 - Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"` -} - -func (r *CreateTopicRequest) 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 *CreateTopicRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "TopicName") - delete(f, "MaxMsgSize") - delete(f, "FilterType") - delete(f, "MsgRetentionSeconds") - delete(f, "Trace") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateTopicRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type CreateTopicResponseParams struct { - // TopicName - TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type CreateTopicResponse struct { - *tchttp.BaseResponse - Response *CreateTopicResponseParams `json:"Response"` -} - -func (r *CreateTopicResponse) 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 *CreateTopicResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -type DeadLetterPolicy struct { - // 死信队列。 - // 注意:此字段可能返回 null,表示取不到有效值。 - DeadLetterQueue *string `json:"DeadLetterQueue,omitnil,omitempty" name:"DeadLetterQueue"` - - // 死信队列名字。 - // 注意:此字段可能返回 null,表示取不到有效值。 - DeadLetterQueueName *string `json:"DeadLetterQueueName,omitnil,omitempty" name:"DeadLetterQueueName"` - - // 最大未消费过期时间。Policy为1时必选。范围300-43200,单位秒,需要小于消息最大保留时间MsgRetentionSeconds。 - // 注意:此字段可能返回 null,表示取不到有效值。 - MaxTimeToLive *uint64 `json:"MaxTimeToLive,omitnil,omitempty" name:"MaxTimeToLive"` - - // 死信队列策略。 - // 注意:此字段可能返回 null,表示取不到有效值。 - Policy *uint64 `json:"Policy,omitnil,omitempty" name:"Policy"` - - // 最大接收次数。 - // 注意:此字段可能返回 null,表示取不到有效值。 - MaxReceiveCount *uint64 `json:"MaxReceiveCount,omitnil,omitempty" name:"MaxReceiveCount"` -} - -type DeadLetterSource struct { - // 消息队列ID。 - // 注意:此字段可能返回 null,表示取不到有效值。 - QueueId *string `json:"QueueId,omitnil,omitempty" name:"QueueId"` - - // 消息队列名字。 - // 注意:此字段可能返回 null,表示取不到有效值。 - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` -} - -// Predefined struct for user -type DeleteQueueRequestParams struct { - // 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` -} - -type DeleteQueueRequest struct { - *tchttp.BaseRequest - - // 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` -} - -func (r *DeleteQueueRequest) 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 *DeleteQueueRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "QueueName") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteQueueRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DeleteQueueResponseParams struct { - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DeleteQueueResponse struct { - *tchttp.BaseResponse - Response *DeleteQueueResponseParams `json:"Response"` -} - -func (r *DeleteQueueResponse) 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 *DeleteQueueResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DeleteSubscribeRequestParams struct { - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"` -} - -type DeleteSubscribeRequest struct { - *tchttp.BaseRequest - - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"` -} - -func (r *DeleteSubscribeRequest) 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 *DeleteSubscribeRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "TopicName") - delete(f, "SubscriptionName") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteSubscribeRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DeleteSubscribeResponseParams struct { - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DeleteSubscribeResponse struct { - *tchttp.BaseResponse - Response *DeleteSubscribeResponseParams `json:"Response"` -} - -func (r *DeleteSubscribeResponse) 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 *DeleteSubscribeResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DeleteTopicRequestParams struct { - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` -} - -type DeleteTopicRequest struct { - *tchttp.BaseRequest - - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` -} - -func (r *DeleteTopicRequest) 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 *DeleteTopicRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "TopicName") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteTopicRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DeleteTopicResponseParams struct { - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DeleteTopicResponse struct { - *tchttp.BaseResponse - Response *DeleteTopicResponseParams `json:"Response"` -} - -func (r *DeleteTopicResponse) 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 *DeleteTopicResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeDeadLetterSourceQueuesRequestParams struct { - // 死信队列名称 - DeadLetterQueueName *string `json:"DeadLetterQueueName,omitnil,omitempty" name:"DeadLetterQueueName"` - - // 分页时本页获取主题列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0。 - Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - - // 分页时本页获取主题的个数,如果不传递该参数,则该参数默认为20,最大值为50。 - Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` - - // 过滤死信队列源队列名称,目前仅支持SourceQueueName过滤 - Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` -} - -type DescribeDeadLetterSourceQueuesRequest struct { - *tchttp.BaseRequest - - // 死信队列名称 - DeadLetterQueueName *string `json:"DeadLetterQueueName,omitnil,omitempty" name:"DeadLetterQueueName"` - - // 分页时本页获取主题列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0。 - Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - - // 分页时本页获取主题的个数,如果不传递该参数,则该参数默认为20,最大值为50。 - Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` - - // 过滤死信队列源队列名称,目前仅支持SourceQueueName过滤 - Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` -} - -func (r *DescribeDeadLetterSourceQueuesRequest) 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 *DescribeDeadLetterSourceQueuesRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "DeadLetterQueueName") - delete(f, "Limit") - delete(f, "Offset") - delete(f, "Filters") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeDeadLetterSourceQueuesRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeDeadLetterSourceQueuesResponseParams struct { - // 满足本次条件的队列个数 - TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` - - // 死信队列源队列 - QueueSet []*DeadLetterSource `json:"QueueSet,omitnil,omitempty" name:"QueueSet"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DescribeDeadLetterSourceQueuesResponse struct { - *tchttp.BaseResponse - Response *DescribeDeadLetterSourceQueuesResponseParams `json:"Response"` -} - -func (r *DescribeDeadLetterSourceQueuesResponse) 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 *DescribeDeadLetterSourceQueuesResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeQueueDetailRequestParams struct { - // 标签搜索 - TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` - - // 分页时本页获取队列的个数,如果不传递该参数,则该参数默认为20,最大值为50。 - Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - - // 精确匹配QueueName - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` - - // 筛选参数,目前支持QueueName筛选,且仅支持一个关键字 - Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` - - // 分页时本页获取队列列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0 - Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` -} - -type DescribeQueueDetailRequest struct { - *tchttp.BaseRequest - - // 标签搜索 - TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` - - // 分页时本页获取队列的个数,如果不传递该参数,则该参数默认为20,最大值为50。 - Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - - // 精确匹配QueueName - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` - - // 筛选参数,目前支持QueueName筛选,且仅支持一个关键字 - Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` - - // 分页时本页获取队列列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0 - Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` -} - -func (r *DescribeQueueDetailRequest) 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 *DescribeQueueDetailRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "TagKey") - delete(f, "Limit") - delete(f, "QueueName") - delete(f, "Filters") - delete(f, "Offset") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeQueueDetailRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeQueueDetailResponseParams struct { - // 总队列数。 - TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` - - // 队列详情列表。 - QueueSet []*QueueSet `json:"QueueSet,omitnil,omitempty" name:"QueueSet"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DescribeQueueDetailResponse struct { - *tchttp.BaseResponse - Response *DescribeQueueDetailResponseParams `json:"Response"` -} - -func (r *DescribeQueueDetailResponse) 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 *DescribeQueueDetailResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeSubscriptionDetailRequestParams struct { - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 分页时本页获取主题列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0 - Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` - - // 分页时本页获取主题的个数,如果不传递该参数,则该参数默认为20,最大值为50。 - Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - - // 筛选参数,目前只支持SubscriptionName,且仅支持一个关键字。 - Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` -} - -type DescribeSubscriptionDetailRequest struct { - *tchttp.BaseRequest - - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 分页时本页获取主题列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0 - Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` - - // 分页时本页获取主题的个数,如果不传递该参数,则该参数默认为20,最大值为50。 - Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - - // 筛选参数,目前只支持SubscriptionName,且仅支持一个关键字。 - Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` -} - -func (r *DescribeSubscriptionDetailRequest) 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 *DescribeSubscriptionDetailRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "TopicName") - delete(f, "Offset") - delete(f, "Limit") - delete(f, "Filters") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeSubscriptionDetailRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeSubscriptionDetailResponseParams struct { - // 总数 - TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` - - // Subscription属性集合 - // 注意:此字段可能返回 null,表示取不到有效值。 - SubscriptionSet []*Subscription `json:"SubscriptionSet,omitnil,omitempty" name:"SubscriptionSet"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DescribeSubscriptionDetailResponse struct { - *tchttp.BaseResponse - Response *DescribeSubscriptionDetailResponseParams `json:"Response"` -} - -func (r *DescribeSubscriptionDetailResponse) 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 *DescribeSubscriptionDetailResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeTopicDetailRequestParams struct { - // 标签匹配。 - TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` - - // 分页时本页获取队列的个数,如果不传递该参数,则该参数默认为20,最大值为50。 - Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - - // 精确匹配TopicName。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 目前只支持过滤TopicName , 且只能填一个过滤值。 - Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` - - // 分页时本页获取队列列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0。 - Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` -} - -type DescribeTopicDetailRequest struct { - *tchttp.BaseRequest - - // 标签匹配。 - TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` - - // 分页时本页获取队列的个数,如果不传递该参数,则该参数默认为20,最大值为50。 - Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - - // 精确匹配TopicName。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 目前只支持过滤TopicName , 且只能填一个过滤值。 - Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` - - // 分页时本页获取队列列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0。 - Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` -} - -func (r *DescribeTopicDetailRequest) 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 *DescribeTopicDetailRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "TagKey") - delete(f, "Limit") - delete(f, "TopicName") - delete(f, "Filters") - delete(f, "Offset") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeTopicDetailRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type DescribeTopicDetailResponseParams struct { - // 主题列表总数。 - TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` - - // 主题详情列表。 - TopicSet []*TopicSet `json:"TopicSet,omitnil,omitempty" name:"TopicSet"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type DescribeTopicDetailResponse struct { - *tchttp.BaseResponse - Response *DescribeTopicDetailResponseParams `json:"Response"` -} - -func (r *DescribeTopicDetailResponse) 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 *DescribeTopicDetailResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -type Filter struct { - // 数值 - Values []*string `json:"Values,omitnil,omitempty" name:"Values"` - - // 过滤参数的名字 - Name *string `json:"Name,omitnil,omitempty" name:"Name"` -} - -// Predefined struct for user -type ModifyQueueAttributeRequestParams struct { - // 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` - - // 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000,正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000,正式上线后为 100,000,000。 - MaxMsgHeapNum *uint64 `json:"MaxMsgHeapNum,omitnil,omitempty" name:"MaxMsgHeapNum"` - - // 消息接收长轮询等待时间。取值范围 0-30 秒,默认值 0。 - PollingWaitSeconds *uint64 `json:"PollingWaitSeconds,omitnil,omitempty" name:"PollingWaitSeconds"` - - // 消息可见性超时。取值范围 1-43200 秒(即12小时内),默认值 30。 - VisibilityTimeout *uint64 `json:"VisibilityTimeout,omitnil,omitempty" name:"VisibilityTimeout"` - - // 消息最大长度。取值范围 1024-65536 Byte(即1-64K),默认值 65536。 - MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"` - - // 消息保留周期。取值范围 60-1296000 秒(1min-15天),默认值 345600 (4 天)。 - MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"` - - // 消息最长回溯时间,取值范围0-msgRetentionSeconds,消息的最大回溯之间为消息在队列中的保存周期,0表示不开启消息回溯。 - RewindSeconds *uint64 `json:"RewindSeconds,omitnil,omitempty" name:"RewindSeconds"` - - // 第一次查询时间 - FirstQueryInterval *uint64 `json:"FirstQueryInterval,omitnil,omitempty" name:"FirstQueryInterval"` - - // 最大查询次数 - MaxQueryCount *uint64 `json:"MaxQueryCount,omitnil,omitempty" name:"MaxQueryCount"` - - // 死信队列名称 - DeadLetterQueueName *string `json:"DeadLetterQueueName,omitnil,omitempty" name:"DeadLetterQueueName"` - - // MaxTimeToLivepolicy为1时必选。最大未消费过期时间。范围300-43200,单位秒,需要小于消息最大保留时间MsgRetentionSeconds - MaxTimeToLive *uint64 `json:"MaxTimeToLive,omitnil,omitempty" name:"MaxTimeToLive"` - - // 最大接收次数 - MaxReceiveCount *uint64 `json:"MaxReceiveCount,omitnil,omitempty" name:"MaxReceiveCount"` - - // 死信队列策略 - Policy *uint64 `json:"Policy,omitnil,omitempty" name:"Policy"` - - // 是否开启消息轨迹标识,true表示开启,false表示不开启,不填表示不开启。 - Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"` -} - -type ModifyQueueAttributeRequest struct { - *tchttp.BaseRequest - - // 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过 64 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` - - // 最大堆积消息数。取值范围在公测期间为 1,000,000 - 10,000,000,正式上线后范围可达到 1000,000-1000,000,000。默认取值在公测期间为 10,000,000,正式上线后为 100,000,000。 - MaxMsgHeapNum *uint64 `json:"MaxMsgHeapNum,omitnil,omitempty" name:"MaxMsgHeapNum"` - - // 消息接收长轮询等待时间。取值范围 0-30 秒,默认值 0。 - PollingWaitSeconds *uint64 `json:"PollingWaitSeconds,omitnil,omitempty" name:"PollingWaitSeconds"` - - // 消息可见性超时。取值范围 1-43200 秒(即12小时内),默认值 30。 - VisibilityTimeout *uint64 `json:"VisibilityTimeout,omitnil,omitempty" name:"VisibilityTimeout"` - - // 消息最大长度。取值范围 1024-65536 Byte(即1-64K),默认值 65536。 - MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"` - - // 消息保留周期。取值范围 60-1296000 秒(1min-15天),默认值 345600 (4 天)。 - MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"` - - // 消息最长回溯时间,取值范围0-msgRetentionSeconds,消息的最大回溯之间为消息在队列中的保存周期,0表示不开启消息回溯。 - RewindSeconds *uint64 `json:"RewindSeconds,omitnil,omitempty" name:"RewindSeconds"` - - // 第一次查询时间 - FirstQueryInterval *uint64 `json:"FirstQueryInterval,omitnil,omitempty" name:"FirstQueryInterval"` - - // 最大查询次数 - MaxQueryCount *uint64 `json:"MaxQueryCount,omitnil,omitempty" name:"MaxQueryCount"` - - // 死信队列名称 - DeadLetterQueueName *string `json:"DeadLetterQueueName,omitnil,omitempty" name:"DeadLetterQueueName"` - - // MaxTimeToLivepolicy为1时必选。最大未消费过期时间。范围300-43200,单位秒,需要小于消息最大保留时间MsgRetentionSeconds - MaxTimeToLive *uint64 `json:"MaxTimeToLive,omitnil,omitempty" name:"MaxTimeToLive"` - - // 最大接收次数 - MaxReceiveCount *uint64 `json:"MaxReceiveCount,omitnil,omitempty" name:"MaxReceiveCount"` - - // 死信队列策略 - Policy *uint64 `json:"Policy,omitnil,omitempty" name:"Policy"` - - // 是否开启消息轨迹标识,true表示开启,false表示不开启,不填表示不开启。 - Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"` -} - -func (r *ModifyQueueAttributeRequest) 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 *ModifyQueueAttributeRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "QueueName") - delete(f, "MaxMsgHeapNum") - delete(f, "PollingWaitSeconds") - delete(f, "VisibilityTimeout") - delete(f, "MaxMsgSize") - delete(f, "MsgRetentionSeconds") - delete(f, "RewindSeconds") - delete(f, "FirstQueryInterval") - delete(f, "MaxQueryCount") - delete(f, "DeadLetterQueueName") - delete(f, "MaxTimeToLive") - delete(f, "MaxReceiveCount") - delete(f, "Policy") - delete(f, "Trace") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyQueueAttributeRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} +type DeadLetterPolicy struct { + // 死信队列。 + // 注意:此字段可能返回 null,表示取不到有效值。 + DeadLetterQueue *string `json:"DeadLetterQueue,omitnil,omitempty" name:"DeadLetterQueue"` -// Predefined struct for user -type ModifyQueueAttributeResponseParams struct { - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} + // 死信队列名字。 + // 注意:此字段可能返回 null,表示取不到有效值。 + DeadLetterQueueName *string `json:"DeadLetterQueueName,omitnil,omitempty" name:"DeadLetterQueueName"` -type ModifyQueueAttributeResponse struct { - *tchttp.BaseResponse - Response *ModifyQueueAttributeResponseParams `json:"Response"` -} + // 最大未消费过期时间。Policy为1时必选。范围300-43200,单位秒,需要小于消息最大保留时间MsgRetentionSeconds。 + // 注意:此字段可能返回 null,表示取不到有效值。 + MaxTimeToLive *uint64 `json:"MaxTimeToLive,omitnil,omitempty" name:"MaxTimeToLive"` -func (r *ModifyQueueAttributeResponse) ToJsonString() string { - b, _ := json.Marshal(r) - return string(b) + // 死信队列策略。 + // 注意:此字段可能返回 null,表示取不到有效值。 + Policy *uint64 `json:"Policy,omitnil,omitempty" name:"Policy"` + + // 最大接收次数。 + // 注意:此字段可能返回 null,表示取不到有效值。 + MaxReceiveCount *uint64 `json:"MaxReceiveCount,omitnil,omitempty" name:"MaxReceiveCount"` } -// FromJsonString It is highly **NOT** recommended to use this function -// because it has no param check, nor strict type check -func (r *ModifyQueueAttributeResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) +type DeadLetterSource struct { + // 消息队列ID。 + // 注意:此字段可能返回 null,表示取不到有效值。 + QueueId *string `json:"QueueId,omitnil,omitempty" name:"QueueId"` + + // 消息队列名字。 + // 注意:此字段可能返回 null,表示取不到有效值。 + QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` } // Predefined struct for user -type ModifySubscriptionAttributeRequestParams struct { - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"` +type DescribeQueueDetailRequestParams struct { + // 标签搜索 + TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` - // 向 Endpoint 推送消息出现错误时,CMQ 推送服务器的重试策略。取值如下: - // (1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息。 - // (2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始1s,后面是2s,4s,8s···由于 Topic 消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是 EXPONENTIAL_DECAY_RETRY。 - NotifyStrategy *string `json:"NotifyStrategy,omitnil,omitempty" name:"NotifyStrategy"` + // 分页时本页获取队列的个数,如果不传递该参数,则该参数默认为20,最大值为50。 + Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - // 推送内容的格式。取值:(1)JSON;(2)SIMPLIFIED,即 raw 格式。如果 Protocol 是 queue,则取值必须为 SIMPLIFIED。如果 Protocol 是 HTTP,两个值均可以,默认值是 JSON。 - NotifyContentFormat *string `json:"NotifyContentFormat,omitnil,omitempty" name:"NotifyContentFormat"` + // 精确匹配QueueName + QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` - // 消息正文。消息标签(用于消息过滤)。标签数量不能超过5个,每个标签不超过16个字符。与(Batch)PublishMessage的MsgTag参数配合使用,规则:1)如果FilterTag没有设置,则无论MsgTag是否有设置,订阅接收所有发布到Topic的消息;2)如果FilterTag数组有值,则只有数组中至少有一个值在MsgTag数组中也存在时(即FilterTag和MsgTag有交集),订阅才接收该发布到Topic的消息;3)如果FilterTag数组有值,但MsgTag没设置,则不接收任何发布到Topic的消息,可以认为是2)的一种特例,此时FilterTag和MsgTag没有交集。规则整体的设计思想是以订阅者的意愿为主。 - FilterTags []*string `json:"FilterTags,omitnil,omitempty" name:"FilterTags"` + // 筛选参数,目前支持QueueName筛选,且仅支持一个关键字 + Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` - // BindingKey数量不超过5个, 每个BindingKey长度不超过64字节,该字段表示订阅接收消息的过滤策略,每个BindingKey最多含有15个“.”, 即最多16个词组。 - BindingKey []*string `json:"BindingKey,omitnil,omitempty" name:"BindingKey"` + // 分页时本页获取队列列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0 + Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` } -type ModifySubscriptionAttributeRequest struct { +type DescribeQueueDetailRequest struct { *tchttp.BaseRequest - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - - // 订阅名字,在单个地域同一帐号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"` + // 标签搜索 + TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` - // 向 Endpoint 推送消息出现错误时,CMQ 推送服务器的重试策略。取值如下: - // (1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息。 - // (2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始1s,后面是2s,4s,8s···由于 Topic 消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是 EXPONENTIAL_DECAY_RETRY。 - NotifyStrategy *string `json:"NotifyStrategy,omitnil,omitempty" name:"NotifyStrategy"` + // 分页时本页获取队列的个数,如果不传递该参数,则该参数默认为20,最大值为50。 + Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - // 推送内容的格式。取值:(1)JSON;(2)SIMPLIFIED,即 raw 格式。如果 Protocol 是 queue,则取值必须为 SIMPLIFIED。如果 Protocol 是 HTTP,两个值均可以,默认值是 JSON。 - NotifyContentFormat *string `json:"NotifyContentFormat,omitnil,omitempty" name:"NotifyContentFormat"` + // 精确匹配QueueName + QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` - // 消息正文。消息标签(用于消息过滤)。标签数量不能超过5个,每个标签不超过16个字符。与(Batch)PublishMessage的MsgTag参数配合使用,规则:1)如果FilterTag没有设置,则无论MsgTag是否有设置,订阅接收所有发布到Topic的消息;2)如果FilterTag数组有值,则只有数组中至少有一个值在MsgTag数组中也存在时(即FilterTag和MsgTag有交集),订阅才接收该发布到Topic的消息;3)如果FilterTag数组有值,但MsgTag没设置,则不接收任何发布到Topic的消息,可以认为是2)的一种特例,此时FilterTag和MsgTag没有交集。规则整体的设计思想是以订阅者的意愿为主。 - FilterTags []*string `json:"FilterTags,omitnil,omitempty" name:"FilterTags"` + // 筛选参数,目前支持QueueName筛选,且仅支持一个关键字 + Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` - // BindingKey数量不超过5个, 每个BindingKey长度不超过64字节,该字段表示订阅接收消息的过滤策略,每个BindingKey最多含有15个“.”, 即最多16个词组。 - BindingKey []*string `json:"BindingKey,omitnil,omitempty" name:"BindingKey"` + // 分页时本页获取队列列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0 + Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` } -func (r *ModifySubscriptionAttributeRequest) ToJsonString() string { +func (r *DescribeQueueDetailRequest) 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 *ModifySubscriptionAttributeRequest) FromJsonString(s string) error { +func (r *DescribeQueueDetailRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } - delete(f, "TopicName") - delete(f, "SubscriptionName") - delete(f, "NotifyStrategy") - delete(f, "NotifyContentFormat") - delete(f, "FilterTags") - delete(f, "BindingKey") + delete(f, "TagKey") + delete(f, "Limit") + delete(f, "QueueName") + delete(f, "Filters") + delete(f, "Offset") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifySubscriptionAttributeRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeQueueDetailRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } // Predefined struct for user -type ModifySubscriptionAttributeResponseParams struct { +type DescribeQueueDetailResponseParams struct { + // 总队列数。 + TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` + + // 队列详情列表。 + QueueSet []*QueueSet `json:"QueueSet,omitnil,omitempty" name:"QueueSet"` + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` } -type ModifySubscriptionAttributeResponse struct { +type DescribeQueueDetailResponse struct { *tchttp.BaseResponse - Response *ModifySubscriptionAttributeResponseParams `json:"Response"` + Response *DescribeQueueDetailResponseParams `json:"Response"` } -func (r *ModifySubscriptionAttributeResponse) ToJsonString() string { +func (r *DescribeQueueDetailResponse) 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 *ModifySubscriptionAttributeResponse) FromJsonString(s string) error { +func (r *DescribeQueueDetailResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } // Predefined struct for user -type ModifyTopicAttributeRequestParams struct { - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` +type DescribeTopicDetailRequestParams struct { + // 标签匹配。 + TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` - // 消息最大长度。取值范围1024 - 65536 Byte(即1 - 64K),默认值65536。 - MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"` + // 分页时本页获取队列的个数,如果不传递该参数,则该参数默认为20,最大值为50。 + Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - // 消息保存时间。取值范围60 - 86400 s(即1分钟 - 1天),默认值86400。 - MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"` + // 精确匹配TopicName。 + TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - // 是否开启消息轨迹标识,true表示开启,false表示不开启,不填表示不开启。 - Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"` + // 目前只支持过滤TopicName , 且只能填一个过滤值。 + Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` + + // 分页时本页获取队列列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0。 + Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` } -type ModifyTopicAttributeRequest struct { +type DescribeTopicDetailRequest struct { *tchttp.BaseRequest - // 主题名字,在单个地域同一帐号下唯一。主题名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` + // 标签匹配。 + TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` - // 消息最大长度。取值范围1024 - 65536 Byte(即1 - 64K),默认值65536。 - MaxMsgSize *uint64 `json:"MaxMsgSize,omitnil,omitempty" name:"MaxMsgSize"` + // 分页时本页获取队列的个数,如果不传递该参数,则该参数默认为20,最大值为50。 + Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` - // 消息保存时间。取值范围60 - 86400 s(即1分钟 - 1天),默认值86400。 - MsgRetentionSeconds *uint64 `json:"MsgRetentionSeconds,omitnil,omitempty" name:"MsgRetentionSeconds"` + // 精确匹配TopicName。 + TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"` - // 是否开启消息轨迹标识,true表示开启,false表示不开启,不填表示不开启。 - Trace *bool `json:"Trace,omitnil,omitempty" name:"Trace"` + // 目前只支持过滤TopicName , 且只能填一个过滤值。 + Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` + + // 分页时本页获取队列列表的起始位置。如果填写了该值,必须也要填写 limit 。该值缺省时,后台取默认值 0。 + Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` } -func (r *ModifyTopicAttributeRequest) ToJsonString() string { +func (r *DescribeTopicDetailRequest) 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 *ModifyTopicAttributeRequest) FromJsonString(s string) error { +func (r *DescribeTopicDetailRequest) FromJsonString(s string) error { f := make(map[string]interface{}) if err := json.Unmarshal([]byte(s), &f); err != nil { return err } + delete(f, "TagKey") + delete(f, "Limit") delete(f, "TopicName") - delete(f, "MaxMsgSize") - delete(f, "MsgRetentionSeconds") - delete(f, "Trace") + delete(f, "Filters") + delete(f, "Offset") if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifyTopicAttributeRequest has unknown keys!", "") + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeTopicDetailRequest has unknown keys!", "") } return json.Unmarshal([]byte(s), &r) } // Predefined struct for user -type ModifyTopicAttributeResponseParams struct { +type DescribeTopicDetailResponseParams struct { + // 主题列表总数。 + TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` + + // 主题详情列表。 + TopicSet []*TopicSet `json:"TopicSet,omitnil,omitempty" name:"TopicSet"` + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` } -type ModifyTopicAttributeResponse struct { +type DescribeTopicDetailResponse struct { *tchttp.BaseResponse - Response *ModifyTopicAttributeResponseParams `json:"Response"` + Response *DescribeTopicDetailResponseParams `json:"Response"` } -func (r *ModifyTopicAttributeResponse) ToJsonString() string { +func (r *DescribeTopicDetailResponse) 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 *ModifyTopicAttributeResponse) FromJsonString(s string) error { +func (r *DescribeTopicDetailResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type Filter struct { + // 数值 + Values []*string `json:"Values,omitnil,omitempty" name:"Values"` + + // 过滤参数的名字 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` +} + type QueueSet struct { // 消息队列ID。 QueueId *string `json:"QueueId,omitnil,omitempty" name:"QueueId"` @@ -1446,121 +340,6 @@ type QueueSet struct { Migrate *int64 `json:"Migrate,omitnil,omitempty" name:"Migrate"` } -// Predefined struct for user -type RewindQueueRequestParams struct { - // 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` - - // 设定该时间,则(Batch)receiveMessage接口,会按照生产消息的先后顺序消费该时间戳以后的消息。 - StartConsumeTime *uint64 `json:"StartConsumeTime,omitnil,omitempty" name:"StartConsumeTime"` -} - -type RewindQueueRequest struct { - *tchttp.BaseRequest - - // 队列名字,在单个地域同一帐号下唯一。队列名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` - - // 设定该时间,则(Batch)receiveMessage接口,会按照生产消息的先后顺序消费该时间戳以后的消息。 - StartConsumeTime *uint64 `json:"StartConsumeTime,omitnil,omitempty" name:"StartConsumeTime"` -} - -func (r *RewindQueueRequest) 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 *RewindQueueRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "QueueName") - delete(f, "StartConsumeTime") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "RewindQueueRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type RewindQueueResponseParams struct { - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type RewindQueueResponse struct { - *tchttp.BaseResponse - Response *RewindQueueResponseParams `json:"Response"` -} - -func (r *RewindQueueResponse) 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 *RewindQueueResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - -type Subscription struct { - // 该订阅待投递的消息数。 - // 注意:此字段可能返回 null,表示取不到有效值。 - MsgCount *uint64 `json:"MsgCount,omitnil,omitempty" name:"MsgCount"` - - // 表示订阅接收消息的过滤策略。 - // 注意:此字段可能返回 null,表示取不到有效值。 - BindingKey []*string `json:"BindingKey,omitnil,omitempty" name:"BindingKey"` - - // 接收通知的 endpoint,根据协议 protocol 区分:对于 HTTP,endpoint 必须以http://开头,host 可以是域名或 IP;对于 queue,则填 queueName。 - // 注意:此字段可能返回 null,表示取不到有效值。 - Endpoint *string `json:"Endpoint,omitnil,omitempty" name:"Endpoint"` - - // 订阅拥有者的 APPID。 - // 注意:此字段可能返回 null,表示取不到有效值。 - TopicOwner *uint64 `json:"TopicOwner,omitnil,omitempty" name:"TopicOwner"` - - // 向 endpoint 推送消息出现错误时,CMQ 推送服务器的重试策略。取值有: - // (1)BACKOFF_RETRY,退避重试。每隔一定时间重试一次,重试够一定次数后,就把该消息丢弃,继续推送下一条消息; - // (2)EXPONENTIAL_DECAY_RETRY,指数衰退重试。每次重试的间隔是指数递增的,例如开始 1s,后面是 2s,4s,8s...由于 Topic 消息的周期是一天,所以最多重试一天就把消息丢弃。默认值是 EXPONENTIAL_DECAY_RETRY。 - // 注意:此字段可能返回 null,表示取不到有效值。 - NotifyStrategy *string `json:"NotifyStrategy,omitnil,omitempty" name:"NotifyStrategy"` - - // 推送内容的格式。取值:(1)JSON;(2)SIMPLIFIED,即 raw 格式。如果 protocol 是 queue,则取值必须为 SIMPLIFIED。如果 protocol 是 HTTP,两个值均可以,默认值是 JSON。 - // 注意:此字段可能返回 null,表示取不到有效值。 - NotifyContentFormat *string `json:"NotifyContentFormat,omitnil,omitempty" name:"NotifyContentFormat"` - - // 最后一次修改订阅属性的时间。返回 Unix 时间戳,精确到秒。 - // 注意:此字段可能返回 null,表示取不到有效值。 - LastModifyTime *uint64 `json:"LastModifyTime,omitnil,omitempty" name:"LastModifyTime"` - - // 描述用户创建订阅时选择的过滤策略: - // filterType = 1表示用户使用 filterTag 标签过滤 - // filterType = 2表示用户使用 bindingKey 过滤。 - // 注意:此字段可能返回 null,表示取不到有效值。 - FilterTags []*string `json:"FilterTags,omitnil,omitempty" name:"FilterTags"` - - // 订阅名字,在单个地域同一账号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。 - // 注意:此字段可能返回 null,表示取不到有效值。 - SubscriptionName *string `json:"SubscriptionName,omitnil,omitempty" name:"SubscriptionName"` - - // 订阅的协议,目前支持两种协议:HTTP、queue。使用 HTTP 协议,用户需自己搭建接受消息的 Web Server。使用 queue,消息会自动推送到 CMQ queue,用户可以并发地拉取消息。 - // 注意:此字段可能返回 null,表示取不到有效值。 - Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` - - // 订阅 ID。订阅 ID 在拉取监控数据时会用到。 - // 注意:此字段可能返回 null,表示取不到有效值。 - SubscriptionId *string `json:"SubscriptionId,omitnil,omitempty" name:"SubscriptionId"` - - // 订阅的创建时间。返回 Unix 时间戳,精确到秒。 - // 注意:此字段可能返回 null,表示取不到有效值。 - CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` -} - type Tag struct { // 标签Key // 注意:此字段可能返回 null,表示取不到有效值。 @@ -1635,58 +414,4 @@ type TransactionPolicy struct { // 第一次回查时间。 // 注意:此字段可能返回 null,表示取不到有效值。 FirstQueryInterval *uint64 `json:"FirstQueryInterval,omitnil,omitempty" name:"FirstQueryInterval"` -} - -// Predefined struct for user -type UnbindDeadLetterRequestParams struct { - // 死信策略源队列名称,调用本接口会清空该队列的死信队列策略。 - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` -} - -type UnbindDeadLetterRequest struct { - *tchttp.BaseRequest - - // 死信策略源队列名称,调用本接口会清空该队列的死信队列策略。 - QueueName *string `json:"QueueName,omitnil,omitempty" name:"QueueName"` -} - -func (r *UnbindDeadLetterRequest) 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 *UnbindDeadLetterRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "QueueName") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "UnbindDeadLetterRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type UnbindDeadLetterResponseParams struct { - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type UnbindDeadLetterResponse struct { - *tchttp.BaseResponse - Response *UnbindDeadLetterResponseParams `json:"Response"` -} - -func (r *UnbindDeadLetterResponse) 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 *UnbindDeadLetterResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) } \ No newline at end of file diff --git a/tencentcloud/cms/go.mod b/tencentcloud/cms/go.mod index f3e6d8ff96..a692c06395 100644 --- a/tencentcloud/cms/go.mod +++ b/tencentcloud/cms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/common/http/request.go b/tencentcloud/common/http/request.go index a3935141ca..6e645b982f 100644 --- a/tencentcloud/common/http/request.go +++ b/tencentcloud/common/http/request.go @@ -265,7 +265,7 @@ func CompleteCommonParams(request Request, region string, requestClient 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.1078" + params["RequestClient"] = "SDK_GO_1.0.1079" if requestClient != "" { params["RequestClient"] += ": " + requestClient } diff --git a/tencentcloud/config/go.mod b/tencentcloud/config/go.mod index 39607729ec..6ce2c667d2 100644 --- a/tencentcloud/config/go.mod +++ b/tencentcloud/config/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/config go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/config/v20220802/client.go b/tencentcloud/config/v20220802/client.go index 8b2f579bd3..1f35111ad5 100644 --- a/tencentcloud/config/v20220802/client.go +++ b/tencentcloud/config/v20220802/client.go @@ -45,6 +45,61 @@ func NewClient(credential common.CredentialIface, region string, clientProfile * } +func NewDescribeAggregateDiscoveredResourceRequest() (request *DescribeAggregateDiscoveredResourceRequest) { + request = &DescribeAggregateDiscoveredResourceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("config", APIVersion, "DescribeAggregateDiscoveredResource") + + + return +} + +func NewDescribeAggregateDiscoveredResourceResponse() (response *DescribeAggregateDiscoveredResourceResponse) { + response = &DescribeAggregateDiscoveredResourceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeAggregateDiscoveredResource +// 账号组资源详情 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND_ACCOUNTGROUPISNOTEXIST = "ResourceNotFound.AccountGroupIsNotExist" +// RESOURCENOTFOUND_RESOURCENOTEXIST = "ResourceNotFound.ResourceNotExist" +func (c *Client) DescribeAggregateDiscoveredResource(request *DescribeAggregateDiscoveredResourceRequest) (response *DescribeAggregateDiscoveredResourceResponse, err error) { + return c.DescribeAggregateDiscoveredResourceWithContext(context.Background(), request) +} + +// DescribeAggregateDiscoveredResource +// 账号组资源详情 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND_ACCOUNTGROUPISNOTEXIST = "ResourceNotFound.AccountGroupIsNotExist" +// RESOURCENOTFOUND_RESOURCENOTEXIST = "ResourceNotFound.ResourceNotExist" +func (c *Client) DescribeAggregateDiscoveredResourceWithContext(ctx context.Context, request *DescribeAggregateDiscoveredResourceRequest) (response *DescribeAggregateDiscoveredResourceResponse, err error) { + if request == nil { + request = NewDescribeAggregateDiscoveredResourceRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeAggregateDiscoveredResource require credential") + } + + request.SetContext(ctx) + + response = NewDescribeAggregateDiscoveredResourceResponse() + err = c.Send(request, response) + return +} + func NewDescribeDiscoveredResourceRequest() (request *DescribeDiscoveredResourceRequest) { request = &DescribeDiscoveredResourceRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -147,6 +202,59 @@ func (c *Client) ListAggregateConfigRulesWithContext(ctx context.Context, reques return } +func NewListAggregateDiscoveredResourcesRequest() (request *ListAggregateDiscoveredResourcesRequest) { + request = &ListAggregateDiscoveredResourcesRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("config", APIVersion, "ListAggregateDiscoveredResources") + + + return +} + +func NewListAggregateDiscoveredResourcesResponse() (response *ListAggregateDiscoveredResourcesResponse) { + response = &ListAggregateDiscoveredResourcesResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ListAggregateDiscoveredResources +// 账号组获取资源列表 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND_ACCOUNTGROUPISNOTEXIST = "ResourceNotFound.AccountGroupIsNotExist" +func (c *Client) ListAggregateDiscoveredResources(request *ListAggregateDiscoveredResourcesRequest) (response *ListAggregateDiscoveredResourcesResponse, err error) { + return c.ListAggregateDiscoveredResourcesWithContext(context.Background(), request) +} + +// ListAggregateDiscoveredResources +// 账号组获取资源列表 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// RESOURCENOTFOUND_ACCOUNTGROUPISNOTEXIST = "ResourceNotFound.AccountGroupIsNotExist" +func (c *Client) ListAggregateDiscoveredResourcesWithContext(ctx context.Context, request *ListAggregateDiscoveredResourcesRequest) (response *ListAggregateDiscoveredResourcesResponse, err error) { + if request == nil { + request = NewListAggregateDiscoveredResourcesRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ListAggregateDiscoveredResources require credential") + } + + request.SetContext(ctx) + + response = NewListAggregateDiscoveredResourcesResponse() + err = c.Send(request, response) + return +} + func NewListConfigRulesRequest() (request *ListConfigRulesRequest) { request = &ListConfigRulesRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/config/v20220802/errors.go b/tencentcloud/config/v20220802/errors.go index 0ed9b60247..d6e82b91aa 100644 --- a/tencentcloud/config/v20220802/errors.go +++ b/tencentcloud/config/v20220802/errors.go @@ -17,6 +17,9 @@ package v20220802 const ( // 此产品的特有错误码 + // 内部错误。 + INTERNALERROR = "InternalError" + // 参数错误。 INVALIDPARAMETER = "InvalidParameter" diff --git a/tencentcloud/config/v20220802/models.go b/tencentcloud/config/v20220802/models.go index 6d1f1972dd..6af4e9787f 100644 --- a/tencentcloud/config/v20220802/models.go +++ b/tencentcloud/config/v20220802/models.go @@ -20,6 +20,52 @@ import ( "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/json" ) +type AggregateResourceInfo struct { + // 资源类型 + ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` + + // 资源名称 + ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"` + + // 资源ID + ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` + + // 地域 + // 注意:此字段可能返回 null,表示取不到有效值。 + ResourceRegion *string `json:"ResourceRegion,omitnil,omitempty" name:"ResourceRegion"` + + // 资源状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + ResourceStatus *string `json:"ResourceStatus,omitnil,omitempty" name:"ResourceStatus"` + + // 是否删除 1:已删除 0:未删除 + // 注意:此字段可能返回 null,表示取不到有效值。 + ResourceDelete *uint64 `json:"ResourceDelete,omitnil,omitempty" name:"ResourceDelete"` + + // 资源创建时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + ResourceCreateTime *string `json:"ResourceCreateTime,omitnil,omitempty" name:"ResourceCreateTime"` + + // 标签信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` + + // 可用区 + // 注意:此字段可能返回 null,表示取不到有效值。 + ResourceZone *string `json:"ResourceZone,omitnil,omitempty" name:"ResourceZone"` + + // 合规状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + ComplianceResult *string `json:"ComplianceResult,omitnil,omitempty" name:"ComplianceResult"` + + // 资源所属用户ID + ResourceOwnerId *uint64 `json:"ResourceOwnerId,omitnil,omitempty" name:"ResourceOwnerId"` + + // 用户昵称 + // 注意:此字段可能返回 null,表示取不到有效值。 + ResourceOwnerName *string `json:"ResourceOwnerName,omitnil,omitempty" name:"ResourceOwnerName"` +} + type Annotation struct { // 资源当前实际配置。长度为0~256位字符,即资源不合规配置 // 注意:此字段可能返回 null,表示取不到有效值。 @@ -159,6 +205,124 @@ type ConfigRule struct { ManageTriggerType []*string `json:"ManageTriggerType,omitnil,omitempty" name:"ManageTriggerType"` } +// Predefined struct for user +type DescribeAggregateDiscoveredResourceRequestParams struct { + // 资源ID + ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` + + // 资源类型 + ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` + + // 资源地域 + ResourceRegion *string `json:"ResourceRegion,omitnil,omitempty" name:"ResourceRegion"` + + // 账号组ID + AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"` + + // 资源所属用户ID + ResourceOwnerId *uint64 `json:"ResourceOwnerId,omitnil,omitempty" name:"ResourceOwnerId"` +} + +type DescribeAggregateDiscoveredResourceRequest struct { + *tchttp.BaseRequest + + // 资源ID + ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` + + // 资源类型 + ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` + + // 资源地域 + ResourceRegion *string `json:"ResourceRegion,omitnil,omitempty" name:"ResourceRegion"` + + // 账号组ID + AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"` + + // 资源所属用户ID + ResourceOwnerId *uint64 `json:"ResourceOwnerId,omitnil,omitempty" name:"ResourceOwnerId"` +} + +func (r *DescribeAggregateDiscoveredResourceRequest) 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 *DescribeAggregateDiscoveredResourceRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ResourceId") + delete(f, "ResourceType") + delete(f, "ResourceRegion") + delete(f, "AccountGroupId") + delete(f, "ResourceOwnerId") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAggregateDiscoveredResourceRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeAggregateDiscoveredResourceResponseParams struct { + // 资源Id + // 注意:此字段可能返回 null,表示取不到有效值。 + ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"` + + // 资源类型 + // 注意:此字段可能返回 null,表示取不到有效值。 + ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` + + // 资源名 + // 注意:此字段可能返回 null,表示取不到有效值。 + ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"` + + // 资源地域 + // 注意:此字段可能返回 null,表示取不到有效值。 + ResourceRegion *string `json:"ResourceRegion,omitnil,omitempty" name:"ResourceRegion"` + + // 资源可用区 + // 注意:此字段可能返回 null,表示取不到有效值。 + ResourceZone *string `json:"ResourceZone,omitnil,omitempty" name:"ResourceZone"` + + // 资源配置 + // 注意:此字段可能返回 null,表示取不到有效值。 + Configuration *string `json:"Configuration,omitnil,omitempty" name:"Configuration"` + + // 资源创建时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + ResourceCreateTime *string `json:"ResourceCreateTime,omitnil,omitempty" name:"ResourceCreateTime"` + + // 资源标签 + // 注意:此字段可能返回 null,表示取不到有效值。 + Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` + + // 资源更新时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeAggregateDiscoveredResourceResponse struct { + *tchttp.BaseResponse + Response *DescribeAggregateDiscoveredResourceResponseParams `json:"Response"` +} + +func (r *DescribeAggregateDiscoveredResourceResponse) 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 *DescribeAggregateDiscoveredResourceResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeDiscoveredResourceRequestParams struct { // 资源ID @@ -449,6 +613,102 @@ func (r *ListAggregateConfigRulesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type ListAggregateDiscoveredResourcesRequestParams struct { + // 每页显示数量 + MaxResults *uint64 `json:"MaxResults,omitnil,omitempty" name:"MaxResults"` + + // 账号组ID + AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"` + + // resourceName:资源名 resourceId :资源ID + Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` + + // 标签 + Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` + + // 下一页token + NextToken *string `json:"NextToken,omitnil,omitempty" name:"NextToken"` + + // 排序方式 asc、desc + OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` +} + +type ListAggregateDiscoveredResourcesRequest struct { + *tchttp.BaseRequest + + // 每页显示数量 + MaxResults *uint64 `json:"MaxResults,omitnil,omitempty" name:"MaxResults"` + + // 账号组ID + AccountGroupId *string `json:"AccountGroupId,omitnil,omitempty" name:"AccountGroupId"` + + // resourceName:资源名 resourceId :资源ID + Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` + + // 标签 + Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` + + // 下一页token + NextToken *string `json:"NextToken,omitnil,omitempty" name:"NextToken"` + + // 排序方式 asc、desc + OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` +} + +func (r *ListAggregateDiscoveredResourcesRequest) 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 *ListAggregateDiscoveredResourcesRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "MaxResults") + delete(f, "AccountGroupId") + delete(f, "Filters") + delete(f, "Tags") + delete(f, "NextToken") + delete(f, "OrderType") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ListAggregateDiscoveredResourcesRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ListAggregateDiscoveredResourcesResponseParams struct { + // 详情 + Items []*AggregateResourceInfo `json:"Items,omitnil,omitempty" name:"Items"` + + // 下一页 + // 注意:此字段可能返回 null,表示取不到有效值。 + NextToken *string `json:"NextToken,omitnil,omitempty" name:"NextToken"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ListAggregateDiscoveredResourcesResponse struct { + *tchttp.BaseResponse + Response *ListAggregateDiscoveredResourcesResponseParams `json:"Response"` +} + +func (r *ListAggregateDiscoveredResourcesResponse) 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 *ListAggregateDiscoveredResourcesResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type ListConfigRulesRequestParams struct { // 每页数量。 diff --git a/tencentcloud/controlcenter/go.mod b/tencentcloud/controlcenter/go.mod index df06519e39..4993ed77a3 100644 --- a/tencentcloud/controlcenter/go.mod +++ b/tencentcloud/controlcenter/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/controlcenter go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cpdp/go.mod b/tencentcloud/cpdp/go.mod index 3144b9baad..93f8d79002 100644 --- a/tencentcloud/cpdp/go.mod +++ b/tencentcloud/cpdp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/csip/go.mod b/tencentcloud/csip/go.mod index 41d29a88c7..f6421663bc 100644 --- a/tencentcloud/csip/go.mod +++ b/tencentcloud/csip/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/csip go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/csxg/go.mod b/tencentcloud/csxg/go.mod index 6415175d75..aea8f46253 100644 --- a/tencentcloud/csxg/go.mod +++ b/tencentcloud/csxg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/csxg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/csxg/v20230303/client.go b/tencentcloud/csxg/v20230303/client.go index ecfd7553fa..1a78a95583 100644 --- a/tencentcloud/csxg/v20230303/client.go +++ b/tencentcloud/csxg/v20230303/client.go @@ -272,7 +272,24 @@ func NewModify5GInstanceAttributeResponse() (response *Modify5GInstanceAttribute // 修改5G入云服务 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" +// 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) Modify5GInstanceAttribute(request *Modify5GInstanceAttributeRequest) (response *Modify5GInstanceAttributeResponse, err error) { return c.Modify5GInstanceAttributeWithContext(context.Background(), request) } @@ -281,7 +298,24 @@ func (c *Client) Modify5GInstanceAttribute(request *Modify5GInstanceAttributeReq // 修改5G入云服务 // // 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" +// 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) Modify5GInstanceAttributeWithContext(ctx context.Context, request *Modify5GInstanceAttributeRequest) (response *Modify5GInstanceAttributeResponse, err error) { if request == nil { request = NewModify5GInstanceAttributeRequest() diff --git a/tencentcloud/csxg/v20230303/errors.go b/tencentcloud/csxg/v20230303/errors.go index 074b52e0f0..8998c41619 100644 --- a/tencentcloud/csxg/v20230303/errors.go +++ b/tencentcloud/csxg/v20230303/errors.go @@ -17,9 +17,57 @@ package v20230303 const ( // 此产品的特有错误码 + // CAM签名/鉴权错误。 + AUTHFAILURE = "AuthFailure" + + // 请求未CAM授权 + AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" + + // 操作失败。 + 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" ) diff --git a/tencentcloud/cvm/go.mod b/tencentcloud/cvm/go.mod index 38bf5bcffc..7192c46532 100644 --- a/tencentcloud/cvm/go.mod +++ b/tencentcloud/cvm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cvm/v20170312/models.go b/tencentcloud/cvm/v20170312/models.go index 89fd3e022e..9b29337bbf 100644 --- a/tencentcloud/cvm/v20170312/models.go +++ b/tencentcloud/cvm/v20170312/models.go @@ -9524,7 +9524,7 @@ type SystemDisk struct { //
  • CLOUD_BASIC:普通云硬盘
  • //
  • CLOUD_SSD:SSD云硬盘
  • //
  • CLOUD_PREMIUM:高性能云硬盘
  • - //
  • CLOUD_BSSD:通用性SSD云硬盘
  • + //
  • CLOUD_BSSD:通用型SSD云硬盘
  • //
  • CLOUD_HSSD:增强型SSD云硬盘
  • //
  • CLOUD_TSSD:极速型SSD云硬盘

  • // 默认取值:当前有库存的硬盘类型。 diff --git a/tencentcloud/cwp/go.mod b/tencentcloud/cwp/go.mod index 22d437132e..6a2851f247 100644 --- a/tencentcloud/cwp/go.mod +++ b/tencentcloud/cwp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cwp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cws/go.mod b/tencentcloud/cws/go.mod index f9cb7e9116..4a5333f82d 100644 --- a/tencentcloud/cws/go.mod +++ b/tencentcloud/cws/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cws go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/cynosdb/go.mod b/tencentcloud/cynosdb/go.mod index 2e4ed985b6..d91957166f 100644 --- a/tencentcloud/cynosdb/go.mod +++ b/tencentcloud/cynosdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cynosdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/dasb/go.mod b/tencentcloud/dasb/go.mod index 34e838bc84..7aad980ab5 100644 --- a/tencentcloud/dasb/go.mod +++ b/tencentcloud/dasb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dasb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/dataintegration/go.mod b/tencentcloud/dataintegration/go.mod index 27dee97d05..fe7c23c9e4 100644 --- a/tencentcloud/dataintegration/go.mod +++ b/tencentcloud/dataintegration/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dataintegration go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/dayu/go.mod b/tencentcloud/dayu/go.mod index d371c9e91c..4c1b95dc6b 100644 --- a/tencentcloud/dayu/go.mod +++ b/tencentcloud/dayu/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dayu go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/dbbrain/go.mod b/tencentcloud/dbbrain/go.mod index fee1d16f34..4ee66e4f80 100644 --- a/tencentcloud/dbbrain/go.mod +++ b/tencentcloud/dbbrain/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbbrain go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/dbdc/go.mod b/tencentcloud/dbdc/go.mod index 099823888e..d11ec596a2 100644 --- a/tencentcloud/dbdc/go.mod +++ b/tencentcloud/dbdc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dbdc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/dc/go.mod b/tencentcloud/dc/go.mod index 5ebeea5c89..d9b1ca9149 100644 --- a/tencentcloud/dc/go.mod +++ b/tencentcloud/dc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/dcdb/go.mod b/tencentcloud/dcdb/go.mod index 702fefabf0..7ddab4aa3e 100644 --- a/tencentcloud/dcdb/go.mod +++ b/tencentcloud/dcdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dcdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/dlc/go.mod b/tencentcloud/dlc/go.mod index 9581aa0691..ca3507c356 100644 --- a/tencentcloud/dlc/go.mod +++ b/tencentcloud/dlc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dlc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/dnspod/go.mod b/tencentcloud/dnspod/go.mod index 72262c78de..4614b5af95 100644 --- a/tencentcloud/dnspod/go.mod +++ b/tencentcloud/dnspod/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/domain/go.mod b/tencentcloud/domain/go.mod index 05a0d662c6..a2aa67dd89 100644 --- a/tencentcloud/domain/go.mod +++ b/tencentcloud/domain/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/domain go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/drm/go.mod b/tencentcloud/drm/go.mod index 9169860ae9..13ab173a27 100644 --- a/tencentcloud/drm/go.mod +++ b/tencentcloud/drm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/drm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ds/go.mod b/tencentcloud/ds/go.mod index 9b54e81d1d..8cd8bd731e 100644 --- a/tencentcloud/ds/go.mod +++ b/tencentcloud/ds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/dsgc/go.mod b/tencentcloud/dsgc/go.mod index beb7bc88b2..ee9df8842a 100644 --- a/tencentcloud/dsgc/go.mod +++ b/tencentcloud/dsgc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dsgc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/dtf/go.mod b/tencentcloud/dtf/go.mod index 8ebf6f483d..966c0fca17 100644 --- a/tencentcloud/dtf/go.mod +++ b/tencentcloud/dtf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dtf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/dts/go.mod b/tencentcloud/dts/go.mod index 0d8280ca80..42e66e020c 100644 --- a/tencentcloud/dts/go.mod +++ b/tencentcloud/dts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/eb/go.mod b/tencentcloud/eb/go.mod index 38f8ea5645..de0d2b00c4 100644 --- a/tencentcloud/eb/go.mod +++ b/tencentcloud/eb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ecc/go.mod b/tencentcloud/ecc/go.mod index d1bb513e0a..60e3dec1eb 100644 --- a/tencentcloud/ecc/go.mod +++ b/tencentcloud/ecc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ecdn/go.mod b/tencentcloud/ecdn/go.mod index 64d73ffa21..faaff3cc7c 100644 --- a/tencentcloud/ecdn/go.mod +++ b/tencentcloud/ecdn/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecdn go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ecm/go.mod b/tencentcloud/ecm/go.mod index 21ff62634c..ccd47f0191 100644 --- a/tencentcloud/ecm/go.mod +++ b/tencentcloud/ecm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ecm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ecm/v20190719/models.go b/tencentcloud/ecm/v20190719/models.go index 71c8430280..993945d270 100644 --- a/tencentcloud/ecm/v20190719/models.go +++ b/tencentcloud/ecm/v20190719/models.go @@ -5136,7 +5136,6 @@ type DescribeNetworkInterfacesResponseParams struct { TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 实例详细信息列表。 - // 注意:此字段可能返回 null,表示取不到有效值。 NetworkInterfaceSet []*NetworkInterface `json:"NetworkInterfaceSet,omitnil,omitempty" name:"NetworkInterfaceSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 @@ -5759,7 +5758,6 @@ type DescribeRouteTablesResponseParams struct { TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 路由表列表 - // 注意:此字段可能返回 null,表示取不到有效值。 RouteTableSet []*RouteTable `json:"RouteTableSet,omitnil,omitempty" name:"RouteTableSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 @@ -6231,7 +6229,6 @@ type DescribeSubnetsResponseParams struct { TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 子网对象。 - // 注意:此字段可能返回 null,表示取不到有效值。 SubnetSet []*Subnet `json:"SubnetSet,omitnil,omitempty" name:"SubnetSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 @@ -6604,7 +6601,6 @@ type DescribeVpcsResponseParams struct { TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 私有网络对象。 - // 注意:此字段可能返回 null,表示取不到有效值。 VpcSet []*VpcInfo `json:"VpcSet,omitnil,omitempty" name:"VpcSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 @@ -10591,7 +10587,6 @@ type PrivateIpAddressSpecification struct { PrivateIpAddress *string `json:"PrivateIpAddress,omitnil,omitempty" name:"PrivateIpAddress"` // 是否是主IP。 - // 注意:此字段可能返回 null,表示取不到有效值。 Primary *bool `json:"Primary,omitnil,omitempty" name:"Primary"` // 公网IP地址。 @@ -10604,7 +10599,6 @@ type PrivateIpAddressSpecification struct { Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 公网IP是否被封堵。 - // 注意:此字段可能返回 null,表示取不到有效值。 IsWanIpBlocked *bool `json:"IsWanIpBlocked,omitnil,omitempty" name:"IsWanIpBlocked"` // IP状态: @@ -12024,7 +12018,6 @@ type SecurityGroupPolicy struct { PolicyDescription *string `json:"PolicyDescription,omitnil,omitempty" name:"PolicyDescription"` // 修改时间,例如 2020-07-22 19:27:23 - // 注意:此字段可能返回 null,表示取不到有效值。 ModifyTime *string `json:"ModifyTime,omitnil,omitempty" name:"ModifyTime"` // 网段或IPv6(互斥)。 @@ -12497,11 +12490,9 @@ type SystemDisk struct { type Tag struct { // 标签健。 - // 注意:此字段可能返回 null,表示取不到有效值。 Key *string `json:"Key,omitnil,omitempty" name:"Key"` // 标签值。 - // 注意:此字段可能返回 null,表示取不到有效值。 Value *string `json:"Value,omitnil,omitempty" name:"Value"` } diff --git a/tencentcloud/eiam/go.mod b/tencentcloud/eiam/go.mod index b557edf2bf..e6a6db5a49 100644 --- a/tencentcloud/eiam/go.mod +++ b/tencentcloud/eiam/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eiam go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/eis/go.mod b/tencentcloud/eis/go.mod index 8cb9ad1490..be621ac801 100644 --- a/tencentcloud/eis/go.mod +++ b/tencentcloud/eis/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/eis go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/emr/go.mod b/tencentcloud/emr/go.mod index c818300001..41d5bb5cb2 100644 --- a/tencentcloud/emr/go.mod +++ b/tencentcloud/emr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/emr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/es/go.mod b/tencentcloud/es/go.mod index de232b9751..9c67c05d3e 100644 --- a/tencentcloud/es/go.mod +++ b/tencentcloud/es/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/es go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ess/go.mod b/tencentcloud/ess/go.mod index 8abd28c827..867708112b 100644 --- a/tencentcloud/ess/go.mod +++ b/tencentcloud/ess/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ess go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ess/v20201111/client.go b/tencentcloud/ess/v20201111/client.go index ba9976a5f9..906be4c9cd 100644 --- a/tencentcloud/ess/v20201111/client.go +++ b/tencentcloud/ess/v20201111/client.go @@ -1299,7 +1299,11 @@ func NewCreateDocumentResponse() (response *CreateDocumentResponse) { // // ### 填充模板中定义的填写控件 // -// 模板中配置的发起人填充控件可以通过本接口的**FormFields数组**字段填充 +// 模板中配置的发起人填充控件可以通过本接口的**FormFields数组**字段填充。 +// +// +// +// **填充填写控件需要进行Pdf合成工作,文档合成完成后会收到[文档合成完成后回调通知](https://qian.tencent.com/developers/company/callback_types_file_resources),建议在收到此回调后再调用 [StartFlow](https://qian.tencent.com/developers/companyApis/startFlows/StartFlow) 接口。** // // // @@ -1430,7 +1434,11 @@ func (c *Client) CreateDocument(request *CreateDocumentRequest) (response *Creat // // ### 填充模板中定义的填写控件 // -// 模板中配置的发起人填充控件可以通过本接口的**FormFields数组**字段填充 +// 模板中配置的发起人填充控件可以通过本接口的**FormFields数组**字段填充。 +// +// +// +// **填充填写控件需要进行Pdf合成工作,文档合成完成后会收到[文档合成完成后回调通知](https://qian.tencent.com/developers/company/callback_types_file_resources),建议在收到此回调后再调用 [StartFlow](https://qian.tencent.com/developers/companyApis/startFlows/StartFlow) 接口。** // // // @@ -8614,17 +8622,55 @@ func NewDescribeFlowComponentsResponse() (response *DescribeFlowComponentsRespon } // DescribeFlowComponents -// 可以根据合同流程ID查询该合同流程相关联的填写控件信息和填写内容,包括填写控件的归属方、填写控件是否已经填写以及填写的具体内容。 +// 您可以通过合同流程ID查询相关的填写控件信息及其内容。这包括控件的归属方、控件的填写状态(是否已填写)以及具体的填写内容。 // // // +// 无论是发起方还是签署方填写的控件,均包含在查询结果中。 +// // // -// 如下图模板所示,发起后对方填写后,可以获取红框中用户填写的信息。 +// ![image](https://qcloudimg.tencent-cloud.cn/raw/08f6ea50d3ae88b51c280c2b17c2a126.png) // // // -// ![image](https://qcloudimg.tencent-cloud.cn/raw/08f6ea50d3ae88b51c280c2b17c2a126.png) +// +// +// ### 2. 那些控件会出现在结果里边? +// +// **A.不返回的控件类型:** +// +// - 动态表格 +// +// - 附件控件 +// +// - 水印控件 +// +// +// +// **B.返回的控件类型:** +// +// - 单行文本 +// +// - 多行文本 +// +// - 勾选框控件 +// +// - 数字控件 +// +// - 日期控件 +// +// - 图片控件(图片下载地址) +// +// - 邮箱控件 +// +// - 地址控件 +// +// - 学历控件 +// +// - 性别控件 +// +// - 省市区控件 // // 可能返回的错误码: // FAILEDOPERATION_FLOWHASNODOCUMENT = "FailedOperation.FlowHasNoDocument" @@ -8637,17 +8683,55 @@ func (c *Client) DescribeFlowComponents(request *DescribeFlowComponentsRequest) } // DescribeFlowComponents -// 可以根据合同流程ID查询该合同流程相关联的填写控件信息和填写内容,包括填写控件的归属方、填写控件是否已经填写以及填写的具体内容。 +// 您可以通过合同流程ID查询相关的填写控件信息及其内容。这包括控件的归属方、控件的填写状态(是否已填写)以及具体的填写内容。 // // // +// 无论是发起方还是签署方填写的控件,均包含在查询结果中。 +// // // -// 如下图模板所示,发起后对方填写后,可以获取红框中用户填写的信息。 +// ![image](https://qcloudimg.tencent-cloud.cn/raw/08f6ea50d3ae88b51c280c2b17c2a126.png) // // // -// ![image](https://qcloudimg.tencent-cloud.cn/raw/08f6ea50d3ae88b51c280c2b17c2a126.png) +// +// +// ### 2. 那些控件会出现在结果里边? +// +// **A.不返回的控件类型:** +// +// - 动态表格 +// +// - 附件控件 +// +// - 水印控件 +// +// +// +// **B.返回的控件类型:** +// +// - 单行文本 +// +// - 多行文本 +// +// - 勾选框控件 +// +// - 数字控件 +// +// - 日期控件 +// +// - 图片控件(图片下载地址) +// +// - 邮箱控件 +// +// - 地址控件 +// +// - 学历控件 +// +// - 性别控件 +// +// - 省市区控件 // // 可能返回的错误码: // FAILEDOPERATION_FLOWHASNODOCUMENT = "FailedOperation.FlowHasNoDocument" diff --git a/tencentcloud/ess/v20201111/models.go b/tencentcloud/ess/v20201111/models.go index a0806296e9..8c41fdefa9 100644 --- a/tencentcloud/ess/v20201111/models.go +++ b/tencentcloud/ess/v20201111/models.go @@ -2478,11 +2478,9 @@ type CreateDocumentResponseParams struct { // // 注: `1.如果是预览模式(即NeedPreview设置为true)时, 才会有此预览链接URL` // `2.当使用的模板中存在动态表格控件时,预览结果中没有动态表格的填写内容` - // 注意:此字段可能返回 null,表示取不到有效值。 PreviewFileUrl *string `json:"PreviewFileUrl,omitnil,omitempty" name:"PreviewFileUrl"` // 签署方信息,如角色ID、角色名称等 - // 注意:此字段可能返回 null,表示取不到有效值。 Approvers []*ApproverItem `json:"Approvers,omitnil,omitempty" name:"Approvers"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 @@ -3000,7 +2998,6 @@ type CreateFlowApproversResponseParams struct { // 批量补充签署人时,补充失败的报错说明 // // 注:`目前仅补充动态签署人时会返回补充失败的原因` - // 注意:此字段可能返回 null,表示取不到有效值。 FillError []*FillError `json:"FillError,omitnil,omitempty" name:"FillError"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 @@ -3450,11 +3447,9 @@ type CreateFlowByFilesResponseParams struct { // 合同预览链接URL。 // // 注:如果是预览模式(即NeedPreview设置为true)时, 才会有此预览链接URL - // 注意:此字段可能返回 null,表示取不到有效值。 PreviewUrl *string `json:"PreviewUrl,omitnil,omitempty" name:"PreviewUrl"` // 签署方信息,如角色ID、角色名称等 - // 注意:此字段可能返回 null,表示取不到有效值。 Approvers []*ApproverItem `json:"Approvers,omitnil,omitempty" name:"Approvers"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 @@ -3543,7 +3538,6 @@ func (r *CreateFlowEvidenceReportRequest) FromJsonString(s string) error { // Predefined struct for user type CreateFlowEvidenceReportResponseParams struct { // 出证报告 ID,可用于获取出证报告任务执行结果查询出证任务结果和出证PDF的下载URL - // 注意:此字段可能返回 null,表示取不到有效值。 ReportId *string `json:"ReportId,omitnil,omitempty" name:"ReportId"` // 出证任务执行的状态, 状态含义如下: @@ -3762,11 +3756,9 @@ func (r *CreateFlowGroupByTemplatesRequest) FromJsonString(s string) error { // Predefined struct for user type CreateFlowGroupByTemplatesResponseParams struct { // 合同(流程)组的合同组Id - // 注意:此字段可能返回 null,表示取不到有效值。 FlowGroupId *string `json:"FlowGroupId,omitnil,omitempty" name:"FlowGroupId"` // 合同(流程)组中子合同列表. - // 注意:此字段可能返回 null,表示取不到有效值。 FlowIds []*string `json:"FlowIds,omitnil,omitempty" name:"FlowIds"` // 合同组签署人信息。 @@ -6287,21 +6279,17 @@ type CreatePersonAuthCertificateImageResponseParams struct { // 该编号会合成到个人用户证书证明图片。 // // 注: `个人用户认证证书的编号和证明图片绑定, 获取新的证明图片编号会变动` - // 注意:此字段可能返回 null,表示取不到有效值。 ImageCertId *string `json:"ImageCertId,omitnil,omitempty" name:"ImageCertId"` // 在数字证书申请过程中,系统会自动生成一个独一无二的序列号。请注意,当证书到期并自动续期时,该序列号将会发生变化。值得注意的是,此序列号不会被合成至个人用户证书的证明图片中。 - // 注意:此字段可能返回 null,表示取不到有效值。 SerialNumber *string `json:"SerialNumber,omitnil,omitempty" name:"SerialNumber"` // CA证书颁发时间,格式为Unix标准时间戳(秒) // 该时间格式化后会合成到个人用户证书证明图片 - // 注意:此字段可能返回 null,表示取不到有效值。 ValidFrom *uint64 `json:"ValidFrom,omitnil,omitempty" name:"ValidFrom"` // CA证书有效截止时间,格式为Unix标准时间戳(秒) // 该时间格式化后会合成到个人用户证书证明图片 - // 注意:此字段可能返回 null,表示取不到有效值。 ValidTo *uint64 `json:"ValidTo,omitnil,omitempty" name:"ValidTo"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 @@ -9029,7 +9017,6 @@ type DescribeBillUsageResponseParams struct { Summary []*OrgBillSummary `json:"Summary,omitnil,omitempty" name:"Summary"` // 集团子企业套餐使用情况 - // 注意:此字段可能返回 null,表示取不到有效值。 SubOrgSummary []*SubOrgBillSummary `json:"SubOrgSummary,omitnil,omitempty" name:"SubOrgSummary"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 @@ -9657,7 +9644,6 @@ func (r *DescribeFlowComponentsRequest) FromJsonString(s string) error { // Predefined struct for user type DescribeFlowComponentsResponseParams struct { // 合同流程关联的填写控件信息,包括填写控件的归属方以及是否填写等内容。 - // 注意:此字段可能返回 null,表示取不到有效值。 RecipientComponentInfos []*RecipientComponentInfo `json:"RecipientComponentInfos,omitnil,omitempty" name:"RecipientComponentInfos"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 @@ -9744,7 +9730,6 @@ func (r *DescribeFlowEvidenceReportRequest) FromJsonString(s string) error { // Predefined struct for user type DescribeFlowEvidenceReportResponseParams struct { // 出证报告PDF的下载 URL,`有效期为5分钟`,超过有效期后将无法再下载。 - // 注意:此字段可能返回 null,表示取不到有效值。 ReportUrl *string `json:"ReportUrl,omitnil,omitempty" name:"ReportUrl"` // 出证任务执行的状态, 状态含义如下: @@ -10165,7 +10150,7 @@ type DescribeIntegrationEmployeesRequestParams struct { // Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` - // 指定分页返回第几页的数据,如果不传默认返回第一页。页码从 0 开始,即首页为 0,最大20000。 + // 偏移量,默认为0,最大20000。。关于Offset的更进一步介绍请参考 API 简介中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` } @@ -10195,7 +10180,7 @@ type DescribeIntegrationEmployeesRequest struct { // Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` - // 指定分页返回第几页的数据,如果不传默认返回第一页。页码从 0 开始,即首页为 0,最大20000。 + // 偏移量,默认为0,最大20000。。关于Offset的更进一步介绍请参考 API 简介中的相关小节。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` } @@ -10225,11 +10210,9 @@ func (r *DescribeIntegrationEmployeesRequest) FromJsonString(s string) error { // Predefined struct for user type DescribeIntegrationEmployeesResponseParams struct { // 员工信息列表。 - // 注意:此字段可能返回 null,表示取不到有效值。 Employees []*Staff `json:"Employees,omitnil,omitempty" name:"Employees"` - // 指定分页返回第几页的数据。页码从 0 开始,即首页为 0,最大20000。 - // 注意:此字段可能返回 null,表示取不到有效值。 + // 偏移量 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 指定分页每页返回的数据条数,单页最大支持 20。 @@ -10977,11 +10960,9 @@ func (r *DescribeSignFaceVideoRequest) FromJsonString(s string) error { // Predefined struct for user type DescribeSignFaceVideoResponseParams struct { // 核身视频结果。 - // 注意:此字段可能返回 null,表示取不到有效值。 VideoData *DetectInfoVideoData `json:"VideoData,omitnil,omitempty" name:"VideoData"` // 意愿核身问答模式结果。若未使用该意愿核身功能,该字段返回值可以不处理。 - // 注意:此字段可能返回 null,表示取不到有效值。 IntentionQuestionResult *IntentionQuestionResult `json:"IntentionQuestionResult,omitnil,omitempty" name:"IntentionQuestionResult"` // 意愿核身点头确认模式的结果信息,若未使用该意愿核身功能,该字段返回值可以不处理。 @@ -12200,8 +12181,7 @@ type FormField struct { // Predefined struct for user type GetTaskResultApiRequestParams struct { - // 转换任务Id,通过接口创建文件转换任务接口创建多文件转换任务接口 - // 得到的转换任务id + // 转换任务Id,通过接口创建文件转换任务接口得到的转换任务id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 执行本接口操作的员工信息。 @@ -12221,8 +12201,7 @@ type GetTaskResultApiRequestParams struct { type GetTaskResultApiRequest struct { *tchttp.BaseRequest - // 转换任务Id,通过接口创建文件转换任务接口创建多文件转换任务接口 - // 得到的转换任务id + // 转换任务Id,通过接口创建文件转换任务接口得到的转换任务id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 执行本接口操作的员工信息。 diff --git a/tencentcloud/essbasic/go.mod b/tencentcloud/essbasic/go.mod index edbdf087ce..d8853efbe7 100644 --- a/tencentcloud/essbasic/go.mod +++ b/tencentcloud/essbasic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/essbasic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/essbasic/v20210526/models.go b/tencentcloud/essbasic/v20210526/models.go index 96a8636e35..766f4c8d1b 100644 --- a/tencentcloud/essbasic/v20210526/models.go +++ b/tencentcloud/essbasic/v20210526/models.go @@ -2039,7 +2039,6 @@ func (r *ChannelCreateFlowApproversRequest) FromJsonString(s string) error { type ChannelCreateFlowApproversResponseParams struct { // 批量补充签署人时,补充失败的报错说明 // 注:`目前仅补充动态签署人时会返回补充失败的原因` - // 注意:此字段可能返回 null,表示取不到有效值。 FillError []*FillError `json:"FillError,omitnil,omitempty" name:"FillError"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 @@ -2389,11 +2388,9 @@ type ChannelCreateFlowByFilesResponseParams struct { // 建议开发者妥善保存此流程ID,以便于顺利进行后续操作。 // // [点击查看FlowId在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/05af26573d5106763b4cfbb9f7c64b41.png) - // 注意:此字段可能返回 null,表示取不到有效值。 FlowId *string `json:"FlowId,omitnil,omitempty" name:"FlowId"` // 签署方信息,如角色ID、角色名称等 - // 注意:此字段可能返回 null,表示取不到有效值。 Approvers []*ApproverItem `json:"Approvers,omitnil,omitempty" name:"Approvers"` // 预览链接,有效期5分钟 @@ -2519,14 +2516,12 @@ func (r *ChannelCreateFlowGroupByFilesRequest) FromJsonString(s string) error { type ChannelCreateFlowGroupByFilesResponseParams struct { // 合同组ID,为32位字符串。 // 建议开发者妥善保存此合同组ID,以便于顺利进行后续操作。 - // 注意:此字段可能返回 null,表示取不到有效值。 FlowGroupId *string `json:"FlowGroupId,omitnil,omitempty" name:"FlowGroupId"` // 合同组中每个合同流程ID,每个ID均为32位字符串。 // // 注: // `此数组的顺序和入参中的FlowGroupInfos顺序一致` - // 注意:此字段可能返回 null,表示取不到有效值。 FlowIds []*string `json:"FlowIds,omitnil,omitempty" name:"FlowIds"` // 合同组签署方信息。 @@ -4079,9 +4074,7 @@ type ChannelCreateUserAutoSignEnableUrlRequestParams struct { //
  • **H5SIGN** : 生成H5端开通链接
  • UrlType *string `json:"UrlType,omitnil,omitempty" name:"UrlType"` - // 是否通知开通方,通知类型: - // + // 是否通知开通方,通知类型: NotifyType *string `json:"NotifyType,omitnil,omitempty" name:"NotifyType"` // 如果通知类型NotifyType选择为SMS,则此处为手机号, 其他通知类型不需要设置此项 @@ -4116,9 +4109,7 @@ type ChannelCreateUserAutoSignEnableUrlRequest struct { //
  • **H5SIGN** : 生成H5端开通链接
  • UrlType *string `json:"UrlType,omitnil,omitempty" name:"UrlType"` - // 是否通知开通方,通知类型: - // + // 是否通知开通方,通知类型: NotifyType *string `json:"NotifyType,omitnil,omitempty" name:"NotifyType"` // 如果通知类型NotifyType选择为SMS,则此处为手机号, 其他通知类型不需要设置此项 @@ -5991,7 +5982,7 @@ type ChannelOrganizationInfo struct { // ActiveStatus *int64 `json:"ActiveStatus,omitnil,omitempty" name:"ActiveStatus"` - // 账号过期时间,时间戳 + // 账号到期时间,时间戳 LicenseExpireTime *int64 `json:"LicenseExpireTime,omitnil,omitempty" name:"LicenseExpireTime"` } diff --git a/tencentcloud/facefusion/go.mod b/tencentcloud/facefusion/go.mod index 10e8ca141d..5a22e6a1d6 100644 --- a/tencentcloud/facefusion/go.mod +++ b/tencentcloud/facefusion/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/facefusion go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/faceid/go.mod b/tencentcloud/faceid/go.mod index 01af3cbf44..934ec01d54 100644 --- a/tencentcloud/faceid/go.mod +++ b/tencentcloud/faceid/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/faceid go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/fmu/go.mod b/tencentcloud/fmu/go.mod index 90756ac58a..95c9085421 100644 --- a/tencentcloud/fmu/go.mod +++ b/tencentcloud/fmu/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/fmu go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ft/go.mod b/tencentcloud/ft/go.mod index f8b0aa7fb9..afac83f9b9 100644 --- a/tencentcloud/ft/go.mod +++ b/tencentcloud/ft/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ft go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/gaap/go.mod b/tencentcloud/gaap/go.mod index 018806232c..2f7ef3d89a 100644 --- a/tencentcloud/gaap/go.mod +++ b/tencentcloud/gaap/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gaap go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/gme/go.mod b/tencentcloud/gme/go.mod index 45d79f6a02..379b2f2b4d 100644 --- a/tencentcloud/gme/go.mod +++ b/tencentcloud/gme/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gme go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/goosefs/go.mod b/tencentcloud/goosefs/go.mod index 3d13e2cd35..d5179f0e7e 100644 --- a/tencentcloud/goosefs/go.mod +++ b/tencentcloud/goosefs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/goosefs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/gpm/go.mod b/tencentcloud/gpm/go.mod index fa42fef7fe..b5a40083d6 100644 --- a/tencentcloud/gpm/go.mod +++ b/tencentcloud/gpm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gpm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/gs/go.mod b/tencentcloud/gs/go.mod index efc5e103b2..637a56f5c4 100644 --- a/tencentcloud/gs/go.mod +++ b/tencentcloud/gs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/gse/go.mod b/tencentcloud/gse/go.mod index 5d13bf7e60..19e0c6c045 100644 --- a/tencentcloud/gse/go.mod +++ b/tencentcloud/gse/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gse go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/gwlb/go.mod b/tencentcloud/gwlb/go.mod index f3af8c3a2f..5ca1527515 100644 --- a/tencentcloud/gwlb/go.mod +++ b/tencentcloud/gwlb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/gwlb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/habo/go.mod b/tencentcloud/habo/go.mod index a113ae8624..b248e0d812 100644 --- a/tencentcloud/habo/go.mod +++ b/tencentcloud/habo/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/habo go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/hai/go.mod b/tencentcloud/hai/go.mod index 8f442e50c1..ff5ef3435a 100644 --- a/tencentcloud/hai/go.mod +++ b/tencentcloud/hai/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hai go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/hai/v20230812/client.go b/tencentcloud/hai/v20230812/client.go index 053516121b..c0a6ebc2a0 100644 --- a/tencentcloud/hai/v20230812/client.go +++ b/tencentcloud/hai/v20230812/client.go @@ -273,6 +273,59 @@ func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *Desc return } +func NewDescribeMuskPromptsRequest() (request *DescribeMuskPromptsRequest) { + request = &DescribeMuskPromptsRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("hai", APIVersion, "DescribeMuskPrompts") + + + return +} + +func NewDescribeMuskPromptsResponse() (response *DescribeMuskPromptsResponse) { + response = &DescribeMuskPromptsResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeMuskPrompts +// 获取prompt任务列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +func (c *Client) DescribeMuskPrompts(request *DescribeMuskPromptsRequest) (response *DescribeMuskPromptsResponse, err error) { + return c.DescribeMuskPromptsWithContext(context.Background(), request) +} + +// DescribeMuskPrompts +// 获取prompt任务列表 +// +// 可能返回的错误码: +// FAILEDOPERATION = "FailedOperation" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +func (c *Client) DescribeMuskPromptsWithContext(ctx context.Context, request *DescribeMuskPromptsRequest) (response *DescribeMuskPromptsResponse, err error) { + if request == nil { + request = NewDescribeMuskPromptsRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeMuskPrompts require credential") + } + + request.SetContext(ctx) + + response = NewDescribeMuskPromptsResponse() + err = c.Send(request, response) + return +} + func NewDescribeRegionsRequest() (request *DescribeRegionsRequest) { request = &DescribeRegionsRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/hai/v20230812/models.go b/tencentcloud/hai/v20230812/models.go index 40891f7c51..4cc4bbe46f 100644 --- a/tencentcloud/hai/v20230812/models.go +++ b/tencentcloud/hai/v20230812/models.go @@ -387,6 +387,94 @@ func (r *DescribeInstancesResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeMuskPromptsRequestParams struct { + // workgroup id + WorkgroupId *string `json:"WorkgroupId,omitnil,omitempty" name:"WorkgroupId"` + + // workflow id + WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"` + + // offset + Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` + + // limit + Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` + + // 过滤参数 支持过滤的键值: PromptId,Status + Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` +} + +type DescribeMuskPromptsRequest struct { + *tchttp.BaseRequest + + // workgroup id + WorkgroupId *string `json:"WorkgroupId,omitnil,omitempty" name:"WorkgroupId"` + + // workflow id + WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"` + + // offset + Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` + + // limit + Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` + + // 过滤参数 支持过滤的键值: PromptId,Status + Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` +} + +func (r *DescribeMuskPromptsRequest) 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 *DescribeMuskPromptsRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "WorkgroupId") + delete(f, "WorkflowId") + delete(f, "Offset") + delete(f, "Limit") + delete(f, "Filters") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeMuskPromptsRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeMuskPromptsResponseParams struct { + // total count + TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` + + // prompt列表详情 + MuskPromptInfos []*MuskPromptInfo `json:"MuskPromptInfos,omitnil,omitempty" name:"MuskPromptInfos"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeMuskPromptsResponse struct { + *tchttp.BaseResponse + Response *DescribeMuskPromptsResponseParams `json:"Response"` +} + +func (r *DescribeMuskPromptsResponse) 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 *DescribeMuskPromptsResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeRegionsRequestParams struct { @@ -865,6 +953,38 @@ type LoginSetting struct { Url *string `json:"Url,omitnil,omitempty" name:"Url"` } +type MuskPromptInfo struct { + // workflow id + WorkflowId *string `json:"WorkflowId,omitnil,omitempty" name:"WorkflowId"` + + // workgroup id + WorkgroupId *string `json:"WorkgroupId,omitnil,omitempty" name:"WorkgroupId"` + + // prompt id + PromptId *string `json:"PromptId,omitnil,omitempty" name:"PromptId"` + + // 生成的内容 + OutputResource []*string `json:"OutputResource,omitnil,omitempty" name:"OutputResource"` + + // prompt status + // 0: 执行中 + // 1: 执行成功 + // 2: 执行失败 + Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` + + // 创建时间 + CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` + + // 更新时间 + UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` + + // 任务执行耗时,单位毫秒 + Cost *uint64 `json:"Cost,omitnil,omitempty" name:"Cost"` + + // 任务执行失败错误信息 + ErrorMessage *string `json:"ErrorMessage,omitnil,omitempty" name:"ErrorMessage"` +} + type NetworkStatus struct { // HAI 的实例 ID // 注意:此字段可能返回 null,表示取不到有效值。 diff --git a/tencentcloud/hasim/go.mod b/tencentcloud/hasim/go.mod index a062b7ad71..ab3f61838c 100644 --- a/tencentcloud/hasim/go.mod +++ b/tencentcloud/hasim/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hasim go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/hcm/go.mod b/tencentcloud/hcm/go.mod index 34a7aa85d4..6694ce3e91 100644 --- a/tencentcloud/hcm/go.mod +++ b/tencentcloud/hcm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hcm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/hunyuan/go.mod b/tencentcloud/hunyuan/go.mod index 733f8aa5c7..ab033ff3d1 100644 --- a/tencentcloud/hunyuan/go.mod +++ b/tencentcloud/hunyuan/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/hunyuan go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/iai/go.mod b/tencentcloud/iai/go.mod index e84566c842..6145fa6802 100644 --- a/tencentcloud/iai/go.mod +++ b/tencentcloud/iai/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iai go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/iap/go.mod b/tencentcloud/iap/go.mod index b00ac542c6..871611e728 100644 --- a/tencentcloud/iap/go.mod +++ b/tencentcloud/iap/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iap go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ic/go.mod b/tencentcloud/ic/go.mod index 335fbd04ce..c178f2e97c 100644 --- a/tencentcloud/ic/go.mod +++ b/tencentcloud/ic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/icr/go.mod b/tencentcloud/icr/go.mod index cce143c8bf..27ae04fcae 100644 --- a/tencentcloud/icr/go.mod +++ b/tencentcloud/icr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/icr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ie/go.mod b/tencentcloud/ie/go.mod index b36bd4de9e..3b2e3fb4b7 100644 --- a/tencentcloud/ie/go.mod +++ b/tencentcloud/ie/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ie go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/iecp/go.mod b/tencentcloud/iecp/go.mod index b2382bf02b..9d8f335df7 100644 --- a/tencentcloud/iecp/go.mod +++ b/tencentcloud/iecp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iecp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ig/go.mod b/tencentcloud/ig/go.mod index 7c10058414..937ac86a1e 100644 --- a/tencentcloud/ig/go.mod +++ b/tencentcloud/ig/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ig go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/iir/go.mod b/tencentcloud/iir/go.mod index 6e65b3ab20..19ed20b87e 100644 --- a/tencentcloud/iir/go.mod +++ b/tencentcloud/iir/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iir go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ims/go.mod b/tencentcloud/ims/go.mod index 16aff0c22f..22f330307a 100644 --- a/tencentcloud/ims/go.mod +++ b/tencentcloud/ims/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ims go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ioa/go.mod b/tencentcloud/ioa/go.mod index ef5e5b27f9..5888e89617 100644 --- a/tencentcloud/ioa/go.mod +++ b/tencentcloud/ioa/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ioa go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/iot/go.mod b/tencentcloud/iot/go.mod index 4c6415b9a0..a89e6b94ee 100644 --- a/tencentcloud/iot/go.mod +++ b/tencentcloud/iot/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iot go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/iotcloud/go.mod b/tencentcloud/iotcloud/go.mod index 4ca045dec3..e6058b884d 100644 --- a/tencentcloud/iotcloud/go.mod +++ b/tencentcloud/iotcloud/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotcloud go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/iotexplorer/go.mod b/tencentcloud/iotexplorer/go.mod index 43973706be..eeba3356f5 100644 --- a/tencentcloud/iotexplorer/go.mod +++ b/tencentcloud/iotexplorer/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotexplorer go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/iotexplorer/v20190423/client.go b/tencentcloud/iotexplorer/v20190423/client.go index cebb94bd9a..1689c87eab 100644 --- a/tencentcloud/iotexplorer/v20190423/client.go +++ b/tencentcloud/iotexplorer/v20190423/client.go @@ -2621,6 +2621,136 @@ func (c *Client) DeleteTopicRuleWithContext(ctx context.Context, request *Delete return } +func NewDescribeActivateDeviceRequest() (request *DescribeActivateDeviceRequest) { + request = &DescribeActivateDeviceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("iotexplorer", APIVersion, "DescribeActivateDevice") + + + return +} + +func NewDescribeActivateDeviceResponse() (response *DescribeActivateDeviceResponse) { + response = &DescribeActivateDeviceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeActivateDevice +// 获取设备激活详情 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOINSTANCE = "UnauthorizedOperation.NoPermissionToStudioInstance" +// UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated" +// UNSUPPORTEDOPERATION_UNPAIDORDER = "UnsupportedOperation.UnpaidOrder" +func (c *Client) DescribeActivateDevice(request *DescribeActivateDeviceRequest) (response *DescribeActivateDeviceResponse, err error) { + return c.DescribeActivateDeviceWithContext(context.Background(), request) +} + +// DescribeActivateDevice +// 获取设备激活详情 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOINSTANCE = "UnauthorizedOperation.NoPermissionToStudioInstance" +// UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated" +// UNSUPPORTEDOPERATION_UNPAIDORDER = "UnsupportedOperation.UnpaidOrder" +func (c *Client) DescribeActivateDeviceWithContext(ctx context.Context, request *DescribeActivateDeviceRequest) (response *DescribeActivateDeviceResponse, err error) { + if request == nil { + request = NewDescribeActivateDeviceRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeActivateDevice require credential") + } + + request.SetContext(ctx) + + response = NewDescribeActivateDeviceResponse() + err = c.Send(request, response) + return +} + +func NewDescribeActivateLicenseServiceRequest() (request *DescribeActivateLicenseServiceRequest) { + request = &DescribeActivateLicenseServiceRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("iotexplorer", APIVersion, "DescribeActivateLicenseService") + + + return +} + +func NewDescribeActivateLicenseServiceResponse() (response *DescribeActivateLicenseServiceResponse) { + response = &DescribeActivateLicenseServiceResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeActivateLicenseService +// 获取增值服务激活码详情 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOINSTANCE = "UnauthorizedOperation.NoPermissionToStudioInstance" +// UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated" +// UNSUPPORTEDOPERATION_UNPAIDORDER = "UnsupportedOperation.UnpaidOrder" +func (c *Client) DescribeActivateLicenseService(request *DescribeActivateLicenseServiceRequest) (response *DescribeActivateLicenseServiceResponse, err error) { + return c.DescribeActivateLicenseServiceWithContext(context.Background(), request) +} + +// DescribeActivateLicenseService +// 获取增值服务激活码详情 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError" +// INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance" +// UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOINSTANCE = "UnauthorizedOperation.NoPermissionToStudioInstance" +// UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated" +// UNSUPPORTEDOPERATION_UNPAIDORDER = "UnsupportedOperation.UnpaidOrder" +func (c *Client) DescribeActivateLicenseServiceWithContext(ctx context.Context, request *DescribeActivateLicenseServiceRequest) (response *DescribeActivateLicenseServiceResponse, err error) { + if request == nil { + request = NewDescribeActivateLicenseServiceRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeActivateLicenseService require credential") + } + + request.SetContext(ctx) + + response = NewDescribeActivateLicenseServiceResponse() + err = c.Send(request, response) + return +} + func NewDescribeBatchProductionRequest() (request *DescribeBatchProductionRequest) { request = &DescribeBatchProductionRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -4489,6 +4619,59 @@ func (c *Client) DescribeFirmwareUpdateStatusWithContext(ctx context.Context, re return } +func NewDescribeFreeCloudStorageNumRequest() (request *DescribeFreeCloudStorageNumRequest) { + request = &DescribeFreeCloudStorageNumRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("iotexplorer", APIVersion, "DescribeFreeCloudStorageNum") + + + return +} + +func NewDescribeFreeCloudStorageNumResponse() (response *DescribeFreeCloudStorageNumResponse) { + response = &DescribeFreeCloudStorageNumResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeFreeCloudStorageNum +// 查询云存卡套餐信息 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeFreeCloudStorageNum(request *DescribeFreeCloudStorageNumRequest) (response *DescribeFreeCloudStorageNumResponse, err error) { + return c.DescribeFreeCloudStorageNumWithContext(context.Background(), request) +} + +// DescribeFreeCloudStorageNum +// 查询云存卡套餐信息 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeFreeCloudStorageNumWithContext(ctx context.Context, request *DescribeFreeCloudStorageNumRequest) (response *DescribeFreeCloudStorageNumResponse, err error) { + if request == nil { + request = NewDescribeFreeCloudStorageNumRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeFreeCloudStorageNum require credential") + } + + request.SetContext(ctx) + + response = NewDescribeFreeCloudStorageNumResponse() + err = c.Send(request, response) + return +} + func NewDescribeGatewayBindDevicesRequest() (request *DescribeGatewayBindDevicesRequest) { request = &DescribeGatewayBindDevicesRequest{ BaseRequest: &tchttp.BaseRequest{}, @@ -5416,6 +5599,69 @@ func (c *Client) DescribeTopicRuleWithContext(ctx context.Context, request *Desc return } +func NewDescribeVideoLicenseRequest() (request *DescribeVideoLicenseRequest) { + request = &DescribeVideoLicenseRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("iotexplorer", APIVersion, "DescribeVideoLicense") + + + return +} + +func NewDescribeVideoLicenseResponse() (response *DescribeVideoLicenseResponse) { + response = &DescribeVideoLicenseResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeVideoLicense +// 用于查询视频激活码统计概览 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil" +// INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit" +// INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited" +// RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeVideoLicense(request *DescribeVideoLicenseRequest) (response *DescribeVideoLicenseResponse, err error) { + return c.DescribeVideoLicenseWithContext(context.Background(), request) +} + +// DescribeVideoLicense +// 用于查询视频激活码统计概览 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil" +// INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit" +// INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited" +// RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeVideoLicenseWithContext(ctx context.Context, request *DescribeVideoLicenseRequest) (response *DescribeVideoLicenseResponse, err error) { + if request == nil { + request = NewDescribeVideoLicenseRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeVideoLicense require credential") + } + + request.SetContext(ctx) + + response = NewDescribeVideoLicenseResponse() + err = c.Send(request, response) + return +} + func NewDirectBindDeviceInFamilyRequest() (request *DirectBindDeviceInFamilyRequest) { request = &DirectBindDeviceInFamilyRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/iotexplorer/v20190423/models.go b/tencentcloud/iotexplorer/v20190423/models.go index 53342f6c02..c9bfd7e9f3 100644 --- a/tencentcloud/iotexplorer/v20190423/models.go +++ b/tencentcloud/iotexplorer/v20190423/models.go @@ -20,6 +20,23 @@ import ( "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/json" ) +type ActivateDeviceInfo struct { + // 实例ID + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 实例类型 + InstanceType *int64 `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` + + // 设备激活信息 + DeviceActivationDetails *DeviceActivationDetail `json:"DeviceActivationDetails,omitnil,omitempty" name:"DeviceActivationDetails"` + + // 已注册设备类型信息 + RegisteredDeviceType *RegisteredDeviceTypeInfo `json:"RegisteredDeviceType,omitnil,omitempty" name:"RegisteredDeviceType"` + + // 已注册设备通信类型信息 + RegisteredDeviceNetType *RegisteredDeviceNetTypeInfo `json:"RegisteredDeviceNetType,omitnil,omitempty" name:"RegisteredDeviceNetType"` +} + // Predefined struct for user type ActivateTWeCallLicenseRequestParams struct { // TWecall类型:0-体验套餐;1-家庭安防场景; 2-穿戴类场景; 3-生活娱乐场景; 4-对讲及其它场景 @@ -858,6 +875,20 @@ type CloudStorageEvent struct { Data *string `json:"Data,omitnil,omitempty" name:"Data"` } +type CloudStoragePackageInfo struct { + // 套餐包id + PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` + + // 套餐包名字 + PackageName *string `json:"PackageName,omitnil,omitempty" name:"PackageName"` + + // 套餐包数量 + Num *int64 `json:"Num,omitnil,omitempty" name:"Num"` + + // 已使用数量 + UsedNum *int64 `json:"UsedNum,omitnil,omitempty" name:"UsedNum"` +} + type CloudStorageTimeData struct { // 云存时间轴信息列表 TimeList []*CloudStorageTimeInfo `json:"TimeList,omitnil,omitempty" name:"TimeList"` @@ -3425,6 +3456,129 @@ func (r *DeleteTopicRuleResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeActivateDeviceRequestParams struct { + // 实例ID + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +type DescribeActivateDeviceRequest struct { + *tchttp.BaseRequest + + // 实例ID + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +func (r *DescribeActivateDeviceRequest) 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 *DescribeActivateDeviceRequest) 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", "DescribeActivateDeviceRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeActivateDeviceResponseParams struct { + // 设备激活详情信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + Data *ActivateDeviceInfo `json:"Data,omitnil,omitempty" name:"Data"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeActivateDeviceResponse struct { + *tchttp.BaseResponse + Response *DescribeActivateDeviceResponseParams `json:"Response"` +} + +func (r *DescribeActivateDeviceResponse) 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 *DescribeActivateDeviceResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeActivateLicenseServiceRequestParams struct { + // 实例ID + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 激活码类型 + LicenseType *string `json:"LicenseType,omitnil,omitempty" name:"LicenseType"` +} + +type DescribeActivateLicenseServiceRequest struct { + *tchttp.BaseRequest + + // 实例ID + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 激活码类型 + LicenseType *string `json:"LicenseType,omitnil,omitempty" name:"LicenseType"` +} + +func (r *DescribeActivateLicenseServiceRequest) 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 *DescribeActivateLicenseServiceRequest) 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, "LicenseType") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeActivateLicenseServiceRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeActivateLicenseServiceResponseParams struct { + // 增值服务激活码信息 + // 注意:此字段可能返回 null,表示取不到有效值。 + Data []*LicenseServiceNumInfo `json:"Data,omitnil,omitempty" name:"Data"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeActivateLicenseServiceResponse struct { + *tchttp.BaseResponse + Response *DescribeActivateLicenseServiceResponseParams `json:"Response"` +} + +func (r *DescribeActivateLicenseServiceResponse) 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 *DescribeActivateLicenseServiceResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeBatchProductionRequestParams struct { // 产品ID @@ -6104,6 +6258,60 @@ func (r *DescribeFirmwareUpdateStatusResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeFreeCloudStorageNumRequestParams struct { + +} + +type DescribeFreeCloudStorageNumRequest struct { + *tchttp.BaseRequest + +} + +func (r *DescribeFreeCloudStorageNumRequest) 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 *DescribeFreeCloudStorageNumRequest) 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", "DescribeFreeCloudStorageNumRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeFreeCloudStorageNumResponseParams struct { + // 套餐包信息 + PackageInfos []*CloudStoragePackageInfo `json:"PackageInfos,omitnil,omitempty" name:"PackageInfos"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeFreeCloudStorageNumResponse struct { + *tchttp.BaseResponse + Response *DescribeFreeCloudStorageNumResponseParams `json:"Response"` +} + +func (r *DescribeFreeCloudStorageNumResponse) 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 *DescribeFreeCloudStorageNumResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeGatewayBindDevicesRequestParams struct { // 网关设备的产品ID @@ -7155,6 +7363,84 @@ func (r *DescribeTopicRuleResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeVideoLicenseRequestParams struct { + // 实例ID + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +type DescribeVideoLicenseRequest struct { + *tchttp.BaseRequest + + // 实例ID + InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` +} + +func (r *DescribeVideoLicenseRequest) 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 *DescribeVideoLicenseRequest) 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", "DescribeVideoLicenseRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeVideoLicenseResponseParams struct { + // 视频激活码分类概览 + // 注意:此字段可能返回 null,表示取不到有效值。 + License []*VideoLicenseEntity `json:"License,omitnil,omitempty" name:"License"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeVideoLicenseResponse struct { + *tchttp.BaseResponse + Response *DescribeVideoLicenseResponseParams `json:"Response"` +} + +func (r *DescribeVideoLicenseResponse) 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 *DescribeVideoLicenseResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type DeviceActivationDetail struct { + // 可注册设备数 + TotalDeviceNum *int64 `json:"TotalDeviceNum,omitnil,omitempty" name:"TotalDeviceNum"` + + // 已注册设备数 + UsedDeviceNum *int64 `json:"UsedDeviceNum,omitnil,omitempty" name:"UsedDeviceNum"` + + // 设备授权数 + TotalNormalLicense *int64 `json:"TotalNormalLicense,omitnil,omitempty" name:"TotalNormalLicense"` + + // 已使用设备授权数 + UsedNormalLicense *int64 `json:"UsedNormalLicense,omitnil,omitempty" name:"UsedNormalLicense"` + + // 蓝牙授权数 + TotalBluetoothLicense *int64 `json:"TotalBluetoothLicense,omitnil,omitempty" name:"TotalBluetoothLicense"` + + // 已使用蓝牙授权数 + UsedBluetoothLicense *int64 `json:"UsedBluetoothLicense,omitnil,omitempty" name:"UsedBluetoothLicense"` +} + type DeviceActiveResult struct { // 模板ID // 注意:此字段可能返回 null,表示取不到有效值。 @@ -9661,6 +9947,21 @@ func (r *InvokeExternalSourceAIServiceTaskResponse) FromJsonString(s string) err return json.Unmarshal([]byte(s), &r) } +type LicenseServiceNumInfo struct { + // 服务类型 + LicenseType *string `json:"LicenseType,omitnil,omitempty" name:"LicenseType"` + + // 授权总数 + TotalNum *int64 `json:"TotalNum,omitnil,omitempty" name:"TotalNum"` + + // 已使用授权数 + UsedNum *int64 `json:"UsedNum,omitnil,omitempty" name:"UsedNum"` + + // TWeCall激活码 + // 注意:此字段可能返回 null,表示取不到有效值。 + TWeCallLicense []*TWeCallLicenseInfo `json:"TWeCallLicense,omitnil,omitempty" name:"TWeCallLicense"` +} + // Predefined struct for user type ListEventHistoryRequestParams struct { // 产品ID @@ -11751,6 +12052,25 @@ func (r *PublishRRPCMessageResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type RegisteredDeviceNetTypeInfo struct { + // 普通设备数 + NormalDeviceNum *int64 `json:"NormalDeviceNum,omitnil,omitempty" name:"NormalDeviceNum"` + + // 蓝牙设备数 + BluetoothDeviceNum *int64 `json:"BluetoothDeviceNum,omitnil,omitempty" name:"BluetoothDeviceNum"` +} + +type RegisteredDeviceTypeInfo struct { + // 已注册设备数 + NormalDeviceNum *int64 `json:"NormalDeviceNum,omitnil,omitempty" name:"NormalDeviceNum"` + + // 已注册网关数 + GatewayDeviceNum *int64 `json:"GatewayDeviceNum,omitnil,omitempty" name:"GatewayDeviceNum"` + + // 已注册子设备数 + SubDeviceNum *int64 `json:"SubDeviceNum,omitnil,omitempty" name:"SubDeviceNum"` +} + // Predefined struct for user type ReleaseStudioProductRequestParams struct { // 产品ID @@ -12538,6 +12858,20 @@ type TWeCallInfo struct { ActiveNum *int64 `json:"ActiveNum,omitnil,omitempty" name:"ActiveNum"` } +type TWeCallLicenseInfo struct { + // voip类型 + // 注意:此字段可能返回 null,表示取不到有效值。 + TWeCallType *string `json:"TWeCallType,omitnil,omitempty" name:"TWeCallType"` + + // 总数 + // 注意:此字段可能返回 null,表示取不到有效值。 + TotalNum *int64 `json:"TotalNum,omitnil,omitempty" name:"TotalNum"` + + // 已使用 + // 注意:此字段可能返回 null,表示取不到有效值。 + UsedNum *int64 `json:"UsedNum,omitnil,omitempty" name:"UsedNum"` +} + type TWeCallPkgInfo struct { // 包ID // 注意:此字段可能返回 null,表示取不到有效值。 @@ -13286,6 +13620,20 @@ func (r *UploadFirmwareResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type VideoLicenseEntity struct { + // 激活码类型,取值范围如下:0_5_mbps、1_mbps、1_5_mbps、2_mbps + Type *string `json:"Type,omitnil,omitempty" name:"Type"` + + // 有效激活码总数 + TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` + + // 待使用的激活码数量 + UsedCount *int64 `json:"UsedCount,omitnil,omitempty" name:"UsedCount"` + + // 即将过期的激活码数量 + ExpiresSoonCount *int64 `json:"ExpiresSoonCount,omitnil,omitempty" name:"ExpiresSoonCount"` +} + type WXDeviceInfo struct { // 设备ID // 注意:此字段可能返回 null,表示取不到有效值。 diff --git a/tencentcloud/iottid/go.mod b/tencentcloud/iottid/go.mod index 57f039b5c0..ca6b0e9eaf 100644 --- a/tencentcloud/iottid/go.mod +++ b/tencentcloud/iottid/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iottid go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/iotvideo/go.mod b/tencentcloud/iotvideo/go.mod index 469442be4f..765127a39a 100644 --- a/tencentcloud/iotvideo/go.mod +++ b/tencentcloud/iotvideo/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideo go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/iotvideo/v20211125/client.go b/tencentcloud/iotvideo/v20211125/client.go index dfc9717913..0308e3132e 100644 --- a/tencentcloud/iotvideo/v20211125/client.go +++ b/tencentcloud/iotvideo/v20211125/client.go @@ -3539,6 +3539,59 @@ func (c *Client) DescribeForwardRuleWithContext(ctx context.Context, request *De return } +func NewDescribeFreeCloudStorageNumRequest() (request *DescribeFreeCloudStorageNumRequest) { + request = &DescribeFreeCloudStorageNumRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("iotvideo", APIVersion, "DescribeFreeCloudStorageNum") + + + return +} + +func NewDescribeFreeCloudStorageNumResponse() (response *DescribeFreeCloudStorageNumResponse) { + response = &DescribeFreeCloudStorageNumResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeFreeCloudStorageNum +// 查询云存卡套餐信息 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeFreeCloudStorageNum(request *DescribeFreeCloudStorageNumRequest) (response *DescribeFreeCloudStorageNumResponse, err error) { + return c.DescribeFreeCloudStorageNumWithContext(context.Background(), request) +} + +// DescribeFreeCloudStorageNum +// 查询云存卡套餐信息 +// +// 可能返回的错误码: +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) DescribeFreeCloudStorageNumWithContext(ctx context.Context, request *DescribeFreeCloudStorageNumRequest) (response *DescribeFreeCloudStorageNumResponse, err error) { + if request == nil { + request = NewDescribeFreeCloudStorageNumRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeFreeCloudStorageNum require credential") + } + + request.SetContext(ctx) + + response = NewDescribeFreeCloudStorageNumResponse() + err = c.Send(request, response) + return +} + func NewDescribeMessageDataStatsRequest() (request *DescribeMessageDataStatsRequest) { request = &DescribeMessageDataStatsRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/iotvideo/v20211125/models.go b/tencentcloud/iotvideo/v20211125/models.go index e0eb89d4e1..9fad5756ce 100644 --- a/tencentcloud/iotvideo/v20211125/models.go +++ b/tencentcloud/iotvideo/v20211125/models.go @@ -856,6 +856,20 @@ type CloudStorageEvent struct { Data *string `json:"Data,omitnil,omitempty" name:"Data"` } +type CloudStoragePackageInfo struct { + // 套餐包id + PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"` + + // 套餐包名字 + PackageName *string `json:"PackageName,omitnil,omitempty" name:"PackageName"` + + // 套餐包数量 + Num *int64 `json:"Num,omitnil,omitempty" name:"Num"` + + // 已使用数量 + UsedNum *int64 `json:"UsedNum,omitnil,omitempty" name:"UsedNum"` +} + type CloudStorageTimeData struct { // 云存时间轴信息列表 TimeList []*CloudStorageTimeInfo `json:"TimeList,omitnil,omitempty" name:"TimeList"` @@ -5708,6 +5722,60 @@ func (r *DescribeForwardRuleResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DescribeFreeCloudStorageNumRequestParams struct { + +} + +type DescribeFreeCloudStorageNumRequest struct { + *tchttp.BaseRequest + +} + +func (r *DescribeFreeCloudStorageNumRequest) 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 *DescribeFreeCloudStorageNumRequest) 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", "DescribeFreeCloudStorageNumRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeFreeCloudStorageNumResponseParams struct { + // 套餐包信息 + PackageInfos []*CloudStoragePackageInfo `json:"PackageInfos,omitnil,omitempty" name:"PackageInfos"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeFreeCloudStorageNumResponse struct { + *tchttp.BaseResponse + Response *DescribeFreeCloudStorageNumResponseParams `json:"Response"` +} + +func (r *DescribeFreeCloudStorageNumResponse) 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 *DescribeFreeCloudStorageNumResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DescribeMessageDataStatsRequestParams struct { // 统计开始日期 diff --git a/tencentcloud/iotvideoindustry/go.mod b/tencentcloud/iotvideoindustry/go.mod index 2a70b63962..fe8d689a0a 100644 --- a/tencentcloud/iotvideoindustry/go.mod +++ b/tencentcloud/iotvideoindustry/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iotvideoindustry go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/irp/go.mod b/tencentcloud/irp/go.mod index 422bc57808..a73ad9275e 100644 --- a/tencentcloud/irp/go.mod +++ b/tencentcloud/irp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/irp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/iss/go.mod b/tencentcloud/iss/go.mod index 4006d58efe..cc207009ab 100644 --- a/tencentcloud/iss/go.mod +++ b/tencentcloud/iss/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/iss go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ivld/go.mod b/tencentcloud/ivld/go.mod index b233a8fc32..7dca529e3c 100644 --- a/tencentcloud/ivld/go.mod +++ b/tencentcloud/ivld/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ivld go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/keewidb/go.mod b/tencentcloud/keewidb/go.mod index d4e51627df..451fab4394 100644 --- a/tencentcloud/keewidb/go.mod +++ b/tencentcloud/keewidb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/keewidb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/kms/go.mod b/tencentcloud/kms/go.mod index ed285dacac..d495ec58da 100644 --- a/tencentcloud/kms/go.mod +++ b/tencentcloud/kms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/kms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/lcic/go.mod b/tencentcloud/lcic/go.mod index 6e48a31c10..b5a0103931 100644 --- a/tencentcloud/lcic/go.mod +++ b/tencentcloud/lcic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lcic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/lighthouse/go.mod b/tencentcloud/lighthouse/go.mod index 18ec190352..21619cec32 100644 --- a/tencentcloud/lighthouse/go.mod +++ b/tencentcloud/lighthouse/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lighthouse go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/live/go.mod b/tencentcloud/live/go.mod index 9edf1fdd94..0381d947f8 100644 --- a/tencentcloud/live/go.mod +++ b/tencentcloud/live/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/live go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/lke/go.mod b/tencentcloud/lke/go.mod index e7484c7ea4..0bf1b6b89a 100644 --- a/tencentcloud/lke/go.mod +++ b/tencentcloud/lke/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lke go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/lkeap/go.mod b/tencentcloud/lkeap/go.mod index e2dc82984d..2e10efde63 100644 --- a/tencentcloud/lkeap/go.mod +++ b/tencentcloud/lkeap/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lkeap go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/lkeap/v20240522/client.go b/tencentcloud/lkeap/v20240522/client.go index c37aeff7bd..bcc15a0415 100644 --- a/tencentcloud/lkeap/v20240522/client.go +++ b/tencentcloud/lkeap/v20240522/client.go @@ -275,23 +275,25 @@ func NewCreateSplitDocumentFlowResponse() (response *CreateSplitDocumentFlowResp } // CreateSplitDocumentFlow -// 创建文档拆分任务 +// 用于创建一个文档拆分任务,支持多种文件类型,具备mllm能力,能够解析并深入理解图表中的信息。 // // 可能返回的错误码: // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" func (c *Client) CreateSplitDocumentFlow(request *CreateSplitDocumentFlowRequest) (response *CreateSplitDocumentFlowResponse, err error) { return c.CreateSplitDocumentFlowWithContext(context.Background(), request) } // CreateSplitDocumentFlow -// 创建文档拆分任务 +// 用于创建一个文档拆分任务,支持多种文件类型,具备mllm能力,能够解析并深入理解图表中的信息。 // // 可能返回的错误码: // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" func (c *Client) CreateSplitDocumentFlowWithContext(ctx context.Context, request *CreateSplitDocumentFlowRequest) (response *CreateSplitDocumentFlowResponse, err error) { if request == nil { request = NewCreateSplitDocumentFlowRequest() @@ -334,6 +336,7 @@ func NewDeleteAttributeLabelsResponse() (response *DeleteAttributeLabelsResponse // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" func (c *Client) DeleteAttributeLabels(request *DeleteAttributeLabelsRequest) (response *DeleteAttributeLabelsResponse, err error) { return c.DeleteAttributeLabelsWithContext(context.Background(), request) } @@ -345,6 +348,7 @@ func (c *Client) DeleteAttributeLabels(request *DeleteAttributeLabelsRequest) (r // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" func (c *Client) DeleteAttributeLabelsWithContext(ctx context.Context, request *DeleteAttributeLabelsRequest) (response *DeleteAttributeLabelsResponse, err error) { if request == nil { request = NewDeleteAttributeLabelsRequest() @@ -387,6 +391,7 @@ func NewDeleteDocsResponse() (response *DeleteDocsResponse) { // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" func (c *Client) DeleteDocs(request *DeleteDocsRequest) (response *DeleteDocsResponse, err error) { return c.DeleteDocsWithContext(context.Background(), request) } @@ -398,6 +403,7 @@ func (c *Client) DeleteDocs(request *DeleteDocsRequest) (response *DeleteDocsRes // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" func (c *Client) DeleteDocsWithContext(ctx context.Context, request *DeleteDocsRequest) (response *DeleteDocsResponse, err error) { if request == nil { request = NewDeleteDocsRequest() @@ -440,6 +446,7 @@ func NewDeleteKnowledgeBaseResponse() (response *DeleteKnowledgeBaseResponse) { // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" func (c *Client) DeleteKnowledgeBase(request *DeleteKnowledgeBaseRequest) (response *DeleteKnowledgeBaseResponse, err error) { return c.DeleteKnowledgeBaseWithContext(context.Background(), request) } @@ -451,6 +458,7 @@ func (c *Client) DeleteKnowledgeBase(request *DeleteKnowledgeBaseRequest) (respo // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" func (c *Client) DeleteKnowledgeBaseWithContext(ctx context.Context, request *DeleteKnowledgeBaseRequest) (response *DeleteKnowledgeBaseResponse, err error) { if request == nil { request = NewDeleteKnowledgeBaseRequest() @@ -493,6 +501,7 @@ func NewDeleteQAsResponse() (response *DeleteQAsResponse) { // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" func (c *Client) DeleteQAs(request *DeleteQAsRequest) (response *DeleteQAsResponse, err error) { return c.DeleteQAsWithContext(context.Background(), request) } @@ -504,6 +513,7 @@ func (c *Client) DeleteQAs(request *DeleteQAsRequest) (response *DeleteQAsRespon // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" func (c *Client) DeleteQAsWithContext(ctx context.Context, request *DeleteQAsRequest) (response *DeleteQAsResponse, err error) { if request == nil { request = NewDeleteQAsRequest() @@ -546,6 +556,7 @@ func NewDescribeDocResponse() (response *DescribeDocResponse) { // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" func (c *Client) DescribeDoc(request *DescribeDocRequest) (response *DescribeDocResponse, err error) { return c.DescribeDocWithContext(context.Background(), request) } @@ -557,6 +568,7 @@ func (c *Client) DescribeDoc(request *DescribeDocRequest) (response *DescribeDoc // FAILEDOPERATION = "FailedOperation" // INTERNALERROR = "InternalError" // INVALIDPARAMETER = "InvalidParameter" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" func (c *Client) DescribeDocWithContext(ctx context.Context, request *DescribeDocRequest) (response *DescribeDocResponse, err error) { if request == nil { request = NewDescribeDocRequest() @@ -1137,7 +1149,9 @@ func NewReconstructDocumentSSEResponse() (response *ReconstructDocumentSSERespon // INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" // LIMITEXCEEDED_EXCEEDEDMAXPAGESERROR = "LimitExceeded.ExceededMaxPagesError" // LIMITEXCEEDED_TOOLARGEFILEERROR = "LimitExceeded.TooLargeFileError" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" // RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" func (c *Client) ReconstructDocumentSSE(request *ReconstructDocumentSSERequest) (response *ReconstructDocumentSSEResponse, err error) { return c.ReconstructDocumentSSEWithContext(context.Background(), request) @@ -1154,7 +1168,9 @@ func (c *Client) ReconstructDocumentSSE(request *ReconstructDocumentSSERequest) // INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" // LIMITEXCEEDED_EXCEEDEDMAXPAGESERROR = "LimitExceeded.ExceededMaxPagesError" // LIMITEXCEEDED_TOOLARGEFILEERROR = "LimitExceeded.TooLargeFileError" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" // RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" func (c *Client) ReconstructDocumentSSEWithContext(ctx context.Context, request *ReconstructDocumentSSERequest) (response *ReconstructDocumentSSEResponse, err error) { if request == nil { @@ -1202,7 +1218,9 @@ func NewRetrieveKnowledgeResponse() (response *RetrieveKnowledgeResponse) { // INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" // LIMITEXCEEDED_EXCEEDEDMAXPAGESERROR = "LimitExceeded.ExceededMaxPagesError" // LIMITEXCEEDED_TOOLARGEFILEERROR = "LimitExceeded.TooLargeFileError" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" // RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" func (c *Client) RetrieveKnowledge(request *RetrieveKnowledgeRequest) (response *RetrieveKnowledgeResponse, err error) { return c.RetrieveKnowledgeWithContext(context.Background(), request) @@ -1219,7 +1237,9 @@ func (c *Client) RetrieveKnowledge(request *RetrieveKnowledgeRequest) (response // INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = "InvalidParameterValue.InvalidParameterValueLimit" // LIMITEXCEEDED_EXCEEDEDMAXPAGESERROR = "LimitExceeded.ExceededMaxPagesError" // LIMITEXCEEDED_TOOLARGEFILEERROR = "LimitExceeded.TooLargeFileError" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCEUNAVAILABLE_RESOURCEPACKAGERUNOUT = "ResourceUnavailable.ResourcePackageRunOut" // RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" func (c *Client) RetrieveKnowledgeWithContext(ctx context.Context, request *RetrieveKnowledgeRequest) (response *RetrieveKnowledgeResponse, err error) { if request == nil { diff --git a/tencentcloud/lkeap/v20240522/errors.go b/tencentcloud/lkeap/v20240522/errors.go index b1fc82d850..2db7db8b52 100644 --- a/tencentcloud/lkeap/v20240522/errors.go +++ b/tencentcloud/lkeap/v20240522/errors.go @@ -59,6 +59,9 @@ const ( // 文件太大 LIMITEXCEEDED_TOOLARGEFILEERROR = "LimitExceeded.TooLargeFileError" + // 请求的次数超过了频率限制。 + REQUESTLIMITEXCEEDED = "RequestLimitExceeded" + // 帐号已欠费。 RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" diff --git a/tencentcloud/lkeap/v20240522/models.go b/tencentcloud/lkeap/v20240522/models.go index 07b60db8fc..40cefa3b99 100644 --- a/tencentcloud/lkeap/v20240522/models.go +++ b/tencentcloud/lkeap/v20240522/models.go @@ -390,52 +390,84 @@ type CreateSplitDocumentFlowConfig struct { // Predefined struct for user type CreateSplitDocumentFlowRequestParams struct { - // 文件类型。支持的文件类型:PDF、DOC、DOCX、XLS、XLSX、PPT、PPTX、MD、TXT、PNG、JPG、JPEG、CSV + // 文件类型。 + // + // **支持的文件类型:** + // - `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB` + // + // **支持的文件大小:** + // - `PDF`、`DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M + // - `TXT`、`MD` 最大10M + // - 其他 最大20M FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` - // 文件的 Url 地址。文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。 + // 文件的 URL 地址。 + // 文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。 + // 参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749) FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"` - // 文件名,可选,当文件名无法从传入的FileUrl获取时需要通过该字段来明确 + // 文件名,可选。 + // **需带文件类型后缀**,当文件名无法从传入的`FileUrl`获取时需要通过该字段来明确。 FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` - // 文件的 Base64 值。支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。 + // 文件的 Base64 值。 + // 支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。 + // 支持的图片像素:单边介于20-10000px之间。 + // 文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。 // // Deprecated: FileBase64 is deprecated. FileBase64 *string `json:"FileBase64,omitnil,omitempty" name:"FileBase64"` - // 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值 + // 文档的起始页码。 + // 当传入文件是PDF、PDF、PPT、PPTX、DOC类型时,用来指定识别的起始页码,识别的页码包含当前值。 FileStartPageNumber *int64 `json:"FileStartPageNumber,omitnil,omitempty" name:"FileStartPageNumber"` - // 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。 + // 文档的结束页码。 + // 当传入文件是PDF、PDF、PPT、PPTX、DOC类型时,用来指定识别的结束页码,识别的页码包含当前值。 FileEndPageNumber *int64 `json:"FileEndPageNumber,omitnil,omitempty" name:"FileEndPageNumber"` - // 创建文档拆分任务配置信息创建文档解析任务配置信息 + // 文档拆分任务的配置信息。 Config *CreateSplitDocumentFlowConfig `json:"Config,omitnil,omitempty" name:"Config"` } type CreateSplitDocumentFlowRequest struct { *tchttp.BaseRequest - // 文件类型。支持的文件类型:PDF、DOC、DOCX、XLS、XLSX、PPT、PPTX、MD、TXT、PNG、JPG、JPEG、CSV + // 文件类型。 + // + // **支持的文件类型:** + // - `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB` + // + // **支持的文件大小:** + // - `PDF`、`DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M + // - `TXT`、`MD` 最大10M + // - 其他 最大20M FileType *string `json:"FileType,omitnil,omitempty" name:"FileType"` - // 文件的 Url 地址。文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。 + // 文件的 URL 地址。 + // 文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。 + // 参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749) FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"` - // 文件名,可选,当文件名无法从传入的FileUrl获取时需要通过该字段来明确 + // 文件名,可选。 + // **需带文件类型后缀**,当文件名无法从传入的`FileUrl`获取时需要通过该字段来明确。 FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"` - // 文件的 Base64 值。支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。 + // 文件的 Base64 值。 + // 支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。 + // 支持的图片像素:单边介于20-10000px之间。 + // 文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。 FileBase64 *string `json:"FileBase64,omitnil,omitempty" name:"FileBase64"` - // 当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值 + // 文档的起始页码。 + // 当传入文件是PDF、PDF、PPT、PPTX、DOC类型时,用来指定识别的起始页码,识别的页码包含当前值。 FileStartPageNumber *int64 `json:"FileStartPageNumber,omitnil,omitempty" name:"FileStartPageNumber"` - // 当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。 + // 文档的结束页码。 + // 当传入文件是PDF、PDF、PPT、PPTX、DOC类型时,用来指定识别的结束页码,识别的页码包含当前值。 FileEndPageNumber *int64 `json:"FileEndPageNumber,omitnil,omitempty" name:"FileEndPageNumber"` - // 创建文档拆分任务配置信息创建文档解析任务配置信息 + // 文档拆分任务的配置信息。 Config *CreateSplitDocumentFlowConfig `json:"Config,omitnil,omitempty" name:"Config"` } @@ -466,7 +498,8 @@ func (r *CreateSplitDocumentFlowRequest) FromJsonString(s string) error { // Predefined struct for user type CreateSplitDocumentFlowResponseParams struct { - // 任务唯一id。30天内可以通过GetSplitDocumentResult接口查询TaskId对应的处理结果。 + // 拆分任务唯一ID。 + // 30天内可以通过`GetSplitDocumentResult`接口查询TaskId对应的拆分结果。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 diff --git a/tencentcloud/lowcode/go.mod b/tencentcloud/lowcode/go.mod index d49653df94..e7e1218193 100644 --- a/tencentcloud/lowcode/go.mod +++ b/tencentcloud/lowcode/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lowcode go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/lp/go.mod b/tencentcloud/lp/go.mod index 5d2f31c5af..b6516dc7a7 100644 --- a/tencentcloud/lp/go.mod +++ b/tencentcloud/lp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/lp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/mall/go.mod b/tencentcloud/mall/go.mod index be7b410bff..9b072583b5 100644 --- a/tencentcloud/mall/go.mod +++ b/tencentcloud/mall/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mall go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/mariadb/go.mod b/tencentcloud/mariadb/go.mod index 22e98a2445..4b9c82b541 100644 --- a/tencentcloud/mariadb/go.mod +++ b/tencentcloud/mariadb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mariadb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/market/go.mod b/tencentcloud/market/go.mod index 7003d3a9a1..7a86db727a 100644 --- a/tencentcloud/market/go.mod +++ b/tencentcloud/market/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/market go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/memcached/go.mod b/tencentcloud/memcached/go.mod index e80483b5c2..21bda20fb6 100644 --- a/tencentcloud/memcached/go.mod +++ b/tencentcloud/memcached/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/memcached go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/mgobe/go.mod b/tencentcloud/mgobe/go.mod index fa8846d711..928e3f9220 100644 --- a/tencentcloud/mgobe/go.mod +++ b/tencentcloud/mgobe/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mgobe go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/mmps/go.mod b/tencentcloud/mmps/go.mod index a2fa053b52..d168202f7e 100644 --- a/tencentcloud/mmps/go.mod +++ b/tencentcloud/mmps/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mmps go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/mna/go.mod b/tencentcloud/mna/go.mod index 39657a9db1..e950b798d2 100644 --- a/tencentcloud/mna/go.mod +++ b/tencentcloud/mna/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mna go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/mna/v20210119/models.go b/tencentcloud/mna/v20210119/models.go index 61bb4e0fe3..21c4ac571d 100644 --- a/tencentcloud/mna/v20210119/models.go +++ b/tencentcloud/mna/v20210119/models.go @@ -22,18 +22,15 @@ import ( type ActivateHardware struct { // 厂商名称 - // 注意:此字段可能返回 null,表示取不到有效值。 Vendor *string `json:"Vendor,omitnil,omitempty" name:"Vendor"` // 设备SN序列号 SN *string `json:"SN,omitnil,omitempty" name:"SN"` // 设备名称 - // 注意:此字段可能返回 null,表示取不到有效值。 DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"` // 备注 - // 注意:此字段可能返回 null,表示取不到有效值。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 设备密钥 @@ -47,24 +44,18 @@ type ActivateHardware struct { // 1,永久授权 // 若不传则默认为月度授权。 // 当付费方为厂商时,此参数无效 - // - // 注意:此字段可能返回 null,表示取不到有效值。 LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"` // 设备分组ID - // 注意:此字段可能返回 null,表示取不到有效值。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 设备分组名称,预留参数,需要分组时传入GroupId - // 注意:此字段可能返回 null,表示取不到有效值。 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 设备无流量包处理方式,0: 按量付费,1: 截断加速 - // 注意:此字段可能返回 null,表示取不到有效值。 FlowTrunc *int64 `json:"FlowTrunc,omitnil,omitempty" name:"FlowTrunc"` // 激活后的设备ID - // 注意:此字段可能返回 null,表示取不到有效值。 DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"` } @@ -1007,11 +998,9 @@ type DeviceBaseInfo struct { AccessScope *int64 `json:"AccessScope,omitnil,omitempty" name:"AccessScope"` // license授权有效期 0:月度授权 1:永久授权 - // 注意:此字段可能返回 null,表示取不到有效值。 LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"` // 付费方 0:厂商付费 1:客户付费 - // 注意:此字段可能返回 null,表示取不到有效值。 Payer *int64 `json:"Payer,omitnil,omitempty" name:"Payer"` // 设备分组ID diff --git a/tencentcloud/mongodb/go.mod b/tencentcloud/mongodb/go.mod index 19cef75688..f43633a9cd 100644 --- a/tencentcloud/mongodb/go.mod +++ b/tencentcloud/mongodb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mongodb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/monitor/go.mod b/tencentcloud/monitor/go.mod index 90cab4ff83..326ca73f46 100644 --- a/tencentcloud/monitor/go.mod +++ b/tencentcloud/monitor/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/monitor go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/mps/go.mod b/tencentcloud/mps/go.mod index d3f013307e..a46c1c5085 100644 --- a/tencentcloud/mps/go.mod +++ b/tencentcloud/mps/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mps go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/mqtt/go.mod b/tencentcloud/mqtt/go.mod index a4379f8f59..0aec120fac 100644 --- a/tencentcloud/mqtt/go.mod +++ b/tencentcloud/mqtt/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mqtt go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/mrs/go.mod b/tencentcloud/mrs/go.mod index 3efa2ba893..ec9db029e3 100644 --- a/tencentcloud/mrs/go.mod +++ b/tencentcloud/mrs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mrs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ms/go.mod b/tencentcloud/ms/go.mod index 6af2f97e9d..8858e2d8fa 100644 --- a/tencentcloud/ms/go.mod +++ b/tencentcloud/ms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/msp/go.mod b/tencentcloud/msp/go.mod index 9a2ddcbbd1..be577974bd 100644 --- a/tencentcloud/msp/go.mod +++ b/tencentcloud/msp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/msp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/mvj/go.mod b/tencentcloud/mvj/go.mod index efc67af865..7b9c877fdd 100644 --- a/tencentcloud/mvj/go.mod +++ b/tencentcloud/mvj/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/mvj go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/nlp/go.mod b/tencentcloud/nlp/go.mod index 7bfd3f270c..80a18f6afd 100644 --- a/tencentcloud/nlp/go.mod +++ b/tencentcloud/nlp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/nlp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/npp/go.mod b/tencentcloud/npp/go.mod index 22eb75f95b..714736443c 100644 --- a/tencentcloud/npp/go.mod +++ b/tencentcloud/npp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/npp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/oceanus/go.mod b/tencentcloud/oceanus/go.mod index 68cc5b02aa..80d3b5a564 100644 --- a/tencentcloud/oceanus/go.mod +++ b/tencentcloud/oceanus/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/oceanus go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ocr/go.mod b/tencentcloud/ocr/go.mod index 0ccf5f1722..f23b669963 100644 --- a/tencentcloud/ocr/go.mod +++ b/tencentcloud/ocr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ocr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/omics/go.mod b/tencentcloud/omics/go.mod index 9b68ef3f8f..3d41073214 100644 --- a/tencentcloud/omics/go.mod +++ b/tencentcloud/omics/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/omics go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/organization/go.mod b/tencentcloud/organization/go.mod index 378ae2491f..088eb0f59e 100644 --- a/tencentcloud/organization/go.mod +++ b/tencentcloud/organization/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/organization go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/partners/go.mod b/tencentcloud/partners/go.mod index 089a21ecbc..0bf20e1b2c 100644 --- a/tencentcloud/partners/go.mod +++ b/tencentcloud/partners/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/partners go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/pds/go.mod b/tencentcloud/pds/go.mod index f9c43a0d28..c8e8fb1a05 100644 --- a/tencentcloud/pds/go.mod +++ b/tencentcloud/pds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/postgres/go.mod b/tencentcloud/postgres/go.mod index 0917b81d5a..65b84c30d9 100644 --- a/tencentcloud/postgres/go.mod +++ b/tencentcloud/postgres/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/postgres go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/privatedns/go.mod b/tencentcloud/privatedns/go.mod index 1f064dbb10..4189f62f38 100644 --- a/tencentcloud/privatedns/go.mod +++ b/tencentcloud/privatedns/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/privatedns go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/pts/go.mod b/tencentcloud/pts/go.mod index 58d3f45874..e62b793f3a 100644 --- a/tencentcloud/pts/go.mod +++ b/tencentcloud/pts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/pts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/rce/go.mod b/tencentcloud/rce/go.mod index ef4e57764a..5001895dfc 100644 --- a/tencentcloud/rce/go.mod +++ b/tencentcloud/rce/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rce go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/redis/go.mod b/tencentcloud/redis/go.mod index d64aa6e170..d4cac2ef95 100644 --- a/tencentcloud/redis/go.mod +++ b/tencentcloud/redis/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/redis go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/redis/v20180412/models.go b/tencentcloud/redis/v20180412/models.go index 28a171bfbf..17e2a98180 100644 --- a/tencentcloud/redis/v20180412/models.go +++ b/tencentcloud/redis/v20180412/models.go @@ -7115,7 +7115,9 @@ type InstanceSet struct { // 已隔离实例默认下线时间。按量计费实例隔离后默认两小时后下线,包年包月默认7天后下线。格式如:2020-02-15 10:20:00。 OfflineTime *string `json:"OfflineTime,omitnil,omitempty" name:"OfflineTime"` - // 流程中的实例,返回子状态。 + // 流程中的实例返回的子状态。 + // - 0:磁盘读写状态。 + // - 1:磁盘超限只读状态。 SubStatus *int64 `json:"SubStatus,omitnil,omitempty" name:"SubStatus"` // 反亲和性标签。 diff --git a/tencentcloud/region/go.mod b/tencentcloud/region/go.mod index 5b14611a6a..75fb3a6f88 100644 --- a/tencentcloud/region/go.mod +++ b/tencentcloud/region/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/region go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/rkp/go.mod b/tencentcloud/rkp/go.mod index 0a0e7afa21..8907e86282 100644 --- a/tencentcloud/rkp/go.mod +++ b/tencentcloud/rkp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rkp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/rp/go.mod b/tencentcloud/rp/go.mod index 828e4db7a9..203e0abe9c 100644 --- a/tencentcloud/rp/go.mod +++ b/tencentcloud/rp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/rum/go.mod b/tencentcloud/rum/go.mod index 257d303e0f..187eec7d95 100644 --- a/tencentcloud/rum/go.mod +++ b/tencentcloud/rum/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/rum go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/scf/go.mod b/tencentcloud/scf/go.mod index c3891804e1..7d55af8d3e 100644 --- a/tencentcloud/scf/go.mod +++ b/tencentcloud/scf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/scf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ses/go.mod b/tencentcloud/ses/go.mod index 546a4dc6ee..dcb2b771cc 100644 --- a/tencentcloud/ses/go.mod +++ b/tencentcloud/ses/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ses go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/smh/go.mod b/tencentcloud/smh/go.mod index 5545d90b2a..952357b5f0 100644 --- a/tencentcloud/smh/go.mod +++ b/tencentcloud/smh/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smh go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/smop/go.mod b/tencentcloud/smop/go.mod index 79db086657..bdc51ec100 100644 --- a/tencentcloud/smop/go.mod +++ b/tencentcloud/smop/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smop go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/smpn/go.mod b/tencentcloud/smpn/go.mod index d0f9aa5e11..694359e0f7 100644 --- a/tencentcloud/smpn/go.mod +++ b/tencentcloud/smpn/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/smpn go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/sms/go.mod b/tencentcloud/sms/go.mod index 951aae9fbe..27c842327c 100644 --- a/tencentcloud/sms/go.mod +++ b/tencentcloud/sms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/sms/v20190711/client.go b/tencentcloud/sms/v20190711/client.go index 5d92ee2259..d632816534 100644 --- a/tencentcloud/sms/v20190711/client.go +++ b/tencentcloud/sms/v20190711/client.go @@ -75,6 +75,7 @@ func NewAddSmsSignResponse() (response *AddSmsSignResponse) { // FAILEDOPERATION_NOTENTERPRISECERTIFICATION = "FailedOperation.NotEnterpriseCertification" // FAILEDOPERATION_OTHERERROR = "FailedOperation.OtherError" // FAILEDOPERATION_PARAMETERSOTHERERROR = "FailedOperation.ParametersOtherError" +// FAILEDOPERATION_QUALIFICATIONIDNOTAPPROVED = "FailedOperation.QualificationIdNotApproved" // FAILEDOPERATION_SIGNNUMBERLIMIT = "FailedOperation.SignNumberLimit" // FAILEDOPERATION_TEMPLATEIDNOTEXIST = "FailedOperation.TemplateIdNotExist" // INTERNALERROR_PARSEBACKENDRESPONSEFAIL = "InternalError.ParseBackendResponseFail" @@ -89,6 +90,7 @@ func NewAddSmsSignResponse() (response *AddSmsSignResponse) { // INVALIDPARAMETERVALUE_INVALIDDOCUMENTTYPE = "InvalidParameterValue.InvalidDocumentType" // INVALIDPARAMETERVALUE_INVALIDINTERNATIONAL = "InvalidParameterValue.InvalidInternational" // INVALIDPARAMETERVALUE_INVALIDUSEDMETHOD = "InvalidParameterValue.InvalidUsedMethod" +// INVALIDPARAMETERVALUE_QUALIFICATIONIDNOTFOUND = "InvalidParameterValue.QualificationIdNotFound" // INVALIDPARAMETERVALUE_SDKAPPIDNOTEXIST = "InvalidParameterValue.SdkAppIdNotExist" // INVALIDPARAMETERVALUE_SIGNALREADYPASSEDCHECK = "InvalidParameterValue.SignAlreadyPassedCheck" // INVALIDPARAMETERVALUE_SIGNEXISTANDUNAPPROVED = "InvalidParameterValue.SignExistAndUnapproved" @@ -113,6 +115,7 @@ func (c *Client) AddSmsSign(request *AddSmsSignRequest) (response *AddSmsSignRes // FAILEDOPERATION_NOTENTERPRISECERTIFICATION = "FailedOperation.NotEnterpriseCertification" // FAILEDOPERATION_OTHERERROR = "FailedOperation.OtherError" // FAILEDOPERATION_PARAMETERSOTHERERROR = "FailedOperation.ParametersOtherError" +// FAILEDOPERATION_QUALIFICATIONIDNOTAPPROVED = "FailedOperation.QualificationIdNotApproved" // FAILEDOPERATION_SIGNNUMBERLIMIT = "FailedOperation.SignNumberLimit" // FAILEDOPERATION_TEMPLATEIDNOTEXIST = "FailedOperation.TemplateIdNotExist" // INTERNALERROR_PARSEBACKENDRESPONSEFAIL = "InternalError.ParseBackendResponseFail" @@ -127,6 +130,7 @@ func (c *Client) AddSmsSign(request *AddSmsSignRequest) (response *AddSmsSignRes // INVALIDPARAMETERVALUE_INVALIDDOCUMENTTYPE = "InvalidParameterValue.InvalidDocumentType" // INVALIDPARAMETERVALUE_INVALIDINTERNATIONAL = "InvalidParameterValue.InvalidInternational" // INVALIDPARAMETERVALUE_INVALIDUSEDMETHOD = "InvalidParameterValue.InvalidUsedMethod" +// INVALIDPARAMETERVALUE_QUALIFICATIONIDNOTFOUND = "InvalidParameterValue.QualificationIdNotFound" // INVALIDPARAMETERVALUE_SDKAPPIDNOTEXIST = "InvalidParameterValue.SdkAppIdNotExist" // INVALIDPARAMETERVALUE_SIGNALREADYPASSEDCHECK = "InvalidParameterValue.SignAlreadyPassedCheck" // INVALIDPARAMETERVALUE_SIGNEXISTANDUNAPPROVED = "InvalidParameterValue.SignExistAndUnapproved" @@ -737,6 +741,7 @@ func NewModifySmsSignResponse() (response *ModifySmsSignResponse) { // FAILEDOPERATION_MISSINGSIGNATURETOMODIFY = "FailedOperation.MissingSignatureToModify" // FAILEDOPERATION_NOTENTERPRISECERTIFICATION = "FailedOperation.NotEnterpriseCertification" // FAILEDOPERATION_OTHERERROR = "FailedOperation.OtherError" +// FAILEDOPERATION_QUALIFICATIONIDNOTAPPROVED = "FailedOperation.QualificationIdNotApproved" // FAILEDOPERATION_TEMPLATEALREADYPASSEDCHECK = "FailedOperation.TemplateAlreadyPassedCheck" // FAILEDOPERATION_TEMPLATEIDNOTEXIST = "FailedOperation.TemplateIdNotExist" // INTERNALERROR_OTHERERROR = "InternalError.OtherError" @@ -752,6 +757,7 @@ func NewModifySmsSignResponse() (response *ModifySmsSignResponse) { // INVALIDPARAMETERVALUE_INVALIDDOCUMENTTYPE = "InvalidParameterValue.InvalidDocumentType" // INVALIDPARAMETERVALUE_INVALIDINTERNATIONAL = "InvalidParameterValue.InvalidInternational" // INVALIDPARAMETERVALUE_INVALIDUSEDMETHOD = "InvalidParameterValue.InvalidUsedMethod" +// INVALIDPARAMETERVALUE_QUALIFICATIONIDNOTFOUND = "InvalidParameterValue.QualificationIdNotFound" // INVALIDPARAMETERVALUE_SIGNALREADYPASSEDCHECK = "InvalidParameterValue.SignAlreadyPassedCheck" // INVALIDPARAMETERVALUE_SIGNEXISTANDUNAPPROVED = "InvalidParameterValue.SignExistAndUnapproved" // INVALIDPARAMETERVALUE_SIGNNAMELENGTHTOOLONG = "InvalidParameterValue.SignNameLengthTooLong" @@ -775,6 +781,7 @@ func (c *Client) ModifySmsSign(request *ModifySmsSignRequest) (response *ModifyS // FAILEDOPERATION_MISSINGSIGNATURETOMODIFY = "FailedOperation.MissingSignatureToModify" // FAILEDOPERATION_NOTENTERPRISECERTIFICATION = "FailedOperation.NotEnterpriseCertification" // FAILEDOPERATION_OTHERERROR = "FailedOperation.OtherError" +// FAILEDOPERATION_QUALIFICATIONIDNOTAPPROVED = "FailedOperation.QualificationIdNotApproved" // FAILEDOPERATION_TEMPLATEALREADYPASSEDCHECK = "FailedOperation.TemplateAlreadyPassedCheck" // FAILEDOPERATION_TEMPLATEIDNOTEXIST = "FailedOperation.TemplateIdNotExist" // INTERNALERROR_OTHERERROR = "InternalError.OtherError" @@ -790,6 +797,7 @@ func (c *Client) ModifySmsSign(request *ModifySmsSignRequest) (response *ModifyS // INVALIDPARAMETERVALUE_INVALIDDOCUMENTTYPE = "InvalidParameterValue.InvalidDocumentType" // INVALIDPARAMETERVALUE_INVALIDINTERNATIONAL = "InvalidParameterValue.InvalidInternational" // INVALIDPARAMETERVALUE_INVALIDUSEDMETHOD = "InvalidParameterValue.InvalidUsedMethod" +// INVALIDPARAMETERVALUE_QUALIFICATIONIDNOTFOUND = "InvalidParameterValue.QualificationIdNotFound" // INVALIDPARAMETERVALUE_SIGNALREADYPASSEDCHECK = "InvalidParameterValue.SignAlreadyPassedCheck" // INVALIDPARAMETERVALUE_SIGNEXISTANDUNAPPROVED = "InvalidParameterValue.SignExistAndUnapproved" // INVALIDPARAMETERVALUE_SIGNNAMELENGTHTOOLONG = "InvalidParameterValue.SignNameLengthTooLong" diff --git a/tencentcloud/sms/v20190711/errors.go b/tencentcloud/sms/v20190711/errors.go index c6eeecce60..91aab28a11 100644 --- a/tencentcloud/sms/v20190711/errors.go +++ b/tencentcloud/sms/v20190711/errors.go @@ -59,6 +59,9 @@ const ( // 手机号在免打扰名单库中,通常是用户退订或者命中运营商免打扰名单导致的,可联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) 解决。 FAILEDOPERATION_PHONENUMBERINBLACKLIST = "FailedOperation.PhoneNumberInBlacklist" + // 资质ID未审核通过。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + FAILEDOPERATION_QUALIFICATIONIDNOTAPPROVED = "FailedOperation.QualificationIdNotApproved" + // 签名 ID 不存在。 FAILEDOPERATION_SIGNIDNOTEXIST = "FailedOperation.SignIdNotExist" @@ -167,6 +170,9 @@ const ( // 禁止在模板变量中使用 URL。您可以参考正文模板审核标准下关于 [变量规范](https://cloud.tencent.com/document/product/382/39023#.E5.8F.98.E9.87.8F.E8.A7.84.E8.8C.83.5B.5D(id.3Avariable)) 的描述 INVALIDPARAMETERVALUE_PROHIBITEDUSEURLINTEMPLATEPARAMETER = "InvalidParameterValue.ProhibitedUseUrlInTemplateParameter" + // 资质ID未找到。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + INVALIDPARAMETERVALUE_QUALIFICATIONIDNOTFOUND = "InvalidParameterValue.QualificationIdNotFound" + // SdkAppId 不存在。 INVALIDPARAMETERVALUE_SDKAPPIDNOTEXIST = "InvalidParameterValue.SdkAppIdNotExist" diff --git a/tencentcloud/sms/v20190711/models.go b/tencentcloud/sms/v20190711/models.go index 71dbe70c32..5cecbf537c 100644 --- a/tencentcloud/sms/v20190711/models.go +++ b/tencentcloud/sms/v20190711/models.go @@ -77,6 +77,9 @@ type AddSmsSignRequestParams struct { // 签名的申请备注。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` + + // 已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + QualificationId *uint64 `json:"QualificationId,omitnil,omitempty" name:"QualificationId"` } type AddSmsSignRequest struct { @@ -129,6 +132,9 @@ type AddSmsSignRequest struct { // 签名的申请备注。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` + + // 已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + QualificationId *uint64 `json:"QualificationId,omitnil,omitempty" name:"QualificationId"` } func (r *AddSmsSignRequest) ToJsonString() string { @@ -151,6 +157,7 @@ func (r *AddSmsSignRequest) FromJsonString(s string) error { delete(f, "ProofImage") delete(f, "CommissionImage") delete(f, "Remark") + delete(f, "QualificationId") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AddSmsSignRequest has unknown keys!", "") } @@ -548,6 +555,18 @@ type DescribeSignListStatus struct { // 提交审核时间,UNIX 时间戳(单位:秒)。 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` + + // 国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + // 注:国际短信不涉及,默认为0。 + QualificationId *uint64 `json:"QualificationId,omitnil,omitempty" name:"QualificationId"` + + // 国内短信的资质名称。 + // 注:国际短信不涉及,默认为空。 + QualificationName *string `json:"QualificationName,omitnil,omitempty" name:"QualificationName"` + + // 国内短信的资质状态。其中0表示待审核,1表示已通过,2表示已拒绝,3表示待补充后提交,4表示变更后待审核,5表示变更后被驳回。可参考 [实名资质审核状态说明](https://cloud.tencent.com/document/product/382/13444#.E5.AE.A1.E6.A0.B8.E7.8A.B6.E6.80.81.E8.AF.B4.E6.98.8E) 。 + // 注:国际短信不涉及,默认为0。 + QualificationStatusCode *int64 `json:"QualificationStatusCode,omitnil,omitempty" name:"QualificationStatusCode"` } // Predefined struct for user @@ -768,6 +787,9 @@ type ModifySmsSignRequestParams struct { // 签名的申请备注。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` + + // 已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + QualificationId *uint64 `json:"QualificationId,omitnil,omitempty" name:"QualificationId"` } type ModifySmsSignRequest struct { @@ -823,6 +845,9 @@ type ModifySmsSignRequest struct { // 签名的申请备注。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` + + // 已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + QualificationId *uint64 `json:"QualificationId,omitnil,omitempty" name:"QualificationId"` } func (r *ModifySmsSignRequest) ToJsonString() string { @@ -846,6 +871,7 @@ func (r *ModifySmsSignRequest) FromJsonString(s string) error { delete(f, "ProofImage") delete(f, "CommissionImage") delete(f, "Remark") + delete(f, "QualificationId") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifySmsSignRequest has unknown keys!", "") } diff --git a/tencentcloud/sms/v20210111/client.go b/tencentcloud/sms/v20210111/client.go index 6487f6fb5e..18accd23d4 100644 --- a/tencentcloud/sms/v20210111/client.go +++ b/tencentcloud/sms/v20210111/client.go @@ -75,6 +75,7 @@ func NewAddSmsSignResponse() (response *AddSmsSignResponse) { // FAILEDOPERATION_NOTENTERPRISECERTIFICATION = "FailedOperation.NotEnterpriseCertification" // FAILEDOPERATION_OTHERERROR = "FailedOperation.OtherError" // FAILEDOPERATION_PARAMETERSOTHERERROR = "FailedOperation.ParametersOtherError" +// FAILEDOPERATION_QUALIFICATIONIDNOTAPPROVED = "FailedOperation.QualificationIdNotApproved" // FAILEDOPERATION_SIGNNUMBERLIMIT = "FailedOperation.SignNumberLimit" // FAILEDOPERATION_TEMPLATEIDNOTEXIST = "FailedOperation.TemplateIdNotExist" // INTERNALERROR_REQUESTTIMEEXCEPTION = "InternalError.RequestTimeException" @@ -88,6 +89,7 @@ func NewAddSmsSignResponse() (response *AddSmsSignResponse) { // INVALIDPARAMETERVALUE_INVALIDDOCUMENTTYPE = "InvalidParameterValue.InvalidDocumentType" // INVALIDPARAMETERVALUE_INVALIDINTERNATIONAL = "InvalidParameterValue.InvalidInternational" // INVALIDPARAMETERVALUE_INVALIDUSEDMETHOD = "InvalidParameterValue.InvalidUsedMethod" +// INVALIDPARAMETERVALUE_QUALIFICATIONIDNOTFOUND = "InvalidParameterValue.QualificationIdNotFound" // INVALIDPARAMETERVALUE_SDKAPPIDNOTEXIST = "InvalidParameterValue.SdkAppIdNotExist" // INVALIDPARAMETERVALUE_SIGNALREADYPASSEDCHECK = "InvalidParameterValue.SignAlreadyPassedCheck" // INVALIDPARAMETERVALUE_SIGNEXISTANDUNAPPROVED = "InvalidParameterValue.SignExistAndUnapproved" @@ -112,6 +114,7 @@ func (c *Client) AddSmsSign(request *AddSmsSignRequest) (response *AddSmsSignRes // FAILEDOPERATION_NOTENTERPRISECERTIFICATION = "FailedOperation.NotEnterpriseCertification" // FAILEDOPERATION_OTHERERROR = "FailedOperation.OtherError" // FAILEDOPERATION_PARAMETERSOTHERERROR = "FailedOperation.ParametersOtherError" +// FAILEDOPERATION_QUALIFICATIONIDNOTAPPROVED = "FailedOperation.QualificationIdNotApproved" // FAILEDOPERATION_SIGNNUMBERLIMIT = "FailedOperation.SignNumberLimit" // FAILEDOPERATION_TEMPLATEIDNOTEXIST = "FailedOperation.TemplateIdNotExist" // INTERNALERROR_REQUESTTIMEEXCEPTION = "InternalError.RequestTimeException" @@ -125,6 +128,7 @@ func (c *Client) AddSmsSign(request *AddSmsSignRequest) (response *AddSmsSignRes // INVALIDPARAMETERVALUE_INVALIDDOCUMENTTYPE = "InvalidParameterValue.InvalidDocumentType" // INVALIDPARAMETERVALUE_INVALIDINTERNATIONAL = "InvalidParameterValue.InvalidInternational" // INVALIDPARAMETERVALUE_INVALIDUSEDMETHOD = "InvalidParameterValue.InvalidUsedMethod" +// INVALIDPARAMETERVALUE_QUALIFICATIONIDNOTFOUND = "InvalidParameterValue.QualificationIdNotFound" // INVALIDPARAMETERVALUE_SDKAPPIDNOTEXIST = "InvalidParameterValue.SdkAppIdNotExist" // INVALIDPARAMETERVALUE_SIGNALREADYPASSEDCHECK = "InvalidParameterValue.SignAlreadyPassedCheck" // INVALIDPARAMETERVALUE_SIGNEXISTANDUNAPPROVED = "InvalidParameterValue.SignExistAndUnapproved" @@ -800,6 +804,7 @@ func NewModifySmsSignResponse() (response *ModifySmsSignResponse) { // FAILEDOPERATION_MISSINGSIGNATURETOMODIFY = "FailedOperation.MissingSignatureToModify" // FAILEDOPERATION_NOTENTERPRISECERTIFICATION = "FailedOperation.NotEnterpriseCertification" // FAILEDOPERATION_OTHERERROR = "FailedOperation.OtherError" +// FAILEDOPERATION_QUALIFICATIONIDNOTAPPROVED = "FailedOperation.QualificationIdNotApproved" // FAILEDOPERATION_SIGNNUMBERLIMIT = "FailedOperation.SignNumberLimit" // FAILEDOPERATION_TEMPLATEALREADYPASSEDCHECK = "FailedOperation.TemplateAlreadyPassedCheck" // FAILEDOPERATION_TEMPLATEIDNOTEXIST = "FailedOperation.TemplateIdNotExist" @@ -815,6 +820,7 @@ func NewModifySmsSignResponse() (response *ModifySmsSignResponse) { // INVALIDPARAMETERVALUE_INVALIDDOCUMENTTYPE = "InvalidParameterValue.InvalidDocumentType" // INVALIDPARAMETERVALUE_INVALIDINTERNATIONAL = "InvalidParameterValue.InvalidInternational" // INVALIDPARAMETERVALUE_INVALIDSIGNPURPOSE = "InvalidParameterValue.InvalidSignPurpose" +// INVALIDPARAMETERVALUE_QUALIFICATIONIDNOTFOUND = "InvalidParameterValue.QualificationIdNotFound" // INVALIDPARAMETERVALUE_SIGNALREADYPASSEDCHECK = "InvalidParameterValue.SignAlreadyPassedCheck" // INVALIDPARAMETERVALUE_SIGNEXISTANDUNAPPROVED = "InvalidParameterValue.SignExistAndUnapproved" // INVALIDPARAMETERVALUE_SIGNNAMELENGTHTOOLONG = "InvalidParameterValue.SignNameLengthTooLong" @@ -838,6 +844,7 @@ func (c *Client) ModifySmsSign(request *ModifySmsSignRequest) (response *ModifyS // FAILEDOPERATION_MISSINGSIGNATURETOMODIFY = "FailedOperation.MissingSignatureToModify" // FAILEDOPERATION_NOTENTERPRISECERTIFICATION = "FailedOperation.NotEnterpriseCertification" // FAILEDOPERATION_OTHERERROR = "FailedOperation.OtherError" +// FAILEDOPERATION_QUALIFICATIONIDNOTAPPROVED = "FailedOperation.QualificationIdNotApproved" // FAILEDOPERATION_SIGNNUMBERLIMIT = "FailedOperation.SignNumberLimit" // FAILEDOPERATION_TEMPLATEALREADYPASSEDCHECK = "FailedOperation.TemplateAlreadyPassedCheck" // FAILEDOPERATION_TEMPLATEIDNOTEXIST = "FailedOperation.TemplateIdNotExist" @@ -853,6 +860,7 @@ func (c *Client) ModifySmsSign(request *ModifySmsSignRequest) (response *ModifyS // INVALIDPARAMETERVALUE_INVALIDDOCUMENTTYPE = "InvalidParameterValue.InvalidDocumentType" // INVALIDPARAMETERVALUE_INVALIDINTERNATIONAL = "InvalidParameterValue.InvalidInternational" // INVALIDPARAMETERVALUE_INVALIDSIGNPURPOSE = "InvalidParameterValue.InvalidSignPurpose" +// INVALIDPARAMETERVALUE_QUALIFICATIONIDNOTFOUND = "InvalidParameterValue.QualificationIdNotFound" // INVALIDPARAMETERVALUE_SIGNALREADYPASSEDCHECK = "InvalidParameterValue.SignAlreadyPassedCheck" // INVALIDPARAMETERVALUE_SIGNEXISTANDUNAPPROVED = "InvalidParameterValue.SignExistAndUnapproved" // INVALIDPARAMETERVALUE_SIGNNAMELENGTHTOOLONG = "InvalidParameterValue.SignNameLengthTooLong" diff --git a/tencentcloud/sms/v20210111/errors.go b/tencentcloud/sms/v20210111/errors.go index 6b39ab0917..d8114e0528 100644 --- a/tencentcloud/sms/v20210111/errors.go +++ b/tencentcloud/sms/v20210111/errors.go @@ -68,6 +68,9 @@ const ( // 非主账号无法使用拉取模板列表功能。您可以使用主账号下云 API 密钥来调用接口。 FAILEDOPERATION_PROHIBITSUBACCOUNTUSE = "FailedOperation.ProhibitSubAccountUse" + // 资质ID未审核通过。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + FAILEDOPERATION_QUALIFICATIONIDNOTAPPROVED = "FailedOperation.QualificationIdNotApproved" + // 签名 ID 不存在。 FAILEDOPERATION_SIGNIDNOTEXIST = "FailedOperation.SignIdNotExist" @@ -185,6 +188,9 @@ const ( // 禁止在模板变量中使用 URL。您可以参考正文模板审核标准下关于 [变量规范](https://cloud.tencent.com/document/product/382/39023#.E5.8F.98.E9.87.8F.E8.A7.84.E8.8C.83.5B.5D(id.3Avariable)) 的描述 INVALIDPARAMETERVALUE_PROHIBITEDUSEURLINTEMPLATEPARAMETER = "InvalidParameterValue.ProhibitedUseUrlInTemplateParameter" + // 资质ID未找到。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + INVALIDPARAMETERVALUE_QUALIFICATIONIDNOTFOUND = "InvalidParameterValue.QualificationIdNotFound" + // SdkAppId 不存在。 INVALIDPARAMETERVALUE_SDKAPPIDNOTEXIST = "InvalidParameterValue.SdkAppIdNotExist" diff --git a/tencentcloud/sms/v20210111/models.go b/tencentcloud/sms/v20210111/models.go index df16868e9c..29a65492d6 100644 --- a/tencentcloud/sms/v20210111/models.go +++ b/tencentcloud/sms/v20210111/models.go @@ -74,6 +74,9 @@ type AddSmsSignRequestParams struct { // 签名的申请备注。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` + + // 已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + QualificationId *uint64 `json:"QualificationId,omitnil,omitempty" name:"QualificationId"` } type AddSmsSignRequest struct { @@ -126,6 +129,9 @@ type AddSmsSignRequest struct { // 签名的申请备注。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` + + // 已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + QualificationId *uint64 `json:"QualificationId,omitnil,omitempty" name:"QualificationId"` } func (r *AddSmsSignRequest) ToJsonString() string { @@ -148,6 +154,7 @@ func (r *AddSmsSignRequest) FromJsonString(s string) error { delete(f, "ProofImage") delete(f, "CommissionImage") delete(f, "Remark") + delete(f, "QualificationId") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AddSmsSignRequest has unknown keys!", "") } @@ -602,6 +609,18 @@ type DescribeSignListStatus struct { // 提交审核时间,UNIX 时间戳(单位:秒)。 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` + + // 国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + // 注:国际短信不涉及,默认为0。 + QualificationId *uint64 `json:"QualificationId,omitnil,omitempty" name:"QualificationId"` + + // 国内短信的资质名称。 + // 注:国际短信不涉及,默认为空。 + QualificationName *string `json:"QualificationName,omitnil,omitempty" name:"QualificationName"` + + // 国内短信的资质状态。其中0表示待审核,1表示已通过,2表示已拒绝,3表示待补充后提交,4表示变更后待审核,5表示变更后被驳回。可参考 [实名资质审核状态说明](https://cloud.tencent.com/document/product/382/13444#.E5.AE.A1.E6.A0.B8.E7.8A.B6.E6.80.81.E8.AF.B4.E6.98.8E) 。 + // 注:国际短信不涉及,默认为0。 + QualificationStatusCode *int64 `json:"QualificationStatusCode,omitnil,omitempty" name:"QualificationStatusCode"` } // Predefined struct for user @@ -842,6 +861,9 @@ type ModifySmsSignRequestParams struct { // 签名的申请备注。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` + + // 已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + QualificationId *uint64 `json:"QualificationId,omitnil,omitempty" name:"QualificationId"` } type ModifySmsSignRequest struct { @@ -897,6 +919,9 @@ type ModifySmsSignRequest struct { // 签名的申请备注。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` + + // 已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 [实名资质管理](https://console.cloud.tencent.com/smsv2/enterprise) 页查看。 + QualificationId *uint64 `json:"QualificationId,omitnil,omitempty" name:"QualificationId"` } func (r *ModifySmsSignRequest) ToJsonString() string { @@ -920,6 +945,7 @@ func (r *ModifySmsSignRequest) FromJsonString(s string) error { delete(f, "ProofImage") delete(f, "CommissionImage") delete(f, "Remark") + delete(f, "QualificationId") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ModifySmsSignRequest has unknown keys!", "") } diff --git a/tencentcloud/soe/go.mod b/tencentcloud/soe/go.mod index ba0d7ce3d4..2063d7bbaa 100644 --- a/tencentcloud/soe/go.mod +++ b/tencentcloud/soe/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/soe go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/solar/go.mod b/tencentcloud/solar/go.mod index 772943c340..2738439a1b 100644 --- a/tencentcloud/solar/go.mod +++ b/tencentcloud/solar/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/solar go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/sqlserver/go.mod b/tencentcloud/sqlserver/go.mod index 65f965a4f3..74b0158df5 100644 --- a/tencentcloud/sqlserver/go.mod +++ b/tencentcloud/sqlserver/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sqlserver go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ssa/go.mod b/tencentcloud/ssa/go.mod index 6db8aa50cb..8e3cf2d65e 100644 --- a/tencentcloud/ssa/go.mod +++ b/tencentcloud/ssa/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssa go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ssl/go.mod b/tencentcloud/ssl/go.mod index 758362c4a9..1b4f1ccb1a 100644 --- a/tencentcloud/ssl/go.mod +++ b/tencentcloud/ssl/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssl go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/sslpod/go.mod b/tencentcloud/sslpod/go.mod index f157e7df21..b474674357 100644 --- a/tencentcloud/sslpod/go.mod +++ b/tencentcloud/sslpod/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sslpod go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ssm/go.mod b/tencentcloud/ssm/go.mod index d6323bfdf3..f127cbac3e 100644 --- a/tencentcloud/ssm/go.mod +++ b/tencentcloud/ssm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ssm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/sts/go.mod b/tencentcloud/sts/go.mod index 8f59fdd885..1bba26e80d 100644 --- a/tencentcloud/sts/go.mod +++ b/tencentcloud/sts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/sts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/svp/go.mod b/tencentcloud/svp/go.mod index 6340eedbd7..d7b3cc106a 100644 --- a/tencentcloud/svp/go.mod +++ b/tencentcloud/svp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/svp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/taf/go.mod b/tencentcloud/taf/go.mod index 3433f02f41..d76266d40f 100644 --- a/tencentcloud/taf/go.mod +++ b/tencentcloud/taf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/taf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tag/go.mod b/tencentcloud/tag/go.mod index 0c9d276745..bcae56a3a2 100644 --- a/tencentcloud/tag/go.mod +++ b/tencentcloud/tag/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tag go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tan/go.mod b/tencentcloud/tan/go.mod index 256e2a6d81..c91489e2b0 100644 --- a/tencentcloud/tan/go.mod +++ b/tencentcloud/tan/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tan go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tat/go.mod b/tencentcloud/tat/go.mod index 027d3ec86c..686be31941 100644 --- a/tencentcloud/tat/go.mod +++ b/tencentcloud/tat/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tat go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tav/go.mod b/tencentcloud/tav/go.mod index e80a839078..bf4623d133 100644 --- a/tencentcloud/tav/go.mod +++ b/tencentcloud/tav/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tav go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tbaas/go.mod b/tencentcloud/tbaas/go.mod index 22b9766f73..fea1090b01 100644 --- a/tencentcloud/tbaas/go.mod +++ b/tencentcloud/tbaas/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbaas go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tbm/go.mod b/tencentcloud/tbm/go.mod index 0a3c9da7d5..3c41fc2672 100644 --- a/tencentcloud/tbm/go.mod +++ b/tencentcloud/tbm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tbp/go.mod b/tencentcloud/tbp/go.mod index 58157ae2e5..74e4e97606 100644 --- a/tencentcloud/tbp/go.mod +++ b/tencentcloud/tbp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tbp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tcaplusdb/go.mod b/tencentcloud/tcaplusdb/go.mod index 4a22a7f8d1..9abaefb127 100644 --- a/tencentcloud/tcaplusdb/go.mod +++ b/tencentcloud/tcaplusdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcaplusdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tcb/go.mod b/tencentcloud/tcb/go.mod index 64df050cf0..54b535585f 100644 --- a/tencentcloud/tcb/go.mod +++ b/tencentcloud/tcb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tcb/v20180608/models.go b/tencentcloud/tcb/v20180608/models.go index 7a0190b8d7..6640cfb391 100644 --- a/tencentcloud/tcb/v20180608/models.go +++ b/tencentcloud/tcb/v20180608/models.go @@ -2546,7 +2546,7 @@ type DeleteGatewayVersionRequestParams struct { // 是否强制删除 IsForce *bool `json:"IsForce,omitnil,omitempty" name:"IsForce"` - // 操作记录 + // 操作者记录 OperatorRemark *string `json:"OperatorRemark,omitnil,omitempty" name:"OperatorRemark"` } @@ -2571,7 +2571,7 @@ type DeleteGatewayVersionRequest struct { // 是否强制删除 IsForce *bool `json:"IsForce,omitnil,omitempty" name:"IsForce"` - // 操作记录 + // 操作者记录 OperatorRemark *string `json:"OperatorRemark,omitnil,omitempty" name:"OperatorRemark"` } @@ -7086,11 +7086,9 @@ func (r *DescribeWxGatewayRoutesRequest) FromJsonString(s string) error { // Predefined struct for user type DescribeWxGatewayRoutesResponseParams struct { // 返回的服务个数 - // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 返回的服务列表 - // 注意:此字段可能返回 null,表示取不到有效值。 WxGatewayRouteSet []*WxGatewayRountItem `json:"WxGatewayRouteSet,omitnil,omitempty" name:"WxGatewayRouteSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 @@ -7176,11 +7174,9 @@ func (r *DescribeWxGatewaysRequest) FromJsonString(s string) error { // Predefined struct for user type DescribeWxGatewaysResponseParams struct { // 返回的服务列表 - // 注意:此字段可能返回 null,表示取不到有效值。 Gateways []*GatewayItem `json:"Gateways,omitnil,omitempty" name:"Gateways"` // 网关总数 - // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 @@ -7955,11 +7951,9 @@ func (r *FreezeCloudBaseRunServersResponse) FromJsonString(s string) error { type FrequencyLimitConfig struct { // 限额对象 "ConnectionsLimit" 或 "QPSLimit" - // 注意:此字段可能返回 null,表示取不到有效值。 LimitObject *string `json:"LimitObject,omitnil,omitempty" name:"LimitObject"` // 限额配置 - // 注意:此字段可能返回 null,表示取不到有效值。 LimitConfig *string `json:"LimitConfig,omitnil,omitempty" name:"LimitConfig"` } @@ -7977,103 +7971,78 @@ type GatewayItem struct { Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // 用户appid - // 注意:此字段可能返回 null,表示取不到有效值。 AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` // WxAppId - // 注意:此字段可能返回 null,表示取不到有效值。 WxAppId *string `json:"WxAppId,omitnil,omitempty" name:"WxAppId"` // 环境id - // 注意:此字段可能返回 null,表示取不到有效值。 EnvId *string `json:"EnvId,omitnil,omitempty" name:"EnvId"` // Gateway唯一id - // 注意:此字段可能返回 null,表示取不到有效值。 GatewayId *string `json:"GatewayId,omitnil,omitempty" name:"GatewayId"` // Gateway名称 - // 注意:此字段可能返回 null,表示取不到有效值。 GatewayName *string `json:"GatewayName,omitnil,omitempty" name:"GatewayName"` // Gateway类型 - // 注意:此字段可能返回 null,表示取不到有效值。 GatewayType *string `json:"GatewayType,omitnil,omitempty" name:"GatewayType"` // Gateway描述 - // 注意:此字段可能返回 null,表示取不到有效值。 GatewayDesc *string `json:"GatewayDesc,omitnil,omitempty" name:"GatewayDesc"` // 套餐版本 - // 注意:此字段可能返回 null,表示取不到有效值。 PackageVersion *string `json:"PackageVersion,omitnil,omitempty" name:"PackageVersion"` // 套餐唯一id - // 注意:此字段可能返回 null,表示取不到有效值。 PackageId *uint64 `json:"PackageId,omitnil,omitempty" name:"PackageId"` // vpc唯一id - // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网id - // 注意:此字段可能返回 null,表示取不到有效值。 SubnetIds []*string `json:"SubnetIds,omitnil,omitempty" name:"SubnetIds"` // 网关状态 - // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // l5地址 - // 注意:此字段可能返回 null,表示取不到有效值。 L5Addr *string `json:"L5Addr,omitnil,omitempty" name:"L5Addr"` // 地域 - // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 是否可以续费 - // 注意:此字段可能返回 null,表示取不到有效值。 CanRenew *bool `json:"CanRenew,omitnil,omitempty" name:"CanRenew"` // 自动续费标志 - // 注意:此字段可能返回 null,表示取不到有效值。 AutoRenewFlag *uint64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 隔离时间 - // 注意:此字段可能返回 null,表示取不到有效值。 IsolateTime *string `json:"IsolateTime,omitnil,omitempty" name:"IsolateTime"` // 到期时间 - // 注意:此字段可能返回 null,表示取不到有效值。 ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // 创建时间 - // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 变更时间 - // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 是否可以降配 - // 注意:此字段可能返回 null,表示取不到有效值。 CanDowngrade *bool `json:"CanDowngrade,omitnil,omitempty" name:"CanDowngrade"` // 允许未登录访问 - // 注意:此字段可能返回 null,表示取不到有效值。 AllowUncertified *int64 `json:"AllowUncertified,omitnil,omitempty" name:"AllowUncertified"` // 网关版本限额 - // 注意:此字段可能返回 null,表示取不到有效值。 VersionNumLimit *int64 `json:"VersionNumLimit,omitnil,omitempty" name:"VersionNumLimit"` // Donut接入ID - // 注意:此字段可能返回 null,表示取不到有效值。 LongAccessId *string `json:"LongAccessId,omitnil,omitempty" name:"LongAccessId"` // Donut接入域名 - // 注意:此字段可能返回 null,表示取不到有效值。 AccessDomain *string `json:"AccessDomain,omitnil,omitempty" name:"AccessDomain"` } @@ -9837,46 +9806,35 @@ type WxGatewayRountItem struct { GatewayRouteCreateTime *string `json:"GatewayRouteCreateTime,omitnil,omitempty" name:"GatewayRouteCreateTime"` // 安全网关路由限制 - // 注意:此字段可能返回 null,表示取不到有效值。 FrequencyLimitConfig []*FrequencyLimitConfig `json:"FrequencyLimitConfig,omitnil,omitempty" name:"FrequencyLimitConfig"` // ip代表绑定后端ip。cbr代表云托管服务 - // 注意:此字段可能返回 null,表示取不到有效值。 GatewayRouteServerType *string `json:"GatewayRouteServerType,omitnil,omitempty" name:"GatewayRouteServerType"` // 服务名 - // 注意:此字段可能返回 null,表示取不到有效值。 GatewayRouteServerName *string `json:"GatewayRouteServerName,omitnil,omitempty" name:"GatewayRouteServerName"` // ip - // 注意:此字段可能返回 null,表示取不到有效值。 GatewayRewriteHost *string `json:"GatewayRewriteHost,omitnil,omitempty" name:"GatewayRewriteHost"` // 网关版本 - // 注意:此字段可能返回 null,表示取不到有效值。 GatewayVersion *string `json:"GatewayVersion,omitnil,omitempty" name:"GatewayVersion"` // 请求路径 - // 注意:此字段可能返回 null,表示取不到有效值。 GatewayRoutePath *string `json:"GatewayRoutePath,omitnil,omitempty" name:"GatewayRoutePath"` // 请求模式 - // 注意:此字段可能返回 null,表示取不到有效值。 GatewayRouteMethod *string `json:"GatewayRouteMethod,omitnil,omitempty" name:"GatewayRouteMethod"` // 4层端口 - // 注意:此字段可能返回 null,表示取不到有效值。 GatewayRoutePort *int64 `json:"GatewayRoutePort,omitnil,omitempty" name:"GatewayRoutePort"` // 路由环境ID - // 注意:此字段可能返回 null,表示取不到有效值。 GatewayRouteEnvId *string `json:"GatewayRouteEnvId,omitnil,omitempty" name:"GatewayRouteEnvId"` // 路径匹配类型,支持prefix(前缀匹配),regex(正则匹配), 默认prefix - // 注意:此字段可能返回 null,表示取不到有效值。 GatewayRoutePathMatchType *string `json:"GatewayRoutePathMatchType,omitnil,omitempty" name:"GatewayRoutePathMatchType"` // 安全网关自定义头部 - // 注意:此字段可能返回 null,表示取不到有效值。 CustomHeader *CustomHeader `json:"CustomHeader,omitnil,omitempty" name:"CustomHeader"` } \ No newline at end of file diff --git a/tencentcloud/tcbr/go.mod b/tencentcloud/tcbr/go.mod index 4127235f3c..6e3c1d227d 100644 --- a/tencentcloud/tcbr/go.mod +++ b/tencentcloud/tcbr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcbr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tcex/go.mod b/tencentcloud/tcex/go.mod index 69ff6a2627..f42f50af2c 100644 --- a/tencentcloud/tcex/go.mod +++ b/tencentcloud/tcex/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcex go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tchd/go.mod b/tencentcloud/tchd/go.mod index 9b8a3b67f0..5de2d0c9fa 100644 --- a/tencentcloud/tchd/go.mod +++ b/tencentcloud/tchd/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tchd go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tci/go.mod b/tencentcloud/tci/go.mod index 7969e4c7ab..8c5e1cca07 100644 --- a/tencentcloud/tci/go.mod +++ b/tencentcloud/tci/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tci go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tcm/go.mod b/tencentcloud/tcm/go.mod index 163b145699..2c86bdf2b3 100644 --- a/tencentcloud/tcm/go.mod +++ b/tencentcloud/tcm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tcr/go.mod b/tencentcloud/tcr/go.mod index 1eef07685c..57f6876a53 100644 --- a/tencentcloud/tcr/go.mod +++ b/tencentcloud/tcr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tcss/go.mod b/tencentcloud/tcss/go.mod index 485da841c9..5bd8b6b976 100644 --- a/tencentcloud/tcss/go.mod +++ b/tencentcloud/tcss/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tcss go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tdcpg/go.mod b/tencentcloud/tdcpg/go.mod index 5df92011a0..a8602c07f4 100644 --- a/tencentcloud/tdcpg/go.mod +++ b/tencentcloud/tdcpg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdcpg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tdid/go.mod b/tencentcloud/tdid/go.mod index 2fb06867e2..9e3ebff2d4 100644 --- a/tencentcloud/tdid/go.mod +++ b/tencentcloud/tdid/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdid go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tdmq/go.mod b/tencentcloud/tdmq/go.mod index 35a6ae2d7c..a8e7ebb386 100644 --- a/tencentcloud/tdmq/go.mod +++ b/tencentcloud/tdmq/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tdmq go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tds/go.mod b/tencentcloud/tds/go.mod index f4847ace6e..3cc394256c 100644 --- a/tencentcloud/tds/go.mod +++ b/tencentcloud/tds/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tds go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tem/go.mod b/tencentcloud/tem/go.mod index 577eeedcfe..e9a992c7ed 100644 --- a/tencentcloud/tem/go.mod +++ b/tencentcloud/tem/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tem go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/teo/go.mod b/tencentcloud/teo/go.mod index de7939d6e2..35d36e4f06 100644 --- a/tencentcloud/teo/go.mod +++ b/tencentcloud/teo/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/teo go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/thpc/go.mod b/tencentcloud/thpc/go.mod index 75ad6da72a..e3cf024e43 100644 --- a/tencentcloud/thpc/go.mod +++ b/tencentcloud/thpc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/thpc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tia/go.mod b/tencentcloud/tia/go.mod index 3b22def0b7..7cb14ff748 100644 --- a/tencentcloud/tia/go.mod +++ b/tencentcloud/tia/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tia go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tic/go.mod b/tencentcloud/tic/go.mod index fe886ffc58..6c4a27554a 100644 --- a/tencentcloud/tic/go.mod +++ b/tencentcloud/tic/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tic go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ticm/go.mod b/tencentcloud/ticm/go.mod index 745c71de93..7e00c76cfb 100644 --- a/tencentcloud/ticm/go.mod +++ b/tencentcloud/ticm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ticm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tics/go.mod b/tencentcloud/tics/go.mod index ab6f99bdb0..f3355a5802 100644 --- a/tencentcloud/tics/go.mod +++ b/tencentcloud/tics/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tics go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tiems/go.mod b/tencentcloud/tiems/go.mod index 590cfe69eb..754efc6410 100644 --- a/tencentcloud/tiems/go.mod +++ b/tencentcloud/tiems/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiems go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tiia/go.mod b/tencentcloud/tiia/go.mod index dd005a6319..d6acc19c76 100644 --- a/tencentcloud/tiia/go.mod +++ b/tencentcloud/tiia/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiia go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tione/go.mod b/tencentcloud/tione/go.mod index 074d3a3652..44e968409f 100644 --- a/tencentcloud/tione/go.mod +++ b/tencentcloud/tione/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tione go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tiw/go.mod b/tencentcloud/tiw/go.mod index b74e7b6161..c8593c251c 100644 --- a/tencentcloud/tiw/go.mod +++ b/tencentcloud/tiw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tiw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tke/go.mod b/tencentcloud/tke/go.mod index 5670b06696..ba231d515a 100644 --- a/tencentcloud/tke/go.mod +++ b/tencentcloud/tke/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tke go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tkgdq/go.mod b/tencentcloud/tkgdq/go.mod index 3f8bd731ce..e32f84ecec 100644 --- a/tencentcloud/tkgdq/go.mod +++ b/tencentcloud/tkgdq/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tkgdq go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tms/go.mod b/tencentcloud/tms/go.mod index 0a0eced37c..dc5cf90726 100644 --- a/tencentcloud/tms/go.mod +++ b/tencentcloud/tms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tmt/go.mod b/tencentcloud/tmt/go.mod index 0451bd3318..7479f1dcf0 100644 --- a/tencentcloud/tmt/go.mod +++ b/tencentcloud/tmt/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tmt go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tourism/go.mod b/tencentcloud/tourism/go.mod index 89cc628b76..2b98ac320e 100644 --- a/tencentcloud/tourism/go.mod +++ b/tencentcloud/tourism/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tourism go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/trdp/go.mod b/tencentcloud/trdp/go.mod index 130f2e8bf2..357bf324b4 100644 --- a/tencentcloud/trdp/go.mod +++ b/tencentcloud/trdp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trdp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/trocket/go.mod b/tencentcloud/trocket/go.mod index ec0f499807..611d026cd3 100644 --- a/tencentcloud/trocket/go.mod +++ b/tencentcloud/trocket/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trocket go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/trp/go.mod b/tencentcloud/trp/go.mod index a420abb071..4ae47df354 100644 --- a/tencentcloud/trp/go.mod +++ b/tencentcloud/trp/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trp go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/trro/go.mod b/tencentcloud/trro/go.mod index 4b66132ed8..9d31c37805 100644 --- a/tencentcloud/trro/go.mod +++ b/tencentcloud/trro/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trro go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/trro/v20220325/models.go b/tencentcloud/trro/v20220325/models.go index 82a10bb39a..39216ef814 100644 --- a/tencentcloud/trro/v20220325/models.go +++ b/tencentcloud/trro/v20220325/models.go @@ -1304,6 +1304,9 @@ type Device struct { // 每月license的限定时长 // 注意:此字段可能返回 null,表示取不到有效值。 MonthlyRemainTime *int64 `json:"MonthlyRemainTime,omitnil,omitempty" name:"MonthlyRemainTime"` + + // 月封顶时长(分钟) + LimitedTime *int64 `json:"LimitedTime,omitnil,omitempty" name:"LimitedTime"` } type DeviceInfo struct { diff --git a/tencentcloud/trtc/go.mod b/tencentcloud/trtc/go.mod index 182ee0144a..1995e7ca20 100644 --- a/tencentcloud/trtc/go.mod +++ b/tencentcloud/trtc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/trtc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tse/go.mod b/tencentcloud/tse/go.mod index d5c3531563..cdc6bafba8 100644 --- a/tencentcloud/tse/go.mod +++ b/tencentcloud/tse/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tse go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tse/v20201207/models.go b/tencentcloud/tse/v20201207/models.go index 82f0914fe1..46671f14d1 100644 --- a/tencentcloud/tse/v20201207/models.go +++ b/tencentcloud/tse/v20201207/models.go @@ -9042,6 +9042,9 @@ type GovernanceNamespaceInput struct { // 2、列表内容仅一个元素,且为字符 *,表示所有命名空间可见(包括新增) // 3、列表内容为部份命名空间名称,则只对这些命名空间下可见 ServiceExportTo []*string `json:"ServiceExportTo,omitnil,omitempty" name:"ServiceExportTo"` + + // 是否开启同步到全局注册中心 + SyncToGlobalRegistry *bool `json:"SyncToGlobalRegistry,omitnil,omitempty" name:"SyncToGlobalRegistry"` } type GovernanceService struct { @@ -9212,6 +9215,9 @@ type GovernanceServiceInput struct { // 该服务对哪些命名空间可见 ExportTo []*string `json:"ExportTo,omitnil,omitempty" name:"ExportTo"` + + // 是否开启同步到全局注册中心 + SyncToGlobalRegistry *bool `json:"SyncToGlobalRegistry,omitnil,omitempty" name:"SyncToGlobalRegistry"` } type InstancePort struct { diff --git a/tencentcloud/tsf/go.mod b/tencentcloud/tsf/go.mod index 50795dc87f..75da9639c0 100644 --- a/tencentcloud/tsf/go.mod +++ b/tencentcloud/tsf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tsi/go.mod b/tencentcloud/tsi/go.mod index 85ae808df8..5df3f2d048 100644 --- a/tencentcloud/tsi/go.mod +++ b/tencentcloud/tsi/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsi go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tsw/go.mod b/tencentcloud/tsw/go.mod index f4e602303f..96bf57735c 100644 --- a/tencentcloud/tsw/go.mod +++ b/tencentcloud/tsw/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tsw go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/tts/go.mod b/tencentcloud/tts/go.mod index 015ba76142..5ad6d74da3 100644 --- a/tencentcloud/tts/go.mod +++ b/tencentcloud/tts/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/ump/go.mod b/tencentcloud/ump/go.mod index 9731e29351..ef9a4ca0c4 100644 --- a/tencentcloud/ump/go.mod +++ b/tencentcloud/ump/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/vcg/go.mod b/tencentcloud/vcg/go.mod index c06a317c89..13236ebbf7 100644 --- a/tencentcloud/vcg/go.mod +++ b/tencentcloud/vcg/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vcg go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/vclm/go.mod b/tencentcloud/vclm/go.mod index 760fe778ef..2c355cb0b8 100644 --- a/tencentcloud/vclm/go.mod +++ b/tencentcloud/vclm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vclm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/vcube/go.mod b/tencentcloud/vcube/go.mod index ee4cfcd278..dd3bc6d3dd 100644 --- a/tencentcloud/vcube/go.mod +++ b/tencentcloud/vcube/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vcube go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/vdb/go.mod b/tencentcloud/vdb/go.mod index 3ac6bf3906..16cbe35444 100644 --- a/tencentcloud/vdb/go.mod +++ b/tencentcloud/vdb/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vdb go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/vm/go.mod b/tencentcloud/vm/go.mod index f104941e2a..69f1bc1e7b 100644 --- a/tencentcloud/vm/go.mod +++ b/tencentcloud/vm/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/vms/go.mod b/tencentcloud/vms/go.mod index c55b60895b..6f53cd824c 100644 --- a/tencentcloud/vms/go.mod +++ b/tencentcloud/vms/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vms go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/vod/go.mod b/tencentcloud/vod/go.mod index 48d9a70a8a..50b70bf14a 100644 --- a/tencentcloud/vod/go.mod +++ b/tencentcloud/vod/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vod go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/vpc/go.mod b/tencentcloud/vpc/go.mod index dab7719409..e59f189dd1 100644 --- a/tencentcloud/vpc/go.mod +++ b/tencentcloud/vpc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vpc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/vpc/v20170312/client.go b/tencentcloud/vpc/v20170312/client.go index 5ecb19f7ea..536a637ac5 100644 --- a/tencentcloud/vpc/v20170312/client.go +++ b/tencentcloud/vpc/v20170312/client.go @@ -2784,6 +2784,7 @@ func NewCreateAssistantCidrResponse() (response *CreateAssistantCidrResponse) { // INVALIDPARAMETERVALUE_SUBNETOVERLAPASSISTCIDR = "InvalidParameterValue.SubnetOverlapAssistCidr" // INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" // INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// INVALIDPARAMETERVALUE_VPCCIDROVERLAPROUTE = "InvalidParameterValue.VpcCidrOverlapRoute" // LIMITEXCEEDED = "LimitExceeded" // RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateAssistantCidr(request *CreateAssistantCidrRequest) (response *CreateAssistantCidrResponse, err error) { @@ -2802,6 +2803,7 @@ func (c *Client) CreateAssistantCidr(request *CreateAssistantCidrRequest) (respo // INVALIDPARAMETERVALUE_SUBNETOVERLAPASSISTCIDR = "InvalidParameterValue.SubnetOverlapAssistCidr" // INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" // INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// INVALIDPARAMETERVALUE_VPCCIDROVERLAPROUTE = "InvalidParameterValue.VpcCidrOverlapRoute" // LIMITEXCEEDED = "LimitExceeded" // RESOURCENOTFOUND = "ResourceNotFound" func (c *Client) CreateAssistantCidrWithContext(ctx context.Context, request *CreateAssistantCidrRequest) (response *CreateAssistantCidrResponse, err error) { @@ -5394,8 +5396,11 @@ func NewCreateRoutesResponse() (response *CreateRoutesResponse) { // INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" // INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" // INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_ROUTENEXTHOPINVALID = "InvalidParameterValue.RouteNextHopInvalid" // INVALIDPARAMETERVALUE_ROUTEPOLICYPRIORITYCONFLICT = "InvalidParameterValue.RoutePolicyPriorityConflict" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPROUTE = "InvalidParameterValue.SubnetOverlapRoute" // INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// INVALIDPARAMETERVALUE_VPCCIDROVERLAPROUTE = "InvalidParameterValue.VpcCidrOverlapRoute" // LIMITEXCEEDED = "LimitExceeded" // RESOURCENOTFOUND = "ResourceNotFound" // UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" @@ -5421,8 +5426,11 @@ func (c *Client) CreateRoutes(request *CreateRoutesRequest) (response *CreateRou // INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" // INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" // INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_ROUTENEXTHOPINVALID = "InvalidParameterValue.RouteNextHopInvalid" // INVALIDPARAMETERVALUE_ROUTEPOLICYPRIORITYCONFLICT = "InvalidParameterValue.RoutePolicyPriorityConflict" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPROUTE = "InvalidParameterValue.SubnetOverlapRoute" // INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// INVALIDPARAMETERVALUE_VPCCIDROVERLAPROUTE = "InvalidParameterValue.VpcCidrOverlapRoute" // LIMITEXCEEDED = "LimitExceeded" // RESOURCENOTFOUND = "ResourceNotFound" // UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" @@ -6076,6 +6084,7 @@ func NewCreateSubnetResponse() (response *CreateSubnetResponse) { // INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" // INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" // INVALIDPARAMETERVALUE_SUBNETOVERLAP = "InvalidParameterValue.SubnetOverlap" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPROUTE = "InvalidParameterValue.SubnetOverlapRoute" // INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" // INVALIDPARAMETERVALUE_TAGDUPLICATEKEY = "InvalidParameterValue.TagDuplicateKey" // INVALIDPARAMETERVALUE_TAGDUPLICATERESOURCETYPE = "InvalidParameterValue.TagDuplicateResourceType" @@ -6137,6 +6146,7 @@ func (c *Client) CreateSubnet(request *CreateSubnetRequest) (response *CreateSub // INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" // INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" // INVALIDPARAMETERVALUE_SUBNETOVERLAP = "InvalidParameterValue.SubnetOverlap" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPROUTE = "InvalidParameterValue.SubnetOverlapRoute" // INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" // INVALIDPARAMETERVALUE_TAGDUPLICATEKEY = "InvalidParameterValue.TagDuplicateKey" // INVALIDPARAMETERVALUE_TAGDUPLICATERESOURCETYPE = "InvalidParameterValue.TagDuplicateResourceType" @@ -6224,6 +6234,7 @@ func NewCreateSubnetsResponse() (response *CreateSubnetsResponse) { // INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" // INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" // INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPROUTE = "InvalidParameterValue.SubnetOverlapRoute" // INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" // INVALIDPARAMETERVALUE_TAGDUPLICATEKEY = "InvalidParameterValue.TagDuplicateKey" // INVALIDPARAMETERVALUE_TAGDUPLICATERESOURCETYPE = "InvalidParameterValue.TagDuplicateResourceType" @@ -6250,6 +6261,7 @@ func NewCreateSubnetsResponse() (response *CreateSubnetsResponse) { // RESOURCENOTFOUND = "ResourceNotFound" // UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" // UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" +// UNSUPPORTEDOPERATION_CDCVPGNOTEXISTS = "UnsupportedOperation.CdcVpgNotExists" // UNSUPPORTEDOPERATION_DCGATEWAYSNOTFOUNDINVPC = "UnsupportedOperation.DcGatewaysNotFoundInVpc" // UNSUPPORTEDOPERATION_RECORDEXISTS = "UnsupportedOperation.RecordExists" // UNSUPPORTEDOPERATION_TAGALLOCATE = "UnsupportedOperation.TagAllocate" @@ -6280,6 +6292,7 @@ func (c *Client) CreateSubnets(request *CreateSubnetsRequest) (response *CreateS // INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" // INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" // INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPROUTE = "InvalidParameterValue.SubnetOverlapRoute" // INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" // INVALIDPARAMETERVALUE_TAGDUPLICATEKEY = "InvalidParameterValue.TagDuplicateKey" // INVALIDPARAMETERVALUE_TAGDUPLICATERESOURCETYPE = "InvalidParameterValue.TagDuplicateResourceType" @@ -6306,6 +6319,7 @@ func (c *Client) CreateSubnets(request *CreateSubnetsRequest) (response *CreateS // RESOURCENOTFOUND = "ResourceNotFound" // UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" // UNSUPPORTEDOPERATION_APPIDMISMATCH = "UnsupportedOperation.AppIdMismatch" +// UNSUPPORTEDOPERATION_CDCVPGNOTEXISTS = "UnsupportedOperation.CdcVpgNotExists" // UNSUPPORTEDOPERATION_DCGATEWAYSNOTFOUNDINVPC = "UnsupportedOperation.DcGatewaysNotFoundInVpc" // UNSUPPORTEDOPERATION_RECORDEXISTS = "UnsupportedOperation.RecordExists" // UNSUPPORTEDOPERATION_TAGALLOCATE = "UnsupportedOperation.TagAllocate" @@ -19764,6 +19778,7 @@ func NewModifyAssistantCidrResponse() (response *ModifyAssistantCidrResponse) { // INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" // INVALIDPARAMETERVALUE_SUBNETOVERLAPASSISTCIDR = "InvalidParameterValue.SubnetOverlapAssistCidr" // INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// INVALIDPARAMETERVALUE_VPCCIDROVERLAPROUTE = "InvalidParameterValue.VpcCidrOverlapRoute" // LIMITEXCEEDED = "LimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCENOTFOUND = "ResourceNotFound" @@ -19783,6 +19798,7 @@ func (c *Client) ModifyAssistantCidr(request *ModifyAssistantCidrRequest) (respo // INVALIDPARAMETERVALUE_SUBNETCONFLICT = "InvalidParameterValue.SubnetConflict" // INVALIDPARAMETERVALUE_SUBNETOVERLAPASSISTCIDR = "InvalidParameterValue.SubnetOverlapAssistCidr" // INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// INVALIDPARAMETERVALUE_VPCCIDROVERLAPROUTE = "InvalidParameterValue.VpcCidrOverlapRoute" // LIMITEXCEEDED = "LimitExceeded" // RESOURCEINUSE = "ResourceInUse" // RESOURCENOTFOUND = "ResourceNotFound" @@ -24714,7 +24730,9 @@ func NewReplaceRoutesResponse() (response *ReplaceRoutesResponse) { // INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" // INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" // INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPROUTE = "InvalidParameterValue.SubnetOverlapRoute" // INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// INVALIDPARAMETERVALUE_VPCCIDROVERLAPROUTE = "InvalidParameterValue.VpcCidrOverlapRoute" // LIMITEXCEEDED = "LimitExceeded" // RESOURCENOTFOUND = "ResourceNotFound" // UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" @@ -24737,7 +24755,9 @@ func (c *Client) ReplaceRoutes(request *ReplaceRoutesRequest) (response *Replace // INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" // INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" // INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPROUTE = "InvalidParameterValue.SubnetOverlapRoute" // INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// INVALIDPARAMETERVALUE_VPCCIDROVERLAPROUTE = "InvalidParameterValue.VpcCidrOverlapRoute" // LIMITEXCEEDED = "LimitExceeded" // RESOURCENOTFOUND = "ResourceNotFound" // UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" @@ -25148,8 +25168,10 @@ func NewResetRoutesResponse() (response *ResetRoutesResponse) { // INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" // INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" // INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPROUTE = "InvalidParameterValue.SubnetOverlapRoute" // INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" // INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// INVALIDPARAMETERVALUE_VPCCIDROVERLAPROUTE = "InvalidParameterValue.VpcCidrOverlapRoute" // LIMITEXCEEDED = "LimitExceeded" // RESOURCENOTFOUND = "ResourceNotFound" // UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" @@ -25168,8 +25190,10 @@ func (c *Client) ResetRoutes(request *ResetRoutesRequest) (response *ResetRoutes // INVALIDPARAMETERVALUE_CIDRNOTINPEERVPC = "InvalidParameterValue.CidrNotInPeerVpc" // INVALIDPARAMETERVALUE_DUPLICATE = "InvalidParameterValue.Duplicate" // INVALIDPARAMETERVALUE_MALFORMED = "InvalidParameterValue.Malformed" +// INVALIDPARAMETERVALUE_SUBNETOVERLAPROUTE = "InvalidParameterValue.SubnetOverlapRoute" // INVALIDPARAMETERVALUE_TOOLONG = "InvalidParameterValue.TooLong" // INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" +// INVALIDPARAMETERVALUE_VPCCIDROVERLAPROUTE = "InvalidParameterValue.VpcCidrOverlapRoute" // LIMITEXCEEDED = "LimitExceeded" // RESOURCENOTFOUND = "ResourceNotFound" // UNKNOWNPARAMETER_WITHGUESS = "UnknownParameter.WithGuess" diff --git a/tencentcloud/vpc/v20170312/errors.go b/tencentcloud/vpc/v20170312/errors.go index 10adc9064d..55f1008d1d 100644 --- a/tencentcloud/vpc/v20170312/errors.go +++ b/tencentcloud/vpc/v20170312/errors.go @@ -398,6 +398,9 @@ const ( // 该资源不支持此操作。 INVALIDPARAMETERVALUE_RESOURCENOTSUPPORT = "InvalidParameterValue.ResourceNotSupport" + // 自定义路由的下一跳参数不正确。 + INVALIDPARAMETERVALUE_ROUTENEXTHOPINVALID = "InvalidParameterValue.RouteNextHopInvalid" + // 指定的优先级之间冲突或与已存在的优先级冲突。 INVALIDPARAMETERVALUE_ROUTEPOLICYPRIORITYCONFLICT = "InvalidParameterValue.RoutePolicyPriorityConflict" @@ -416,6 +419,9 @@ const ( // 子网与辅助Cidr网段重叠。 INVALIDPARAMETERVALUE_SUBNETOVERLAPASSISTCIDR = "InvalidParameterValue.SubnetOverlapAssistCidr" + // 子网与自定义路由目的Cidr网段完全重叠。 + INVALIDPARAMETERVALUE_SUBNETOVERLAPROUTE = "InvalidParameterValue.SubnetOverlapRoute" + // 子网CIDR不合法。 INVALIDPARAMETERVALUE_SUBNETRANGE = "InvalidParameterValue.SubnetRange" @@ -479,6 +485,9 @@ const ( // 目的网段和当前VPC的CIDR冲突。 INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = "InvalidParameterValue.VpcCidrConflict" + // 辅助Cidr与自定义子网路由目的Cidr网段完全重叠。 + INVALIDPARAMETERVALUE_VPCCIDROVERLAPROUTE = "InvalidParameterValue.VpcCidrOverlapRoute" + // 当前功能不支持此专线网关。 INVALIDPARAMETERVALUE_VPGTYPENOTMATCH = "InvalidParameterValue.VpgTypeNotMatch" @@ -812,6 +821,9 @@ const ( // CDC子网不支持创建非本地网关类型的路由。 UNSUPPORTEDOPERATION_CDCSUBNETNOTSUPPORTUNLOCALGATEWAY = "UnsupportedOperation.CdcSubnetNotSupportUnLocalGateway" + // VPG型的CDC网关不存在。 + UNSUPPORTEDOPERATION_CDCVPGNOTEXISTS = "UnsupportedOperation.CdcVpgNotExists" + // 实例已经和VPC绑定。 UNSUPPORTEDOPERATION_CLASSICINSTANCEIDALREADYEXISTS = "UnsupportedOperation.ClassicInstanceIdAlreadyExists" diff --git a/tencentcloud/vpc/v20170312/models.go b/tencentcloud/vpc/v20170312/models.go index d34f00433f..6d1556df19 100644 --- a/tencentcloud/vpc/v20170312/models.go +++ b/tencentcloud/vpc/v20170312/models.go @@ -3149,11 +3149,9 @@ type CidrForCcn struct { type ClassicLinkInstance struct { // VPC实例ID - // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 云服务器实例唯一ID - // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` } @@ -20373,7 +20371,6 @@ type DhcpIp struct { CreatedTime *string `json:"CreatedTime,omitnil,omitempty" name:"CreatedTime"` // 标签键值对。 - // 注意:此字段可能返回 null,表示取不到有效值。 TagSet []*Tag `json:"TagSet,omitnil,omitempty" name:"TagSet"` } @@ -23418,7 +23415,7 @@ type Ipv6SubnetCidrBlock struct { // 子网实例`ID`。形如:`subnet-pxir56ns`。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` - // `IPv6`子网段。形如:`3402:4e00:20:1001::/64` + // `IPv6`子网段。形如:`3402:4e00:20:1001::/64`。作为AssignIpv6SubnetCidrBlock接口入参时,该参数必填。 Ipv6CidrBlock *string `json:"Ipv6CidrBlock,omitnil,omitempty" name:"Ipv6CidrBlock"` } @@ -28618,11 +28615,9 @@ type NetDetect struct { NetDetectDescription *string `json:"NetDetectDescription,omitnil,omitempty" name:"NetDetectDescription"` // 创建时间。 - // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 标签键值对。 - // 注意:此字段可能返回 null,表示取不到有效值。 TagSet []*Tag `json:"TagSet,omitnil,omitempty" name:"TagSet"` } diff --git a/tencentcloud/vrs/go.mod b/tencentcloud/vrs/go.mod index 7cdf967c6e..528fed40c1 100644 --- a/tencentcloud/vrs/go.mod +++ b/tencentcloud/vrs/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vrs go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/vtc/go.mod b/tencentcloud/vtc/go.mod index e0f56e5b35..6151fd7ffc 100644 --- a/tencentcloud/vtc/go.mod +++ b/tencentcloud/vtc/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vtc go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/waf/go.mod b/tencentcloud/waf/go.mod index e1e44e3759..13bb4d6671 100644 --- a/tencentcloud/waf/go.mod +++ b/tencentcloud/waf/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/waf go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/wav/go.mod b/tencentcloud/wav/go.mod index 1deece8024..b42313b3cf 100644 --- a/tencentcloud/wav/go.mod +++ b/tencentcloud/wav/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wav go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/wedata/go.mod b/tencentcloud/wedata/go.mod index c3fbdbd3b2..cc7e3517fa 100644 --- a/tencentcloud/wedata/go.mod +++ b/tencentcloud/wedata/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wedata go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/wedata/v20210820/models.go b/tencentcloud/wedata/v20210820/models.go index 79ac0f5a48..102c80139a 100644 --- a/tencentcloud/wedata/v20210820/models.go +++ b/tencentcloud/wedata/v20210820/models.go @@ -356,6 +356,14 @@ type AlarmIndicatorInfo struct { // 指标阈值 // 注意:此字段可能返回 null,表示取不到有效值。 Threshold *float64 `json:"Threshold,omitnil,omitempty" name:"Threshold"` + + // 时间范围单位 + // 注意:此字段可能返回 null,表示取不到有效值。 + IndicatorTimeRangeUnit *string `json:"IndicatorTimeRangeUnit,omitnil,omitempty" name:"IndicatorTimeRangeUnit"` + + // 时间范围值 + // 注意:此字段可能返回 null,表示取不到有效值。 + IndicatorTimeRangeValue *int64 `json:"IndicatorTimeRangeValue,omitnil,omitempty" name:"IndicatorTimeRangeValue"` } type AlarmInfo struct { @@ -3785,6 +3793,12 @@ type CreateHiveTableByDDLRequestParams struct { // 是否异步建表 Async *bool `json:"Async,omitnil,omitempty" name:"Async"` + + // 数据优化使用的资源 + DataOptimizationResource *string `json:"DataOptimizationResource,omitnil,omitempty" name:"DataOptimizationResource"` + + // 是否开启数据优化 + SmartOptimizerWritten *string `json:"SmartOptimizerWritten,omitnil,omitempty" name:"SmartOptimizerWritten"` } type CreateHiveTableByDDLRequest struct { @@ -3816,6 +3830,12 @@ type CreateHiveTableByDDLRequest struct { // 是否异步建表 Async *bool `json:"Async,omitnil,omitempty" name:"Async"` + + // 数据优化使用的资源 + DataOptimizationResource *string `json:"DataOptimizationResource,omitnil,omitempty" name:"DataOptimizationResource"` + + // 是否开启数据优化 + SmartOptimizerWritten *string `json:"SmartOptimizerWritten,omitnil,omitempty" name:"SmartOptimizerWritten"` } func (r *CreateHiveTableByDDLRequest) ToJsonString() string { @@ -3839,6 +3859,8 @@ func (r *CreateHiveTableByDDLRequest) FromJsonString(s string) error { delete(f, "Incharge") delete(f, "SchemaName") delete(f, "Async") + delete(f, "DataOptimizationResource") + delete(f, "SmartOptimizerWritten") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateHiveTableByDDLRequest has unknown keys!", "") } @@ -3892,6 +3914,12 @@ type CreateHiveTableRequestParams struct { // 责任人 Incharge *string `json:"Incharge,omitnil,omitempty" name:"Incharge"` + + // 数据优化引擎 + DataOptimizationResource *string `json:"DataOptimizationResource,omitnil,omitempty" name:"DataOptimizationResource"` + + // 是否开启数据优化 + SmartOptimizerWritten *string `json:"SmartOptimizerWritten,omitnil,omitempty" name:"SmartOptimizerWritten"` } type CreateHiveTableRequest struct { @@ -3914,6 +3942,12 @@ type CreateHiveTableRequest struct { // 责任人 Incharge *string `json:"Incharge,omitnil,omitempty" name:"Incharge"` + + // 数据优化引擎 + DataOptimizationResource *string `json:"DataOptimizationResource,omitnil,omitempty" name:"DataOptimizationResource"` + + // 是否开启数据优化 + SmartOptimizerWritten *string `json:"SmartOptimizerWritten,omitnil,omitempty" name:"SmartOptimizerWritten"` } func (r *CreateHiveTableRequest) ToJsonString() string { @@ -3934,6 +3968,8 @@ func (r *CreateHiveTableRequest) FromJsonString(s string) error { delete(f, "Privilege") delete(f, "ProjectId") delete(f, "Incharge") + delete(f, "DataOptimizationResource") + delete(f, "SmartOptimizerWritten") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateHiveTableRequest has unknown keys!", "") } @@ -19658,6 +19694,9 @@ type GenHiveTableDDLSqlRequestParams struct { // 目标端schema名称 SinkSchemaName *string `json:"SinkSchemaName,omitnil,omitempty" name:"SinkSchemaName"` + + // 获取源信息的环境 + Env *string `json:"Env,omitnil,omitempty" name:"Env"` } type GenHiveTableDDLSqlRequest struct { @@ -19734,6 +19773,9 @@ type GenHiveTableDDLSqlRequest struct { // 目标端schema名称 SinkSchemaName *string `json:"SinkSchemaName,omitnil,omitempty" name:"SinkSchemaName"` + + // 获取源信息的环境 + Env *string `json:"Env,omitnil,omitempty" name:"Env"` } func (r *GenHiveTableDDLSqlRequest) ToJsonString() string { @@ -19772,6 +19814,7 @@ func (r *GenHiveTableDDLSqlRequest) FromJsonString(s string) error { delete(f, "UpsertKeys") delete(f, "TableBaseInfo") delete(f, "SinkSchemaName") + delete(f, "Env") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GenHiveTableDDLSqlRequest has unknown keys!", "") } @@ -29850,6 +29893,10 @@ type TaskAlarmInfo struct { // 钉钉群Hook地址,多个hook地址使用,隔开 // 注意:此字段可能返回 null,表示取不到有效值。 DingDingWebHooks *string `json:"DingDingWebHooks,omitnil,omitempty" name:"DingDingWebHooks"` + + // 业务类型, 0-非默认, 1-默认 + // 注意:此字段可能返回 null,表示取不到有效值。 + BusinessType *int64 `json:"BusinessType,omitnil,omitempty" name:"BusinessType"` } type TaskByCycle struct { diff --git a/tencentcloud/weilingwith/go.mod b/tencentcloud/weilingwith/go.mod index 1775ba3e5d..93a9578d19 100644 --- a/tencentcloud/weilingwith/go.mod +++ b/tencentcloud/weilingwith/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/weilingwith go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/wss/go.mod b/tencentcloud/wss/go.mod index d2c6c49714..9a7f5d1daf 100644 --- a/tencentcloud/wss/go.mod +++ b/tencentcloud/wss/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/wss go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/yinsuda/go.mod b/tencentcloud/yinsuda/go.mod index b40e590c39..5e4c765c5d 100644 --- a/tencentcloud/yinsuda/go.mod +++ b/tencentcloud/yinsuda/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yinsuda go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/youmall/go.mod b/tencentcloud/youmall/go.mod index ea4dd79788..4f7cf71168 100644 --- a/tencentcloud/youmall/go.mod +++ b/tencentcloud/youmall/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/youmall go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/yunjing/go.mod b/tencentcloud/yunjing/go.mod index 288f8820b1..fda587d1ef 100644 --- a/tencentcloud/yunjing/go.mod +++ b/tencentcloud/yunjing/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunjing go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/tencentcloud/yunsou/go.mod b/tencentcloud/yunsou/go.mod index 1a7ad431a2..a54ea3f3a2 100644 --- a/tencentcloud/yunsou/go.mod +++ b/tencentcloud/yunsou/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/yunsou go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1078 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 diff --git a/testing/go.mod b/testing/go.mod index 2f302fcbe7..79c7607617 100644 --- a/testing/go.mod +++ b/testing/go.mod @@ -73,7 +73,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 v1.0.1078 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.1079 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/config v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/controlcenter v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp v0.0.0