From 8e7dd9209c040afc31aaff20a1ffae57489e889d Mon Sep 17 00:00:00 2001 From: tencentcloudapi Date: Fri, 28 Jun 2024 04:17:16 +0800 Subject: [PATCH] release v1.0.952 --- CHANGELOG.md | 327 ++++++++++++ SERVICE_CHANGELOG.md | 541 +++++++++++++++---- products.md | 37 +- tencentcloud/aa/go.mod | 2 +- tencentcloud/aai/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 | 107 ++++ tencentcloud/aiart/v20221229/models.go | 135 +++++ 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/bda/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/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/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/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/cloudaudit/go.mod | 2 +- tencentcloud/cloudhsm/go.mod | 2 +- tencentcloud/cloudstudio/go.mod | 2 +- tencentcloud/cls/go.mod | 2 +- tencentcloud/cls/v20201016/models.go | 11 + tencentcloud/cme/go.mod | 2 +- tencentcloud/cmq/go.mod | 2 +- tencentcloud/cms/go.mod | 2 +- tencentcloud/common/http/request.go | 2 +- tencentcloud/config/go.mod | 2 +- tencentcloud/cpdp/go.mod | 2 +- tencentcloud/cr/go.mod | 2 +- tencentcloud/csip/go.mod | 2 +- tencentcloud/csxg/go.mod | 2 +- tencentcloud/cvm/go.mod | 2 +- tencentcloud/cwp/go.mod | 2 +- tencentcloud/cwp/v20180228/client.go | 67 --- tencentcloud/cwp/v20180228/models.go | 88 ---- 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/eiam/go.mod | 2 +- tencentcloud/eis/go.mod | 2 +- tencentcloud/emr/go.mod | 2 +- tencentcloud/emr/v20190103/models.go | 210 +++++++- tencentcloud/es/go.mod | 2 +- tencentcloud/ess/go.mod | 2 +- tencentcloud/ess/v20201111/models.go | 9 + tencentcloud/essbasic/go.mod | 2 +- tencentcloud/essbasic/v20210526/models.go | 6 +- 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/habo/go.mod | 2 +- tencentcloud/hai/go.mod | 2 +- tencentcloud/hasim/go.mod | 2 +- tencentcloud/hcm/go.mod | 2 +- tencentcloud/hunyuan/go.mod | 2 +- tencentcloud/iai/go.mod | 2 +- tencentcloud/ic/go.mod | 2 +- tencentcloud/icr/go.mod | 2 +- tencentcloud/ie/go.mod | 2 +- tencentcloud/iecp/go.mod | 2 +- tencentcloud/iir/go.mod | 2 +- tencentcloud/ims/go.mod | 2 +- tencentcloud/ims/v20201229/client.go | 8 +- tencentcloud/ioa/go.mod | 2 +- tencentcloud/ioa/v20220601/models.go | 96 ++-- tencentcloud/iot/go.mod | 2 +- tencentcloud/iotcloud/go.mod | 2 +- tencentcloud/iotexplorer/go.mod | 2 +- tencentcloud/iottid/go.mod | 2 +- tencentcloud/iotvideo/go.mod | 2 +- 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/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/mongodb/go.mod | 2 +- tencentcloud/monitor/go.mod | 2 +- tencentcloud/mps/go.mod | 2 +- tencentcloud/mps/v20190612/models.go | 67 ++- 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/ocr/v20181119/models.go | 10 + 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/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/scf/v20180416/client.go | 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/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/ssl/v20191205/client.go | 55 ++ tencentcloud/ssl/v20191205/models.go | 70 +++ 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/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/tdmq/v20200217/models.go | 78 ++- 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/trtc/go.mod | 2 +- tencentcloud/tse/go.mod | 2 +- 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/doc.go | 2 + tencentcloud/vclm/go.mod | 5 + tencentcloud/vclm/v20240523/client.go | 539 +++++++++++++++++++ tencentcloud/vclm/v20240523/errors.go | 202 ++++++++ tencentcloud/vclm/v20240523/models.go | 601 ++++++++++++++++++++++ tencentcloud/vdb/go.mod | 2 +- tencentcloud/vdb/v20230616/models.go | 8 + tencentcloud/vm/go.mod | 2 +- tencentcloud/vms/go.mod | 2 +- tencentcloud/vod/go.mod | 2 +- tencentcloud/vpc/go.mod | 2 +- 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/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 | 4 +- testing/integration/import_test.go | 14 + 277 files changed, 3205 insertions(+), 594 deletions(-) create mode 100644 tencentcloud/vclm/doc.go create mode 100644 tencentcloud/vclm/go.mod create mode 100644 tencentcloud/vclm/v20240523/client.go create mode 100644 tencentcloud/vclm/v20240523/errors.go create mode 100644 tencentcloud/vclm/v20240523/models.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 274932c8ab..699ac11913 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,330 @@ +# Release v1.0.952 + +## 大模型图像创作引擎(aiart) 版本:2022-12-29 + +### 第 6 次发布 + +发布时间:2024-06-28 01:03:50 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [GenerateAvatar](https://cloud.tencent.com/document/api/1668/107799) + + + +## 云硬盘(cbs) 版本:2017-03-12 + +### 第 55 次发布 + +发布时间:2024-06-28 01:05:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [AutoMountConfiguration](https://cloud.tencent.com/document/api/362/15669#AutoMountConfiguration) + + * **修改成员**:MountPoint, FileSystemType + + + + +## 日志服务(cls) 版本:2020-10-16 + +### 第 98 次发布 + +发布时间:2024-06-28 01:07:19 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [AlarmTargetInfo](https://cloud.tencent.com/document/api/614/56471#AlarmTargetInfo) + + * 新增成员:SyntaxRule, BizType + + + + +## 主机安全(cwp) 版本:2018-02-28 + +### 第 115 次发布 + +发布时间:2024-06-28 01:08:04 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* ExportAttackLogs + + + +## 弹性 MapReduce(emr) 版本:2019-01-03 + +### 第 67 次发布 + +发布时间:2024-06-28 01:11:14 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [AddMetricScaleStrategy](https://cloud.tencent.com/document/api/589/103997) + + * 新增入参:LoadAutoScaleStrategy + +* [DescribeAutoScaleRecords](https://cloud.tencent.com/document/api/589/100248) + + * 新增入参:RecordSource + +* [DescribeAutoScaleStrategies](https://cloud.tencent.com/document/api/589/103998) + + * 新增出参:LoadAutoScaleStrategies + +* [ModifyAutoScaleStrategy](https://cloud.tencent.com/document/api/589/103995) + + * 新增入参:LoadAutoScaleStrategies + + +新增数据结构: + +* [LoadAutoScaleStrategy](https://cloud.tencent.com/document/api/589/33981#LoadAutoScaleStrategy) +* [LoadMetricsCondition](https://cloud.tencent.com/document/api/589/33981#LoadMetricsCondition) +* [LoadMetricsConditions](https://cloud.tencent.com/document/api/589/33981#LoadMetricsConditions) +* [TriggerCondition](https://cloud.tencent.com/document/api/589/33981#TriggerCondition) +* [TriggerConditions](https://cloud.tencent.com/document/api/589/33981#TriggerConditions) + +修改数据结构: + +* [AutoScaleRecord](https://cloud.tencent.com/document/api/589/33981#AutoScaleRecord) + + * 新增成员:RetryEnReason, RetryReason + +* [AutoScaleResourceConf](https://cloud.tencent.com/document/api/589/33981#AutoScaleResourceConf) + + * 新增成员:HardwareType, PayMode, PostPayPercentMin, ChangeToPod, GroupName, YarnNodeLabel, GroupStatus, Parallel, EnableMNode + + + + +## iOA 零信任安全管理系统(ioa) 版本:2022-06-01 + +### 第 6 次发布 + +发布时间:2024-06-28 01:12:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [DescribeAccountGroupsData](https://cloud.tencent.com/document/api/1092/102488#DescribeAccountGroupsData) + + * 新增成员:LatestSyncResult, LatestSyncTime + + + + +## 媒体处理(mps) 版本:2019-06-12 + +### 第 87 次发布 + +发布时间:2024-06-28 01:16:00 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [CreateInput](https://cloud.tencent.com/document/api/862/37615#CreateInput) + + * 新增成员:Zones + +* [CreateOutputInfo](https://cloud.tencent.com/document/api/862/37615#CreateOutputInfo) + + * 新增成员:Zones + +* [DescribeInput](https://cloud.tencent.com/document/api/862/37615#DescribeInput) + + * 新增成员:Zones + +* [DescribeOutput](https://cloud.tencent.com/document/api/862/37615#DescribeOutput) + + * 新增成员:Zones + +* [LiveActivityResItem](https://cloud.tencent.com/document/api/862/37615#LiveActivityResItem) + + * 新增成员:LiveQualityControlTask + +* [ModifyInput](https://cloud.tencent.com/document/api/862/37615#ModifyInput) + + * 新增成员:Zones + +* [TerrorismConfigureInfo](https://cloud.tencent.com/document/api/862/37615#TerrorismConfigureInfo) + + * **修改成员**:OcrReviewInfo + + + + +## 文字识别(ocr) 版本:2018-11-19 + +### 第 140 次发布 + +发布时间:2024-06-28 01:16:42 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [BizLicenseOCR](https://cloud.tencent.com/document/api/866/36215) + + * 新增入参:EnablePeriodComplete + + +修改数据结构: + +* [TrainTicket](https://cloud.tencent.com/document/api/866/33527#TrainTicket) + + * 新增成员:TicketChangeMark + + + + +## SSL 证书(ssl) 版本:2019-12-05 + +### 第 60 次发布 + +发布时间:2024-06-28 01:18:28 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DeleteCertificates](https://cloud.tencent.com/document/api/400/107800) + +新增数据结构: + +* [BatchDeleteFail](https://cloud.tencent.com/document/api/400/41679#BatchDeleteFail) + + + +## 消息队列 TDMQ(tdmq) 版本:2020-02-17 + +### 第 117 次发布 + +发布时间:2024-06-28 01:20:13 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateRabbitMQVipInstance](https://cloud.tencent.com/document/api/1179/88134) + + * 新增入参:PayMode, ClusterVersion, IsIntl, ResourceTags, Bandwidth + +* [DeleteRabbitMQVipInstance](https://cloud.tencent.com/document/api/1179/94833) + + * 新增入参:IsIntl + + +修改数据结构: + +* [RabbitMQUser](https://cloud.tencent.com/document/api/1179/46089#RabbitMQUser) + + * 新增成员:MaxConnections, MaxChannels + +* [RabbitMQVipInstance](https://cloud.tencent.com/document/api/1179/46089#RabbitMQVipInstance) + + * 新增成员:CreateTime + +* [RocketMQInstanceConfig](https://cloud.tencent.com/document/api/1179/46089#RocketMQInstanceConfig) + + * 新增成员:MaxRetention, MinRetention, Retention, TopicNumLowerLimit, TopicNumUpperLimit + + * **修改成员**:MaxTpsPerNamespace, MaxNamespaceNum, UsedNamespaceNum, MaxTopicNum, UsedTopicNum, MaxGroupNum, UsedGroupNum, ConfigDisplay, NodeCount, NodeDistribution, TopicDistribution, MaxQueuesPerTopic + + + + +## 大模型视频创作引擎(vclm) 版本:2024-05-23 + +### 第 2 次发布 + +发布时间:2024-06-28 01:22:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [ConfirmVideoTranslateJob](https://cloud.tencent.com/document/api/1616/107807) +* [DescribeVideoStylizationJob](https://cloud.tencent.com/document/api/1616/107803) +* [DescribeVideoTranslateJob](https://cloud.tencent.com/document/api/1616/107806) +* [SubmitVideoStylizationJob](https://cloud.tencent.com/document/api/1616/107802) +* [SubmitVideoTranslateJob](https://cloud.tencent.com/document/api/1616/107805) + +新增数据结构: + +* [AsrTimestamps](https://cloud.tencent.com/document/api/1616/107808#AsrTimestamps) +* [TranslateResult](https://cloud.tencent.com/document/api/1616/107808#TranslateResult) + +### 第 1 次发布 + +发布时间:2024-06-27 17:13:58 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeImageAnimateJob](https://cloud.tencent.com/document/api/1616/107785) +* [SubmitImageAnimateJob](https://cloud.tencent.com/document/api/1616/107784) + + + +## 向量数据库(vdb) 版本:2023-06-16 + +### 第 2 次发布 + +发布时间:2024-06-28 01:22:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [InstanceInfo](https://cloud.tencent.com/document/api/1709/106757#InstanceInfo) + + * 新增成员:IsolateAt, AutoRenew + + + + # Release v1.0.951 ## 语音识别(asr) 版本:2019-06-14 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index 52345430de..56ffb59666 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,59 +1,80 @@ # 本版本更新包含以下内容: -## 语音识别(asr) 版本:2019-06-14 +## 大模型图像创作引擎(aiart) 版本:2022-12-29 -### 第 37 次发布 +### 第 6 次发布 -发布时间:2024-06-27 01:05:14 +发布时间:2024-06-28 01:03:50 本次发布包含了以下内容: 改善已有的文档。 -修改接口: +新增接口: -* [CreateRecTask](https://cloud.tencent.com/document/api/1093/37823) +* [GenerateAvatar](https://cloud.tencent.com/document/api/1668/107799) - * 新增入参:HotwordList + + +## 云硬盘(cbs) 版本:2017-03-12 + +### 第 55 次发布 + +发布时间:2024-06-28 01:05:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [AutoMountConfiguration](https://cloud.tencent.com/document/api/362/15669#AutoMountConfiguration) + + * **修改成员**:MountPoint, FileSystemType ## 日志服务(cls) 版本:2020-10-16 -### 第 97 次发布 +### 第 98 次发布 -发布时间:2024-06-27 01:08:10 +发布时间:2024-06-28 01:07:19 本次发布包含了以下内容: 改善已有的文档。 -修改接口: +修改数据结构: -* [ModifyTopic](https://cloud.tencent.com/document/api/614/56453) +* [AlarmTargetInfo](https://cloud.tencent.com/document/api/614/56471#AlarmTargetInfo) - * 新增入参:Extends + * 新增成员:SyntaxRule, BizType -修改数据结构: -* [MonitorTime](https://cloud.tencent.com/document/api/614/56471#MonitorTime) - * **修改成员**:Time +## 主机安全(cwp) 版本:2018-02-28 -* [TopicInfo](https://cloud.tencent.com/document/api/614/56471#TopicInfo) +### 第 115 次发布 - * 新增成员:Extends +发布时间:2024-06-28 01:08:04 + +本次发布包含了以下内容: + +改善已有的文档。 +**删除接口**: +* ExportAttackLogs -## 域名注册(domain) 版本:2018-08-08 -### 第 40 次发布 +## 弹性 MapReduce(emr) 版本:2019-01-03 -发布时间:2024-06-27 01:11:00 +### 第 67 次发布 + +发布时间:2024-06-28 01:11:14 本次发布包含了以下内容: @@ -61,22 +82,49 @@ 修改接口: -* [ReservedPreDomains](https://cloud.tencent.com/document/api/242/103887) +* [AddMetricScaleStrategy](https://cloud.tencent.com/document/api/589/103997) - * 新增出参:SucDomains + * 新增入参:LoadAutoScaleStrategy + +* [DescribeAutoScaleRecords](https://cloud.tencent.com/document/api/589/100248) + + * 新增入参:RecordSource + +* [DescribeAutoScaleStrategies](https://cloud.tencent.com/document/api/589/103998) + + * 新增出参:LoadAutoScaleStrategies + +* [ModifyAutoScaleStrategy](https://cloud.tencent.com/document/api/589/103995) + + * 新增入参:LoadAutoScaleStrategies 新增数据结构: -* [SucDomainInfo](https://cloud.tencent.com/document/api/242/38895#SucDomainInfo) +* [LoadAutoScaleStrategy](https://cloud.tencent.com/document/api/589/33981#LoadAutoScaleStrategy) +* [LoadMetricsCondition](https://cloud.tencent.com/document/api/589/33981#LoadMetricsCondition) +* [LoadMetricsConditions](https://cloud.tencent.com/document/api/589/33981#LoadMetricsConditions) +* [TriggerCondition](https://cloud.tencent.com/document/api/589/33981#TriggerCondition) +* [TriggerConditions](https://cloud.tencent.com/document/api/589/33981#TriggerConditions) +修改数据结构: +* [AutoScaleRecord](https://cloud.tencent.com/document/api/589/33981#AutoScaleRecord) -## 物联网开发平台(iotexplorer) 版本:2019-04-23 + * 新增成员:RetryEnReason, RetryReason -### 第 70 次发布 +* [AutoScaleResourceConf](https://cloud.tencent.com/document/api/589/33981#AutoScaleResourceConf) -发布时间:2024-06-27 01:13:47 + * 新增成员:HardwareType, PayMode, PostPayPercentMin, ChangeToPod, GroupName, YarnNodeLabel, GroupStatus, Parallel, EnableMNode + + + + +## iOA 零信任安全管理系统(ioa) 版本:2022-06-01 + +### 第 6 次发布 + +发布时间:2024-06-28 01:12:56 本次发布包含了以下内容: @@ -84,92 +132,107 @@ 修改数据结构: -* [CloudStorageEvent](https://cloud.tencent.com/document/api/1081/34988#CloudStorageEvent) +* [DescribeAccountGroupsData](https://cloud.tencent.com/document/api/1092/102488#DescribeAccountGroupsData) - * 新增成员:UploadStatus + * 新增成员:LatestSyncResult, LatestSyncTime -## SSL 证书(ssl) 版本:2019-12-05 +## 媒体处理(mps) 版本:2019-06-12 -### 第 59 次发布 +### 第 87 次发布 -发布时间:2024-06-27 01:18:46 +发布时间:2024-06-28 01:16:00 本次发布包含了以下内容: 改善已有的文档。 -修改接口: +修改数据结构: -* [DescribeCertificateBindResourceTaskDetail](https://cloud.tencent.com/document/api/400/97758) +* [CreateInput](https://cloud.tencent.com/document/api/862/37615#CreateInput) - * 新增出参:COS + * 新增成员:Zones +* [CreateOutputInfo](https://cloud.tencent.com/document/api/862/37615#CreateOutputInfo) -新增数据结构: + * 新增成员:Zones -* [COSInstanceList](https://cloud.tencent.com/document/api/400/41679#COSInstanceList) +* [DescribeInput](https://cloud.tencent.com/document/api/862/37615#DescribeInput) -修改数据结构: + * 新增成员:Zones -* [ApiGatewayInstanceList](https://cloud.tencent.com/document/api/400/41679#ApiGatewayInstanceList) +* [DescribeOutput](https://cloud.tencent.com/document/api/862/37615#DescribeOutput) - * 新增成员:Error + * 新增成员:Zones -* [CdnInstanceList](https://cloud.tencent.com/document/api/400/41679#CdnInstanceList) +* [LiveActivityResItem](https://cloud.tencent.com/document/api/862/37615#LiveActivityResItem) - * 新增成员:Error + * 新增成员:LiveQualityControlTask -* [ClbInstanceList](https://cloud.tencent.com/document/api/400/41679#ClbInstanceList) +* [ModifyInput](https://cloud.tencent.com/document/api/862/37615#ModifyInput) - * 新增成员:Error + * 新增成员:Zones -* [ClbListenerRule](https://cloud.tencent.com/document/api/400/41679#ClbListenerRule) +* [TerrorismConfigureInfo](https://cloud.tencent.com/document/api/862/37615#TerrorismConfigureInfo) - * **修改成员**:NoMatchDomains + * **修改成员**:OcrReviewInfo -* [DdosInstanceList](https://cloud.tencent.com/document/api/400/41679#DdosInstanceList) - * 新增成员:Error -* [LiveInstanceList](https://cloud.tencent.com/document/api/400/41679#LiveInstanceList) - * 新增成员:Error +## 文字识别(ocr) 版本:2018-11-19 -* [TCBInstanceList](https://cloud.tencent.com/document/api/400/41679#TCBInstanceList) +### 第 140 次发布 - * 新增成员:Error +发布时间:2024-06-28 01:16:42 -* [TSEInstanceList](https://cloud.tencent.com/document/api/400/41679#TSEInstanceList) +本次发布包含了以下内容: - * 新增成员:Error +改善已有的文档。 -* [TeoInstanceList](https://cloud.tencent.com/document/api/400/41679#TeoInstanceList) +修改接口: - * 新增成员:Error +* [BizLicenseOCR](https://cloud.tencent.com/document/api/866/36215) -* [TkeInstanceList](https://cloud.tencent.com/document/api/400/41679#TkeInstanceList) + * 新增入参:EnablePeriodComplete - * 新增成员:Error -* [VODInstanceList](https://cloud.tencent.com/document/api/400/41679#VODInstanceList) +修改数据结构: - * 新增成员:Error +* [TrainTicket](https://cloud.tencent.com/document/api/866/33527#TrainTicket) -* [WafInstanceList](https://cloud.tencent.com/document/api/400/41679#WafInstanceList) + * 新增成员:TicketChangeMark - * 新增成员:Error +## SSL 证书(ssl) 版本:2019-12-05 -## 高性能计算平台(thpc) 版本:2023-03-21 +### 第 60 次发布 -### 第 14 次发布 +发布时间:2024-06-28 01:18:28 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DeleteCertificates](https://cloud.tencent.com/document/api/400/107800) + +新增数据结构: + +* [BatchDeleteFail](https://cloud.tencent.com/document/api/400/41679#BatchDeleteFail) -发布时间:2024-06-27 01:21:12 + + +## 消息队列 TDMQ(tdmq) 版本:2020-02-17 + +### 第 117 次发布 + +发布时间:2024-06-28 01:20:13 本次发布包含了以下内容: @@ -177,63 +240,87 @@ 修改接口: -* [CreateCluster](https://cloud.tencent.com/document/api/1527/89563) +* [CreateRabbitMQVipInstance](https://cloud.tencent.com/document/api/1179/88134) - * 新增入参:SchedulerVersion + * 新增入参:PayMode, ClusterVersion, IsIntl, ResourceTags, Bandwidth + +* [DeleteRabbitMQVipInstance](https://cloud.tencent.com/document/api/1179/94833) + + * 新增入参:IsIntl 修改数据结构: -* [ClusterOverview](https://cloud.tencent.com/document/api/1527/89579#ClusterOverview) +* [RabbitMQUser](https://cloud.tencent.com/document/api/1179/46089#RabbitMQUser) - * 新增成员:SchedulerVersion + * 新增成员:MaxConnections, MaxChannels +* [RabbitMQVipInstance](https://cloud.tencent.com/document/api/1179/46089#RabbitMQVipInstance) + * 新增成员:CreateTime +* [RocketMQInstanceConfig](https://cloud.tencent.com/document/api/1179/46089#RocketMQInstanceConfig) -## 高性能计算平台(thpc) 版本:2022-04-01 + * 新增成员:MaxRetention, MinRetention, Retention, TopicNumLowerLimit, TopicNumUpperLimit + * **修改成员**:MaxTpsPerNamespace, MaxNamespaceNum, UsedNamespaceNum, MaxTopicNum, UsedTopicNum, MaxGroupNum, UsedGroupNum, ConfigDisplay, NodeCount, NodeDistribution, TopicDistribution, MaxQueuesPerTopic -## 高性能计算平台(thpc) 版本:2021-11-09 +## 大模型视频创作引擎(vclm) 版本:2024-05-23 -## 容器服务(tke) 版本:2022-05-01 +### 第 2 次发布 +发布时间:2024-06-28 01:22:51 +本次发布包含了以下内容: -## 容器服务(tke) 版本:2018-05-25 +改善已有的文档。 -### 第 175 次发布 +新增接口: -发布时间:2024-06-27 01:21:28 +* [ConfirmVideoTranslateJob](https://cloud.tencent.com/document/api/1616/107807) +* [DescribeVideoStylizationJob](https://cloud.tencent.com/document/api/1616/107803) +* [DescribeVideoTranslateJob](https://cloud.tencent.com/document/api/1616/107806) +* [SubmitVideoStylizationJob](https://cloud.tencent.com/document/api/1616/107802) +* [SubmitVideoTranslateJob](https://cloud.tencent.com/document/api/1616/107805) + +新增数据结构: + +* [AsrTimestamps](https://cloud.tencent.com/document/api/1616/107808#AsrTimestamps) +* [TranslateResult](https://cloud.tencent.com/document/api/1616/107808#TranslateResult) + +### 第 1 次发布 + +发布时间:2024-06-27 17:13:58 本次发布包含了以下内容: 改善已有的文档。 -修改接口: +新增接口: -* [CreatePrometheusConfig](https://cloud.tencent.com/document/api/457/76241) +* [DescribeImageAnimateJob](https://cloud.tencent.com/document/api/1616/107785) +* [SubmitImageAnimateJob](https://cloud.tencent.com/document/api/1616/107784) - * 新增入参:Probes -* [DeletePrometheusClusterAgent](https://cloud.tencent.com/document/api/457/76246) - * 新增入参:Force +## 向量数据库(vdb) 版本:2023-06-16 -* [DeletePrometheusConfig](https://cloud.tencent.com/document/api/457/76239) +### 第 2 次发布 - * 新增入参:Probes +发布时间:2024-06-28 01:22:56 -* [DescribePrometheusConfig](https://cloud.tencent.com/document/api/457/76237) +本次发布包含了以下内容: - * 新增出参:Probes +改善已有的文档。 -* [ModifyPrometheusConfig](https://cloud.tencent.com/document/api/457/76236) +修改数据结构: - * 新增入参:Probes +* [InstanceInfo](https://cloud.tencent.com/document/api/1709/106757#InstanceInfo) + + * 新增成员:IsolateAt, AutoRenew @@ -882,6 +969,18 @@ ## 大模型图像创作引擎(aiart) 版本:2022-12-29 +### 第 6 次发布 + +发布时间:2024-06-28 01:03:50 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[GenerateAvatar](https://cloud.tencent.com/document/api/1668/107799)](https://cloud.tencent.com/document/api/#/#) + ### 第 5 次发布 发布时间:2024-04-23 15:48:38 @@ -14343,6 +14442,21 @@ ## 云硬盘(cbs) 版本:2017-03-12 +### 第 55 次发布 + +发布时间:2024-06-28 01:05:34 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [AutoMountConfiguration](https://cloud.tencent.com/document/api/362/15669#AutoMountConfiguration) + + * **修改成员**:MountPoint, FileSystemType + + ### 第 54 次发布 发布时间:2024-03-21 01:09:20 @@ -31565,6 +31679,21 @@ ## 日志服务(cls) 版本:2020-10-16 +### 第 98 次发布 + +发布时间:2024-06-28 01:07:19 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [AlarmTargetInfo](https://cloud.tencent.com/document/api/614/56471#AlarmTargetInfo) + + * 新增成员:SyntaxRule, BizType + + ### 第 97 次发布 发布时间:2024-06-27 01:08:10 @@ -41477,6 +41606,18 @@ ## 主机安全(cwp) 版本:2018-02-28 +### 第 115 次发布 + +发布时间:2024-06-28 01:08:04 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* ExportAttackLogs + ### 第 114 次发布 发布时间:2024-06-26 01:12:49 @@ -53799,7 +53940,7 @@ 新增数据结构: -* [[SucDomainInfo](https://cloud.tencent.com/document/api/242/38895#SucDomainInfo)](https://cloud.tencent.com/document/api/242/38895#[SucDomainInfo](https://cloud.tencent.com/document/api/242/38895#SucDomainInfo)) +* [SucDomainInfo](https://cloud.tencent.com/document/api/242/38895#SucDomainInfo) ### 第 39 次发布 @@ -59509,6 +59650,52 @@ ## 弹性 MapReduce(emr) 版本:2019-01-03 +### 第 67 次发布 + +发布时间:2024-06-28 01:11:14 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [AddMetricScaleStrategy](https://cloud.tencent.com/document/api/589/103997) + + * 新增入参:LoadAutoScaleStrategy + +* [DescribeAutoScaleRecords](https://cloud.tencent.com/document/api/589/100248) + + * 新增入参:RecordSource + +* [DescribeAutoScaleStrategies](https://cloud.tencent.com/document/api/589/103998) + + * 新增出参:LoadAutoScaleStrategies + +* [ModifyAutoScaleStrategy](https://cloud.tencent.com/document/api/589/103995) + + * 新增入参:LoadAutoScaleStrategies + + +新增数据结构: + +* [[LoadAutoScaleStrategy](https://cloud.tencent.com/document/api/589/33981#LoadAutoScaleStrategy)](https://cloud.tencent.com/document/api/589/33981#[LoadAutoScaleStrategy](https://cloud.tencent.com/document/api/589/33981#LoadAutoScaleStrategy)) +* [[LoadMetricsCondition](https://cloud.tencent.com/document/api/589/33981#LoadMetricsCondition)](https://cloud.tencent.com/document/api/589/33981#[LoadMetricsCondition](https://cloud.tencent.com/document/api/589/33981#LoadMetricsCondition)) +* [[LoadMetricsConditions](https://cloud.tencent.com/document/api/589/33981#LoadMetricsConditions)](https://cloud.tencent.com/document/api/589/33981#[LoadMetricsConditions](https://cloud.tencent.com/document/api/589/33981#LoadMetricsConditions)) +* [[TriggerCondition](https://cloud.tencent.com/document/api/589/33981#TriggerCondition)](https://cloud.tencent.com/document/api/589/33981#[TriggerCondition](https://cloud.tencent.com/document/api/589/33981#TriggerCondition)) +* [[TriggerConditions](https://cloud.tencent.com/document/api/589/33981#TriggerConditions)](https://cloud.tencent.com/document/api/589/33981#[TriggerConditions](https://cloud.tencent.com/document/api/589/33981#TriggerConditions)) + +修改数据结构: + +* [AutoScaleRecord](https://cloud.tencent.com/document/api/589/33981#AutoScaleRecord) + + * 新增成员:RetryEnReason, RetryReason + +* [AutoScaleResourceConf](https://cloud.tencent.com/document/api/589/33981#AutoScaleResourceConf) + + * 新增成员:HardwareType, PayMode, PostPayPercentMin, ChangeToPod, GroupName, YarnNodeLabel, GroupStatus, Parallel, EnableMNode + + ### 第 66 次发布 发布时间:2024-06-12 17:52:35 @@ -76108,6 +76295,21 @@ ## iOA 零信任安全管理系统(ioa) 版本:2022-06-01 +### 第 6 次发布 + +发布时间:2024-06-28 01:12:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [DescribeAccountGroupsData](https://cloud.tencent.com/document/api/1092/102488#DescribeAccountGroupsData) + + * 新增成员:LatestSyncResult, LatestSyncTime + + ### 第 5 次发布 发布时间:2024-06-25 16:17:19 @@ -93181,6 +93383,45 @@ ## 媒体处理(mps) 版本:2019-06-12 +### 第 87 次发布 + +发布时间:2024-06-28 01:16:00 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [CreateInput](https://cloud.tencent.com/document/api/862/37615#CreateInput) + + * 新增成员:Zones + +* [CreateOutputInfo](https://cloud.tencent.com/document/api/862/37615#CreateOutputInfo) + + * 新增成员:Zones + +* [DescribeInput](https://cloud.tencent.com/document/api/862/37615#DescribeInput) + + * 新增成员:Zones + +* [DescribeOutput](https://cloud.tencent.com/document/api/862/37615#DescribeOutput) + + * 新增成员:Zones + +* [LiveActivityResItem](https://cloud.tencent.com/document/api/862/37615#LiveActivityResItem) + + * 新增成员:LiveQualityControlTask + +* [ModifyInput](https://cloud.tencent.com/document/api/862/37615#ModifyInput) + + * 新增成员:Zones + +* [TerrorismConfigureInfo](https://cloud.tencent.com/document/api/862/37615#TerrorismConfigureInfo) + + * **修改成员**:OcrReviewInfo + + ### 第 86 次发布 发布时间:2024-06-21 01:59:51 @@ -99029,6 +99270,28 @@ ## 文字识别(ocr) 版本:2018-11-19 +### 第 140 次发布 + +发布时间:2024-06-28 01:16:42 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [BizLicenseOCR](https://cloud.tencent.com/document/api/866/36215) + + * 新增入参:EnablePeriodComplete + + +修改数据结构: + +* [TrainTicket](https://cloud.tencent.com/document/api/866/33527#TrainTicket) + + * 新增成员:TicketChangeMark + + ### 第 139 次发布 发布时间:2024-06-26 01:21:05 @@ -111791,6 +112054,22 @@ ## SSL 证书(ssl) 版本:2019-12-05 +### 第 60 次发布 + +发布时间:2024-06-28 01:18:28 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DeleteCertificates](https://cloud.tencent.com/document/api/400/107800)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[BatchDeleteFail](https://cloud.tencent.com/document/api/400/41679#BatchDeleteFail)](https://cloud.tencent.com/document/api/400/41679#[BatchDeleteFail](https://cloud.tencent.com/document/api/400/41679#BatchDeleteFail)) + ### 第 59 次发布 发布时间:2024-06-27 01:18:46 @@ -111808,7 +112087,7 @@ 新增数据结构: -* [[COSInstanceList](https://cloud.tencent.com/document/api/400/41679#COSInstanceList)](https://cloud.tencent.com/document/api/400/41679#[COSInstanceList](https://cloud.tencent.com/document/api/400/41679#COSInstanceList)) +* [COSInstanceList](https://cloud.tencent.com/document/api/400/41679#COSInstanceList) 修改数据结构: @@ -122625,6 +122904,42 @@ ## 消息队列 TDMQ(tdmq) 版本:2020-02-17 +### 第 117 次发布 + +发布时间:2024-06-28 01:20:13 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [CreateRabbitMQVipInstance](https://cloud.tencent.com/document/api/1179/88134) + + * 新增入参:PayMode, ClusterVersion, IsIntl, ResourceTags, Bandwidth + +* [DeleteRabbitMQVipInstance](https://cloud.tencent.com/document/api/1179/94833) + + * 新增入参:IsIntl + + +修改数据结构: + +* [RabbitMQUser](https://cloud.tencent.com/document/api/1179/46089#RabbitMQUser) + + * 新增成员:MaxConnections, MaxChannels + +* [RabbitMQVipInstance](https://cloud.tencent.com/document/api/1179/46089#RabbitMQVipInstance) + + * 新增成员:CreateTime + +* [RocketMQInstanceConfig](https://cloud.tencent.com/document/api/1179/46089#RocketMQInstanceConfig) + + * 新增成员:MaxRetention, MinRetention, Retention, TopicNumLowerLimit, TopicNumUpperLimit + + * **修改成员**:MaxTpsPerNamespace, MaxNamespaceNum, UsedNamespaceNum, MaxTopicNum, UsedTopicNum, MaxGroupNum, UsedGroupNum, ConfigDisplay, NodeCount, NodeDistribution, TopicDistribution, MaxQueuesPerTopic + + ### 第 116 次发布 发布时间:2024-06-25 01:23:14 @@ -145747,8 +146062,62 @@ +## 大模型视频创作引擎(vclm) 版本:2024-05-23 + +### 第 2 次发布 + +发布时间:2024-06-28 01:22:51 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[ConfirmVideoTranslateJob](https://cloud.tencent.com/document/api/1616/107807)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeVideoStylizationJob](https://cloud.tencent.com/document/api/1616/107803)](https://cloud.tencent.com/document/api/#/#) +* [[DescribeVideoTranslateJob](https://cloud.tencent.com/document/api/1616/107806)](https://cloud.tencent.com/document/api/#/#) +* [[SubmitVideoStylizationJob](https://cloud.tencent.com/document/api/1616/107802)](https://cloud.tencent.com/document/api/#/#) +* [[SubmitVideoTranslateJob](https://cloud.tencent.com/document/api/1616/107805)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[AsrTimestamps](https://cloud.tencent.com/document/api/1616/107808#AsrTimestamps)](https://cloud.tencent.com/document/api/1616/107808#[AsrTimestamps](https://cloud.tencent.com/document/api/1616/107808#AsrTimestamps)) +* [[TranslateResult](https://cloud.tencent.com/document/api/1616/107808#TranslateResult)](https://cloud.tencent.com/document/api/1616/107808#[TranslateResult](https://cloud.tencent.com/document/api/1616/107808#TranslateResult)) + +### 第 1 次发布 + +发布时间:2024-06-27 17:13:58 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeImageAnimateJob](https://cloud.tencent.com/document/api/1616/107785)](https://cloud.tencent.com/document/api/#/#) +* [[SubmitImageAnimateJob](https://cloud.tencent.com/document/api/1616/107784)](https://cloud.tencent.com/document/api/#/#) + + + + ## 向量数据库(vdb) 版本:2023-06-16 +### 第 2 次发布 + +发布时间:2024-06-28 01:22:56 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [InstanceInfo](https://cloud.tencent.com/document/api/1709/106757#InstanceInfo) + + * 新增成员:IsolateAt, AutoRenew + + ### 第 1 次发布 发布时间:2024-06-03 15:48:04 diff --git a/products.md b/products.md index 3d5059e67b..79c24ed2a1 100644 --- a/products.md +++ b/products.md @@ -6,7 +6,7 @@ | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2024-03-20 01:07:31 | | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2024-05-31 01:07:20 | | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2024-05-31 01:07:25 | -| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-06-06 01:07:32 | +| aiart | [大模型图像创作引擎](https://cloud.tencent.com/document/product/1668) | 2024-06-28 01:03:50 | | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 | | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2024-04-22 01:07:21 | | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 | @@ -38,7 +38,7 @@ | captcha | [验证码](https://cloud.tencent.com/document/product/1110) | 2024-06-19 01:14:46 | | car | [应用云渲染](https://cloud.tencent.com/document/product/1547) | 2024-06-19 01:14:59 | | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2024-06-14 01:17:35 | -| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-03-21 01:09:20 | +| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2024-06-28 01:05:34 | | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-06-13 01:13:25 | | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-06-26 01:10:30 | | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-03-20 01:10:04 | @@ -60,7 +60,7 @@ | cloudaudit | [操作审计](https://cloud.tencent.com/document/product/629) | 2024-01-15 01:09:37 | | cloudhsm | [云加密机](https://cloud.tencent.com/document/product/639) | 2024-03-20 01:11:31 | | cloudstudio | [Cloud Studio(云端 IDE)](https://cloud.tencent.com/document/product/1039) | 2024-05-29 01:21:54 | -| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-06-27 01:08:10 | +| cls | [日志服务](https://cloud.tencent.com/document/product/614) | 2024-06-28 01:07:19 | | cme | [多媒体创作引擎](https://cloud.tencent.com/document/product/1156) | 2024-03-20 01:12:05 | | cmq | [消息队列 CMQ](https://cloud.tencent.com/document/product/406) | 2024-06-21 01:24:31 | | cms | [内容安全](https://cloud.tencent.com/document/product/669) | 2024-06-20 01:24:47 | @@ -70,7 +70,7 @@ | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2024-06-20 01:24:58 | | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2024-03-20 01:12:25 | | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-06-20 01:25:33 | -| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-06-26 01:12:49 | +| cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-06-28 01:08:04 | | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 | | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-06-26 01:13:42 | | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-05-31 01:30:02 | @@ -94,10 +94,10 @@ | ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-03-20 01:15:56 | | 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) | 2024-06-21 01:40:25 | +| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-06-28 01:11:14 | | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-06-14 01:50:54 | -| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-06-27 01:12:21 | -| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-06-27 01:12:34 | +| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-06-28 01:11:37 | +| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-06-28 01:11:51 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-06-05 10:32:35 | | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-06-26 01:16:46 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-05-09 01:15:52 | @@ -119,8 +119,8 @@ | ie | [智能编辑](https://cloud.tencent.com/document/product/1186) | 2023-08-17 03:20:18 | | iecp | [物联网边缘计算平台](https://cloud.tencent.com/document/product/1118) | 2024-06-20 01:46:44 | | iir | [智能识图](https://cloud.tencent.com/document/product/1217) | 2022-04-04 06:48:05 | -| ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2024-06-20 01:47:42 | -| ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-06-25 16:17:19 | +| ims | [图片内容安全](https://cloud.tencent.com/document/product/1125) | 2024-06-28 01:12:55 | +| ioa | [iOA 零信任安全管理系统](https://cloud.tencent.com/document/product/1092) | 2024-06-28 01:12:56 | | 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) | 2024-06-27 01:13:47 | @@ -128,7 +128,7 @@ | iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-05-14 02:02:07 | | iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2024-03-20 01:18:54 | | irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2024-03-20 01:19:05 | -| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2024-06-10 02:00:36 | +| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2024-06-28 01:13:57 | | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2024-03-20 01:19:17 | | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 | | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-04-17 01:17:16 | @@ -147,7 +147,7 @@ | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-05-28 01:54:57 | | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-06-21 01:58:00 | | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-06-20 01:58:59 | -| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-06-21 01:59:51 | +| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-06-28 01:16:00 | | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-06-14 02:16:42 | | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2024-06-05 02:02:03 | | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2024-04-17 14:48:31 | @@ -155,7 +155,7 @@ | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2024-05-07 01:22:11 | | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 | | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-06-05 02:02:33 | -| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-06-26 01:21:05 | +| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-06-28 01:16:42 | | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-06-13 02:11:33 | | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-06-21 02:03:56 | | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-06-26 01:21:35 | @@ -168,8 +168,8 @@ | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2024-04-22 01:23:34 | | 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 | -| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-06-26 01:22:12 | -| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2024-04-15 02:05:44 | +| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-06-28 01:17:47 | +| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2024-06-28 01:17:54 | | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2024-06-21 16:30:49 | | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2024-06-07 02:21:50 | | smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2024-04-11 01:20:38 | @@ -179,7 +179,7 @@ | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 | | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-06-06 02:22:45 | | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 | -| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-06-27 01:18:46 | +| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-06-28 01:18:28 | | sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2024-03-20 01:24:03 | | ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2024-05-21 02:06:48 | | sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-03-20 01:24:08 | @@ -203,7 +203,7 @@ | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-06-26 01:23:56 | | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2024-03-20 01:25:48 | | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-06-04 02:17:43 | -| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-06-27 01:20:29 | +| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-06-28 01:20:13 | | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2024-04-22 01:26:50 | | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2024-06-25 01:23:38 | | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-06-13 16:47:31 | @@ -225,7 +225,7 @@ | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-06-25 01:24:46 | | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2024-06-06 02:42:14 | | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2024-06-21 02:25:01 | -| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-06-27 01:22:23 | +| trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2024-06-28 01:21:55 | | tse | [微服务引擎](https://cloud.tencent.com/document/product/1364) | 2024-06-20 02:26:25 | | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-06-27 01:22:43 | | tsi | [腾讯同传系统](https://cloud.tencent.com/document/product/1399) | 2024-06-25 01:25:47 | @@ -233,7 +233,8 @@ | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2024-06-26 01:27:08 | | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2024-03-20 01:30:08 | | vcg | [视频生成](https://cloud.tencent.com/document/product/1770) | 2024-06-06 02:47:17 | -| vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-06-05 02:29:39 | +| vclm | [大模型视频创作引擎](https://cloud.tencent.com/document/product/1616) | 2024-06-28 01:22:51 | +| vdb | [向量数据库](https://cloud.tencent.com/document/product/1709) | 2024-06-28 01:22:56 | | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-06-06 02:47:30 | | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 | | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-05-17 02:33:00 | diff --git a/tencentcloud/aa/go.mod b/tencentcloud/aa/go.mod index d5ab9a6b77..f3914f5705 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/aai/go.mod b/tencentcloud/aai/go.mod index dc9c609ddd..af45343db1 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/acp/go.mod b/tencentcloud/acp/go.mod index 7947cc150a..07a1f72c94 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/advisor/go.mod b/tencentcloud/advisor/go.mod index 3773ddd21f..bf7fc60f25 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/af/go.mod b/tencentcloud/af/go.mod index 4bfc8f5bcb..8111ae2dc7 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/afc/go.mod b/tencentcloud/afc/go.mod index ccd4904367..f4b08e64cf 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/aiart/go.mod b/tencentcloud/aiart/go.mod index 831d53d3d3..9e8eab2b92 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/aiart/v20221229/client.go b/tencentcloud/aiart/v20221229/client.go index 788179bfd7..264d4fe434 100644 --- a/tencentcloud/aiart/v20221229/client.go +++ b/tencentcloud/aiart/v20221229/client.go @@ -45,6 +45,113 @@ func NewClient(credential common.CredentialIface, region string, clientProfile * } +func NewGenerateAvatarRequest() (request *GenerateAvatarRequest) { + request = &GenerateAvatarRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("aiart", APIVersion, "GenerateAvatar") + + + return +} + +func NewGenerateAvatarResponse() (response *GenerateAvatarResponse) { + response = &GenerateAvatarResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// GenerateAvatar +// 百变头像接口将根据输入的人像照片,生成风格百变的头像。 +// +// 百变头像默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。 +// +// 可能返回的错误码: +// AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" +// FAILEDOPERATION_GENERATEIMAGEFAILED = "FailedOperation.GenerateImageFailed" +// FAILEDOPERATION_IMAGEDECODEFAILED = "FailedOperation.ImageDecodeFailed" +// FAILEDOPERATION_IMAGEDOWNLOADERROR = "FailedOperation.ImageDownloadError" +// FAILEDOPERATION_IMAGERESOLUTIONEXCEED = "FailedOperation.ImageResolutionExceed" +// FAILEDOPERATION_IMAGESIZEEXCEED = "FailedOperation.ImageSizeExceed" +// FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError" +// FAILEDOPERATION_REQUESTENTITYTOOLARGE = "FailedOperation.RequestEntityTooLarge" +// FAILEDOPERATION_REQUESTTIMEOUT = "FailedOperation.RequestTimeout" +// FAILEDOPERATION_RPCFAIL = "FailedOperation.RpcFail" +// FAILEDOPERATION_SERVERERROR = "FailedOperation.ServerError" +// FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// INVALIDPARAMETERVALUE_IMAGEEMPTY = "InvalidParameterValue.ImageEmpty" +// INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError" +// INVALIDPARAMETERVALUE_STYLECONFLICT = "InvalidParameterValue.StyleConflict" +// INVALIDPARAMETERVALUE_TEXTLENGTHEXCEED = "InvalidParameterValue.TextLengthExceed" +// INVALIDPARAMETERVALUE_URLILLEGAL = "InvalidParameterValue.UrlIllegal" +// OPERATIONDENIED_IMAGEILLEGALDETECTED = "OperationDenied.ImageIllegalDetected" +// OPERATIONDENIED_TEXTILLEGALDETECTED = "OperationDenied.TextIllegalDetected" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// RESOURCEUNAVAILABLE_DELIVERING = "ResourceUnavailable.Delivering" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCEUNAVAILABLE_LOWBALANCE = "ResourceUnavailable.LowBalance" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" +// RESOURCEUNAVAILABLE_STOPUSING = "ResourceUnavailable.StopUsing" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" +func (c *Client) GenerateAvatar(request *GenerateAvatarRequest) (response *GenerateAvatarResponse, err error) { + return c.GenerateAvatarWithContext(context.Background(), request) +} + +// GenerateAvatar +// 百变头像接口将根据输入的人像照片,生成风格百变的头像。 +// +// 百变头像默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。 +// +// 可能返回的错误码: +// AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" +// FAILEDOPERATION_GENERATEIMAGEFAILED = "FailedOperation.GenerateImageFailed" +// FAILEDOPERATION_IMAGEDECODEFAILED = "FailedOperation.ImageDecodeFailed" +// FAILEDOPERATION_IMAGEDOWNLOADERROR = "FailedOperation.ImageDownloadError" +// FAILEDOPERATION_IMAGERESOLUTIONEXCEED = "FailedOperation.ImageResolutionExceed" +// FAILEDOPERATION_IMAGESIZEEXCEED = "FailedOperation.ImageSizeExceed" +// FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError" +// FAILEDOPERATION_REQUESTENTITYTOOLARGE = "FailedOperation.RequestEntityTooLarge" +// FAILEDOPERATION_REQUESTTIMEOUT = "FailedOperation.RequestTimeout" +// FAILEDOPERATION_RPCFAIL = "FailedOperation.RpcFail" +// FAILEDOPERATION_SERVERERROR = "FailedOperation.ServerError" +// FAILEDOPERATION_UNKNOWN = "FailedOperation.Unknown" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// INVALIDPARAMETERVALUE_IMAGEEMPTY = "InvalidParameterValue.ImageEmpty" +// INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError" +// INVALIDPARAMETERVALUE_STYLECONFLICT = "InvalidParameterValue.StyleConflict" +// INVALIDPARAMETERVALUE_TEXTLENGTHEXCEED = "InvalidParameterValue.TextLengthExceed" +// INVALIDPARAMETERVALUE_URLILLEGAL = "InvalidParameterValue.UrlIllegal" +// OPERATIONDENIED_IMAGEILLEGALDETECTED = "OperationDenied.ImageIllegalDetected" +// OPERATIONDENIED_TEXTILLEGALDETECTED = "OperationDenied.TextIllegalDetected" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// RESOURCEUNAVAILABLE_DELIVERING = "ResourceUnavailable.Delivering" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCEUNAVAILABLE_LOWBALANCE = "ResourceUnavailable.LowBalance" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" +// RESOURCEUNAVAILABLE_STOPUSING = "ResourceUnavailable.StopUsing" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" +func (c *Client) GenerateAvatarWithContext(ctx context.Context, request *GenerateAvatarRequest) (response *GenerateAvatarResponse, err error) { + if request == nil { + request = NewGenerateAvatarRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("GenerateAvatar require credential") + } + + request.SetContext(ctx) + + response = NewGenerateAvatarResponse() + err = c.Send(request, response) + return +} + func NewImageToImageRequest() (request *ImageToImageRequest) { request = &ImageToImageRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/aiart/v20221229/models.go b/tencentcloud/aiart/v20221229/models.go index 180c9e5b67..91334707d7 100644 --- a/tencentcloud/aiart/v20221229/models.go +++ b/tencentcloud/aiart/v20221229/models.go @@ -41,6 +41,141 @@ type Filter struct { Occlusion *int64 `json:"Occlusion,omitnil,omitempty" name:"Occlusion"` } +// Predefined struct for user +type GenerateAvatarRequestParams struct { + // 头像风格。 + // 请在 [百变头像风格列表](https://cloud.tencent.com/document/product/1668/107741) 中选择期望的风格,必须传入风格编号。 + Style *string `json:"Style,omitnil,omitempty" name:"Style"` + + // 输入图 Base64 数据。 + // 算法将根据输入的图片,结合文本描述智能生成与之相关的图像。 + // Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。 + // 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。 + InputImage *string `json:"InputImage,omitnil,omitempty" name:"InputImage"` + + // 输入图 Url。 + // 算法将根据输入的图片,结合文本描述智能生成与之相关的图像。 + // Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。 + // 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。 + InputUrl *string `json:"InputUrl,omitnil,omitempty" name:"InputUrl"` + + // 输入图像质量检测开关,默认开启。 + // 1:开启 + // 0:关闭 + // 建议开启检测,可提升生成效果,关闭检测可能因输入图像质量较差导致生成效果受损。 + // 开启后,将增强对输入图像的质量要求,如果输入图像单边分辨率<500、图像中人脸占比较小、存在多人、没有检测到人脸、人脸不完整、人脸遮挡等,将被拦截。 + // 关闭后,将降低对输入图像的质量要求,如果图像中没有检测到人脸或人脸占比过小等,将被拦截。 + Filter *int64 `json:"Filter,omitnil,omitempty" name:"Filter"` + + // 为生成结果图添加标识的开关,默认为1。 + // 1:添加标识。 + // 0:不添加标识。 + // 其他数值:默认按1处理。 + // 建议您使用显著标识来提示结果图是 AI 生成的图片。 + LogoAdd *int64 `json:"LogoAdd,omitnil,omitempty" name:"LogoAdd"` + + // 标识内容设置。 + // 默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。 + LogoParam *LogoParam `json:"LogoParam,omitnil,omitempty" name:"LogoParam"` + + // 返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。 + RspImgType *string `json:"RspImgType,omitnil,omitempty" name:"RspImgType"` +} + +type GenerateAvatarRequest struct { + *tchttp.BaseRequest + + // 头像风格。 + // 请在 [百变头像风格列表](https://cloud.tencent.com/document/product/1668/107741) 中选择期望的风格,必须传入风格编号。 + Style *string `json:"Style,omitnil,omitempty" name:"Style"` + + // 输入图 Base64 数据。 + // 算法将根据输入的图片,结合文本描述智能生成与之相关的图像。 + // Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。 + // 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。 + InputImage *string `json:"InputImage,omitnil,omitempty" name:"InputImage"` + + // 输入图 Url。 + // 算法将根据输入的图片,结合文本描述智能生成与之相关的图像。 + // Base64 和 Url 必须提供一个,如果都提供以 Base64 为准。 + // 图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。 + InputUrl *string `json:"InputUrl,omitnil,omitempty" name:"InputUrl"` + + // 输入图像质量检测开关,默认开启。 + // 1:开启 + // 0:关闭 + // 建议开启检测,可提升生成效果,关闭检测可能因输入图像质量较差导致生成效果受损。 + // 开启后,将增强对输入图像的质量要求,如果输入图像单边分辨率<500、图像中人脸占比较小、存在多人、没有检测到人脸、人脸不完整、人脸遮挡等,将被拦截。 + // 关闭后,将降低对输入图像的质量要求,如果图像中没有检测到人脸或人脸占比过小等,将被拦截。 + Filter *int64 `json:"Filter,omitnil,omitempty" name:"Filter"` + + // 为生成结果图添加标识的开关,默认为1。 + // 1:添加标识。 + // 0:不添加标识。 + // 其他数值:默认按1处理。 + // 建议您使用显著标识来提示结果图是 AI 生成的图片。 + LogoAdd *int64 `json:"LogoAdd,omitnil,omitempty" name:"LogoAdd"` + + // 标识内容设置。 + // 默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。 + LogoParam *LogoParam `json:"LogoParam,omitnil,omitempty" name:"LogoParam"` + + // 返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。 + RspImgType *string `json:"RspImgType,omitnil,omitempty" name:"RspImgType"` +} + +func (r *GenerateAvatarRequest) 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 *GenerateAvatarRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "Style") + delete(f, "InputImage") + delete(f, "InputUrl") + delete(f, "Filter") + delete(f, "LogoAdd") + delete(f, "LogoParam") + delete(f, "RspImgType") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "GenerateAvatarRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type GenerateAvatarResponseParams struct { + // 根据入参 RspImgType 填入不同,返回不同的内容。 + // 如果传入 base64 则返回生成图 Base64 编码。 + // 如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。 + ResultImage *string `json:"ResultImage,omitnil,omitempty" name:"ResultImage"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type GenerateAvatarResponse struct { + *tchttp.BaseResponse + Response *GenerateAvatarResponseParams `json:"Response"` +} + +func (r *GenerateAvatarResponse) 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 *GenerateAvatarResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type ImageToImageRequestParams struct { // 输入图 Base64 数据。 diff --git a/tencentcloud/ame/go.mod b/tencentcloud/ame/go.mod index 044d3ffaf8..944f67d70f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ams/go.mod b/tencentcloud/ams/go.mod index fdf3046648..60a3214276 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/anicloud/go.mod b/tencentcloud/anicloud/go.mod index bf80ab37f7..745761d422 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/antiddos/go.mod b/tencentcloud/antiddos/go.mod index 41fd070fd0..bfa4d3cfe5 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/apcas/go.mod b/tencentcloud/apcas/go.mod index eaabefe6c2..45c909a954 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ape/go.mod b/tencentcloud/ape/go.mod index b2e3de06de..f0934ced89 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/api/go.mod b/tencentcloud/api/go.mod index c9bd17963c..81fd5cf778 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/apigateway/go.mod b/tencentcloud/apigateway/go.mod index 7120703cfb..eb84e594f0 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/apm/go.mod b/tencentcloud/apm/go.mod index 0bad037ac8..a5e7e93e1e 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/as/go.mod b/tencentcloud/as/go.mod index 875924c096..88cb22f67e 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/asr/go.mod b/tencentcloud/asr/go.mod index bc9199de5c..31976e25c2 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/asw/go.mod b/tencentcloud/asw/go.mod index d784c2a593..8cb412704f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ba/go.mod b/tencentcloud/ba/go.mod index 4ba7efaf21..68e162812d 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/batch/go.mod b/tencentcloud/batch/go.mod index 0775b7724d..3e45cbcbca 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/bda/go.mod b/tencentcloud/bda/go.mod index fe48299e23..ba33d412d1 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/bi/go.mod b/tencentcloud/bi/go.mod index 5da2da78d0..546921f4a1 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/billing/go.mod b/tencentcloud/billing/go.mod index 2ba5b7e849..f9dda879d8 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/bizlive/go.mod b/tencentcloud/bizlive/go.mod index 18cde13feb..fa72cf1cb5 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/bm/go.mod b/tencentcloud/bm/go.mod index 3a39eb41a5..7222298a8a 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/bma/go.mod b/tencentcloud/bma/go.mod index 49852038b7..d2148f2ce6 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/bmeip/go.mod b/tencentcloud/bmeip/go.mod index 853a10a088..54aaf1db25 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/bmlb/go.mod b/tencentcloud/bmlb/go.mod index 09a532eb72..e775a5614c 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/bmvpc/go.mod b/tencentcloud/bmvpc/go.mod index 72c753d2e1..99dd5c5cf6 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/bpaas/go.mod b/tencentcloud/bpaas/go.mod index b1be14424f..b52b3d1a4f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/bri/go.mod b/tencentcloud/bri/go.mod index 42699601cc..53cc5abe9d 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/bsca/go.mod b/tencentcloud/bsca/go.mod index 9ef08200c9..c8793ba12d 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/btoe/go.mod b/tencentcloud/btoe/go.mod index bf59edaaa6..483d266685 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cam/go.mod b/tencentcloud/cam/go.mod index aaff5e334a..f35da48d0f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/captcha/go.mod b/tencentcloud/captcha/go.mod index 6183b7b959..f439a8ac88 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/car/go.mod b/tencentcloud/car/go.mod index e5a427871f..fc349b87e3 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cat/go.mod b/tencentcloud/cat/go.mod index c18c35d987..01c7ff3b72 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cbs/go.mod b/tencentcloud/cbs/go.mod index 8c9be243b6..d8cf1cc294 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ccc/go.mod b/tencentcloud/ccc/go.mod index e6ff8388c2..a066cc72b7 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cdb/go.mod b/tencentcloud/cdb/go.mod index 1321078f84..280b55a61c 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cdc/go.mod b/tencentcloud/cdc/go.mod index f265f9704c..1cae61671f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cdn/go.mod b/tencentcloud/cdn/go.mod index 659d7ca3d6..27710e3c79 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cds/go.mod b/tencentcloud/cds/go.mod index 7a1f1c1723..c1f190e509 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cdwch/go.mod b/tencentcloud/cdwch/go.mod index 356457a479..b2d1827682 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cdwdoris/go.mod b/tencentcloud/cdwdoris/go.mod index 80596ceafa..e8826e7e2f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cdwpg/go.mod b/tencentcloud/cdwpg/go.mod index ed48bb3d28..7b3d9c600f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cfg/go.mod b/tencentcloud/cfg/go.mod index 64f0569012..b0aa525eb3 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cfs/go.mod b/tencentcloud/cfs/go.mod index 7b80f2e149..9ba2297712 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cfw/go.mod b/tencentcloud/cfw/go.mod index 0c424ae4e0..48f332f401 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/chdfs/go.mod b/tencentcloud/chdfs/go.mod index c1078b0340..13823d9b55 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ciam/go.mod b/tencentcloud/ciam/go.mod index 2f837f9637..c559762e90 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cii/go.mod b/tencentcloud/cii/go.mod index c53e1ee436..c7ed1a1737 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cim/go.mod b/tencentcloud/cim/go.mod index 750177173c..ddc56068fe 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cis/go.mod b/tencentcloud/cis/go.mod index 2e624256be..552e35385f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ckafka/go.mod b/tencentcloud/ckafka/go.mod index cb6ae6f917..9a65e3085f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/clb/go.mod b/tencentcloud/clb/go.mod index c0c8e027be..d8a0249004 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cloudaudit/go.mod b/tencentcloud/cloudaudit/go.mod index 9bcd4986fa..55ab77a013 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cloudhsm/go.mod b/tencentcloud/cloudhsm/go.mod index 069d4e0324..6ca423b90a 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cloudstudio/go.mod b/tencentcloud/cloudstudio/go.mod index 22d93d7e95..b61f350c61 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cls/go.mod b/tencentcloud/cls/go.mod index 34aa59a0af..822a5d9a4c 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cls/v20201016/models.go b/tencentcloud/cls/v20201016/models.go index b1bf1b0478..e03c5dc97f 100644 --- a/tencentcloud/cls/v20201016/models.go +++ b/tencentcloud/cls/v20201016/models.go @@ -314,6 +314,17 @@ type AlarmTargetInfo struct { // 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。 EndTimeOffset *int64 `json:"EndTimeOffset,omitnil,omitempty" name:"EndTimeOffset"` + + // 检索语法规则,默认值为0。 + // 0:Lucene语法,1:CQL语法。 + // 详细说明参见检索条件语法规则 + // 注意:此字段可能返回 null,表示取不到有效值。 + SyntaxRule *uint64 `json:"SyntaxRule,omitnil,omitempty" name:"SyntaxRule"` + + // 主题类型。 + // 0: 日志主题,1: 指标主题 + // 注意:此字段可能返回 null,表示取不到有效值。 + BizType *uint64 `json:"BizType,omitnil,omitempty" name:"BizType"` } type AlertHistoryNotice struct { diff --git a/tencentcloud/cme/go.mod b/tencentcloud/cme/go.mod index 8b8059c18f..d7be0e71dc 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cmq/go.mod b/tencentcloud/cmq/go.mod index e29b1d88ba..8a82bf8b17 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cms/go.mod b/tencentcloud/cms/go.mod index b013048f11..b26920de25 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/common/http/request.go b/tencentcloud/common/http/request.go index 28baa9b349..32de80c67e 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.951" + params["RequestClient"] = "SDK_GO_1.0.952" if requestClient != "" { params["RequestClient"] += ": " + requestClient } diff --git a/tencentcloud/config/go.mod b/tencentcloud/config/go.mod index 60f776d54d..f8729d60f2 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cpdp/go.mod b/tencentcloud/cpdp/go.mod index be5dc99283..850c063fa7 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cr/go.mod b/tencentcloud/cr/go.mod index c9323baf12..7d1e0c88d2 100644 --- a/tencentcloud/cr/go.mod +++ b/tencentcloud/cr/go.mod @@ -2,4 +2,4 @@ module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cr go 1.14 -require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/csip/go.mod b/tencentcloud/csip/go.mod index 3b14b01208..8491f7c6bf 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/csxg/go.mod b/tencentcloud/csxg/go.mod index 71403d7b2f..6826d90b5e 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cvm/go.mod b/tencentcloud/cvm/go.mod index fa1f358914..56c2b45156 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cwp/go.mod b/tencentcloud/cwp/go.mod index f802ed20db..bfed0d0112 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cwp/v20180228/client.go b/tencentcloud/cwp/v20180228/client.go index ec0cebdcf4..48cec61e84 100644 --- a/tencentcloud/cwp/v20180228/client.go +++ b/tencentcloud/cwp/v20180228/client.go @@ -22374,73 +22374,6 @@ func (c *Client) ExportAttackEventsWithContext(ctx context.Context, request *Exp return } -func NewExportAttackLogsRequest() (request *ExportAttackLogsRequest) { - request = &ExportAttackLogsRequest{ - BaseRequest: &tchttp.BaseRequest{}, - } - - request.Init().WithApiInfo("cwp", APIVersion, "ExportAttackLogs") - - - return -} - -func NewExportAttackLogsResponse() (response *ExportAttackLogsResponse) { - response = &ExportAttackLogsResponse{ - BaseResponse: &tchttp.BaseResponse{}, - } - return - -} - -// ExportAttackLogs -// ExportAttackEvents接口替代 -// -// -// -// 导出网络攻击日志 -// -// 可能返回的错误码: -// FAILEDOPERATION_EXPORT = "FailedOperation.Export" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -func (c *Client) ExportAttackLogs(request *ExportAttackLogsRequest) (response *ExportAttackLogsResponse, err error) { - return c.ExportAttackLogsWithContext(context.Background(), request) -} - -// ExportAttackLogs -// ExportAttackEvents接口替代 -// -// -// -// 导出网络攻击日志 -// -// 可能返回的错误码: -// FAILEDOPERATION_EXPORT = "FailedOperation.Export" -// INTERNALERROR = "InternalError" -// INVALIDPARAMETER = "InvalidParameter" -// INVALIDPARAMETERVALUE = "InvalidParameterValue" -// MISSINGPARAMETER = "MissingParameter" -// RESOURCENOTFOUND = "ResourceNotFound" -func (c *Client) ExportAttackLogsWithContext(ctx context.Context, request *ExportAttackLogsRequest) (response *ExportAttackLogsResponse, err error) { - if request == nil { - request = NewExportAttackLogsRequest() - } - - if c.GetCredential() == nil { - return nil, errors.New("ExportAttackLogs require credential") - } - - request.SetContext(ctx) - - response = NewExportAttackLogsResponse() - err = c.Send(request, response) - return -} - func NewExportBaselineEffectHostListRequest() (request *ExportBaselineEffectHostListRequest) { request = &ExportBaselineEffectHostListRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/cwp/v20180228/models.go b/tencentcloud/cwp/v20180228/models.go index 2f2031d2d7..fb9d912358 100644 --- a/tencentcloud/cwp/v20180228/models.go +++ b/tencentcloud/cwp/v20180228/models.go @@ -33391,94 +33391,6 @@ func (r *ExportAttackEventsResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } -// Predefined struct for user -type ExportAttackLogsRequestParams struct { - // 过滤条件。 - //
  • HttpMethod - String - 是否必填:否 - 攻击方法(POST|GET)
  • - //
  • DateRange - String - 是否必填:否 - 时间范围(存储最近3个月的数据),如最近一个月["2019-11-17", "2019-12-17"]
  • - //
  • VulType - String 威胁类型 - 是否必填: 否
  • - //
  • SrcIp - String 攻击源IP - 是否必填: 否
  • - //
  • DstIp - String 攻击目标IP - 是否必填: 否
  • - //
  • SrcPort - String 攻击源端口 - 是否必填: 否
  • - //
  • DstPort - String 攻击目标端口 - 是否必填: 否
  • - Filters []*Filters `json:"Filters,omitnil,omitempty" name:"Filters"` - - // 主机安全客户端ID - Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"` - - // 云主机机器ID - Quuid *string `json:"Quuid,omitnil,omitempty" name:"Quuid"` -} - -type ExportAttackLogsRequest struct { - *tchttp.BaseRequest - - // 过滤条件。 - //
  • HttpMethod - String - 是否必填:否 - 攻击方法(POST|GET)
  • - //
  • DateRange - String - 是否必填:否 - 时间范围(存储最近3个月的数据),如最近一个月["2019-11-17", "2019-12-17"]
  • - //
  • VulType - String 威胁类型 - 是否必填: 否
  • - //
  • SrcIp - String 攻击源IP - 是否必填: 否
  • - //
  • DstIp - String 攻击目标IP - 是否必填: 否
  • - //
  • SrcPort - String 攻击源端口 - 是否必填: 否
  • - //
  • DstPort - String 攻击目标端口 - 是否必填: 否
  • - Filters []*Filters `json:"Filters,omitnil,omitempty" name:"Filters"` - - // 主机安全客户端ID - Uuid *string `json:"Uuid,omitnil,omitempty" name:"Uuid"` - - // 云主机机器ID - Quuid *string `json:"Quuid,omitnil,omitempty" name:"Quuid"` -} - -func (r *ExportAttackLogsRequest) 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 *ExportAttackLogsRequest) FromJsonString(s string) error { - f := make(map[string]interface{}) - if err := json.Unmarshal([]byte(s), &f); err != nil { - return err - } - delete(f, "Filters") - delete(f, "Uuid") - delete(f, "Quuid") - if len(f) > 0 { - return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ExportAttackLogsRequest has unknown keys!", "") - } - return json.Unmarshal([]byte(s), &r) -} - -// Predefined struct for user -type ExportAttackLogsResponseParams struct { - // 已废弃 - DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"` - - // 任务ID,需要到接口“异步导出任务”ExportTasks获取DownloadUrl下载地址 - TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` - - // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 - RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` -} - -type ExportAttackLogsResponse struct { - *tchttp.BaseResponse - Response *ExportAttackLogsResponseParams `json:"Response"` -} - -func (r *ExportAttackLogsResponse) 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 *ExportAttackLogsResponse) FromJsonString(s string) error { - return json.Unmarshal([]byte(s), &r) -} - // Predefined struct for user type ExportBaselineEffectHostListRequestParams struct { // 基线id diff --git a/tencentcloud/cws/go.mod b/tencentcloud/cws/go.mod index cbb79f6c04..b5d06aed8c 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/cynosdb/go.mod b/tencentcloud/cynosdb/go.mod index 0e90ea37e3..4506bf6ce2 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/dasb/go.mod b/tencentcloud/dasb/go.mod index 57a7721ca2..a748b888c1 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/dataintegration/go.mod b/tencentcloud/dataintegration/go.mod index 576a86c2f3..074d8afd32 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/dayu/go.mod b/tencentcloud/dayu/go.mod index bae3293896..3143bf16f1 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/dbbrain/go.mod b/tencentcloud/dbbrain/go.mod index 78765711f8..14b9b53a8a 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/dbdc/go.mod b/tencentcloud/dbdc/go.mod index e5ab8216ed..bbc73bda4b 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/dc/go.mod b/tencentcloud/dc/go.mod index 572dfe5c78..d8e1741502 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/dcdb/go.mod b/tencentcloud/dcdb/go.mod index d93c8d136b..5207fbdda7 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/dlc/go.mod b/tencentcloud/dlc/go.mod index 3a29b3bb4e..8fa6180a5a 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/dnspod/go.mod b/tencentcloud/dnspod/go.mod index 8c0942cd25..7b0a44e431 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/domain/go.mod b/tencentcloud/domain/go.mod index ed83c0b948..754749694d 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/drm/go.mod b/tencentcloud/drm/go.mod index 751c3b1c5b..b34e2e8f5a 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ds/go.mod b/tencentcloud/ds/go.mod index 8e6d18778a..a0f6e55226 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/dsgc/go.mod b/tencentcloud/dsgc/go.mod index cad80b0cac..34558fb86f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/dtf/go.mod b/tencentcloud/dtf/go.mod index fc558f02ea..a268fe4829 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/dts/go.mod b/tencentcloud/dts/go.mod index 851caf7a90..7c286a8e41 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/eb/go.mod b/tencentcloud/eb/go.mod index cafd523984..216bfc3b83 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ecc/go.mod b/tencentcloud/ecc/go.mod index ab2e7d42c6..79207d6a87 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ecdn/go.mod b/tencentcloud/ecdn/go.mod index fb30d8acf4..b512ed004b 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ecm/go.mod b/tencentcloud/ecm/go.mod index 477d66e462..e03e4df181 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/eiam/go.mod b/tencentcloud/eiam/go.mod index 4ef8dc02a3..e523420ce1 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/eis/go.mod b/tencentcloud/eis/go.mod index ebd4548cd0..7fc52097d4 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/emr/go.mod b/tencentcloud/emr/go.mod index 45c89b8105..4caa66327d 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/emr/v20190103/models.go b/tencentcloud/emr/v20190103/models.go index 977f30992d..3757fb4b8e 100644 --- a/tencentcloud/emr/v20190103/models.go +++ b/tencentcloud/emr/v20190103/models.go @@ -25,9 +25,12 @@ type AddMetricScaleStrategyRequestParams struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` - // 1表示按负载规则扩容,2表示按时间规则扩容。 + // 1表示按负载规则扩容,2表示按时间规则扩容。必须填写,并且和下面的规则策略匹配 StrategyType *int64 `json:"StrategyType,omitnil,omitempty" name:"StrategyType"` + // 按负载扩容的规则。 + LoadAutoScaleStrategy *LoadAutoScaleStrategy `json:"LoadAutoScaleStrategy,omitnil,omitempty" name:"LoadAutoScaleStrategy"` + // 按时间扩缩容的规则。 TimeAutoScaleStrategy *TimeAutoScaleStrategy `json:"TimeAutoScaleStrategy,omitnil,omitempty" name:"TimeAutoScaleStrategy"` } @@ -38,9 +41,12 @@ type AddMetricScaleStrategyRequest struct { // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` - // 1表示按负载规则扩容,2表示按时间规则扩容。 + // 1表示按负载规则扩容,2表示按时间规则扩容。必须填写,并且和下面的规则策略匹配 StrategyType *int64 `json:"StrategyType,omitnil,omitempty" name:"StrategyType"` + // 按负载扩容的规则。 + LoadAutoScaleStrategy *LoadAutoScaleStrategy `json:"LoadAutoScaleStrategy,omitnil,omitempty" name:"LoadAutoScaleStrategy"` + // 按时间扩缩容的规则。 TimeAutoScaleStrategy *TimeAutoScaleStrategy `json:"TimeAutoScaleStrategy,omitnil,omitempty" name:"TimeAutoScaleStrategy"` } @@ -59,6 +65,7 @@ func (r *AddMetricScaleStrategyRequest) FromJsonString(s string) error { } delete(f, "InstanceId") delete(f, "StrategyType") + delete(f, "LoadAutoScaleStrategy") delete(f, "TimeAutoScaleStrategy") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "AddMetricScaleStrategyRequest has unknown keys!", "") @@ -270,6 +277,14 @@ type AutoScaleRecord struct { // 重试信息 // 注意:此字段可能返回 null,表示取不到有效值。 RetryInfo *string `json:"RetryInfo,omitnil,omitempty" name:"RetryInfo"` + + // 重试英文描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + RetryEnReason *string `json:"RetryEnReason,omitnil,omitempty" name:"RetryEnReason"` + + // 重试描述 + // 注意:此字段可能返回 null,表示取不到有效值。 + RetryReason *string `json:"RetryReason,omitnil,omitempty" name:"RetryReason"` } type AutoScaleResourceConf struct { @@ -296,6 +311,42 @@ type AutoScaleResourceConf struct { // 优雅缩容开关 // 注意:此字段可能返回 null,表示取不到有效值。 GraceDownFlag *bool `json:"GraceDownFlag,omitnil,omitempty" name:"GraceDownFlag"` + + // "CVM"表示规格全部使用CVM相关类型,"POD"表示规格使用容器相关类型,默认为"CVM"。 + // 注意:此字段可能返回 null,表示取不到有效值。 + HardwareType *string `json:"HardwareType,omitnil,omitempty" name:"HardwareType"` + + // "POSTPAY"表示只使用按量计费,"SPOT_FIRST"表示竞价实例优先,只有HardwareType为"HOST"时支持竞价实例优先,"POD"只支持纯按量计费。 + // 注意:此字段可能返回 null,表示取不到有效值。 + PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"` + + // 竞价实例优先的场景下,按量计费资源数量的最低百分比,整数 + // 注意:此字段可能返回 null,表示取不到有效值。 + PostPayPercentMin *int64 `json:"PostPayPercentMin,omitnil,omitempty" name:"PostPayPercentMin"` + + // 预设资源类型为HOST时,支持勾选“资源不足时切换POD”;支持取消勾选;默认不勾选(0),勾选(1) + // 注意:此字段可能返回 null,表示取不到有效值。 + ChangeToPod *int64 `json:"ChangeToPod,omitnil,omitempty" name:"ChangeToPod"` + + // 伸缩组名 + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` + + // 标签 + // 注意:此字段可能返回 null,表示取不到有效值。 + YarnNodeLabel *string `json:"YarnNodeLabel,omitnil,omitempty" name:"YarnNodeLabel"` + + // 伸缩组状态 + // 注意:此字段可能返回 null,表示取不到有效值。 + GroupStatus *int64 `json:"GroupStatus,omitnil,omitempty" name:"GroupStatus"` + + // 并行伸缩 0关闭;1开启 + // 注意:此字段可能返回 null,表示取不到有效值。 + Parallel *int64 `json:"Parallel,omitnil,omitempty" name:"Parallel"` + + // 是否支持MNode + // 注意:此字段可能返回 null,表示取不到有效值。 + EnableMNode *int64 `json:"EnableMNode,omitnil,omitempty" name:"EnableMNode"` } type BootstrapAction struct { @@ -1557,6 +1608,9 @@ type DescribeAutoScaleRecordsRequestParams struct { // 分页参数。最大支持100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` + + // 表示是自动(0)还是托管伸缩(1) + RecordSource *int64 `json:"RecordSource,omitnil,omitempty" name:"RecordSource"` } type DescribeAutoScaleRecordsRequest struct { @@ -1573,6 +1627,9 @@ type DescribeAutoScaleRecordsRequest struct { // 分页参数。最大支持100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` + + // 表示是自动(0)还是托管伸缩(1) + RecordSource *int64 `json:"RecordSource,omitnil,omitempty" name:"RecordSource"` } func (r *DescribeAutoScaleRecordsRequest) ToJsonString() string { @@ -1591,6 +1648,7 @@ func (r *DescribeAutoScaleRecordsRequest) FromJsonString(s string) error { delete(f, "Filters") delete(f, "Offset") delete(f, "Limit") + delete(f, "RecordSource") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DescribeAutoScaleRecordsRequest has unknown keys!", "") } @@ -1666,6 +1724,10 @@ func (r *DescribeAutoScaleStrategiesRequest) FromJsonString(s string) error { // Predefined struct for user type DescribeAutoScaleStrategiesResponseParams struct { + // 按负载伸缩规则 + // 注意:此字段可能返回 null,表示取不到有效值。 + LoadAutoScaleStrategies []*LoadAutoScaleStrategy `json:"LoadAutoScaleStrategies,omitnil,omitempty" name:"LoadAutoScaleStrategies"` + // 按时间伸缩规则 // 注意:此字段可能返回 null,表示取不到有效值。 TimeBasedAutoScaleStrategies []*TimeAutoScaleStrategy `json:"TimeBasedAutoScaleStrategies,omitnil,omitempty" name:"TimeBasedAutoScaleStrategies"` @@ -4775,6 +4837,120 @@ type KeyValue struct { Value *string `json:"Value,omitnil,omitempty" name:"Value"` } +type LoadAutoScaleStrategy struct { + // 规则ID。 + // 注意:此字段可能返回 null,表示取不到有效值。 + StrategyId *int64 `json:"StrategyId,omitnil,omitempty" name:"StrategyId"` + + // 规则名称。 + // 注意:此字段可能返回 null,表示取不到有效值。 + StrategyName *string `json:"StrategyName,omitnil,omitempty" name:"StrategyName"` + + // 规则生效冷却时间。 + // 注意:此字段可能返回 null,表示取不到有效值。 + CalmDownTime *int64 `json:"CalmDownTime,omitnil,omitempty" name:"CalmDownTime"` + + // 扩缩容动作,1表示扩容,2表示缩容。 + // 注意:此字段可能返回 null,表示取不到有效值。 + ScaleAction *int64 `json:"ScaleAction,omitnil,omitempty" name:"ScaleAction"` + + // 每次规则生效时的扩缩容数量。 + // 注意:此字段可能返回 null,表示取不到有效值。 + ScaleNum *int64 `json:"ScaleNum,omitnil,omitempty" name:"ScaleNum"` + + // 扩缩容负载指标。 + // 注意:此字段可能返回 null,表示取不到有效值。 + LoadMetrics *string `json:"LoadMetrics,omitnil,omitempty" name:"LoadMetrics"` + + // 规则元数据记录ID。 + // 注意:此字段可能返回 null,表示取不到有效值。 + MetricId *int64 `json:"MetricId,omitnil,omitempty" name:"MetricId"` + + // 规则统计周期,提供300s,600s,900s + // 注意:此字段可能返回 null,表示取不到有效值。 + StatisticPeriod *int64 `json:"StatisticPeriod,omitnil,omitempty" name:"StatisticPeriod"` + + // 指标处理方法,1表示MAX,2表示MIN,3表示AVG。 + // 注意:此字段可能返回 null,表示取不到有效值。 + ProcessMethod *int64 `json:"ProcessMethod,omitnil,omitempty" name:"ProcessMethod"` + + // 触发次数,当连续触发超过TriggerThreshold次后才开始扩缩容。 + TriggerThreshold *int64 `json:"TriggerThreshold,omitnil,omitempty" name:"TriggerThreshold"` + + // 条件触发数组。 + // 注意:此字段可能返回 null,表示取不到有效值。 + TriggerConditions *TriggerConditions `json:"TriggerConditions,omitnil,omitempty" name:"TriggerConditions"` + + // 规则优先级,添加时无效,默认为自增。 + // 注意:此字段可能返回 null,表示取不到有效值。 + Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` + + // 规则状态,1表示启动,3表示禁用。 + // 注意:此字段可能返回 null,表示取不到有效值。 + StrategyStatus *int64 `json:"StrategyStatus,omitnil,omitempty" name:"StrategyStatus"` + + // 规则扩容指定 yarn node label + // 注意:此字段可能返回 null,表示取不到有效值。 + YarnNodeLabel *string `json:"YarnNodeLabel,omitnil,omitempty" name:"YarnNodeLabel"` + + // 规则生效的有效时间 + PeriodValid *string `json:"PeriodValid,omitnil,omitempty" name:"PeriodValid"` + + // 优雅缩容开关 + GraceDownFlag *bool `json:"GraceDownFlag,omitnil,omitempty" name:"GraceDownFlag"` + + // 优雅缩容等待时间 + GraceDownTime *int64 `json:"GraceDownTime,omitnil,omitempty" name:"GraceDownTime"` + + // 绑定标签列表 + // 注意:此字段可能返回 null,表示取不到有效值。 + Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` + + // 预设配置组 + // 注意:此字段可能返回 null,表示取不到有效值。 + ConfigGroupAssigned *string `json:"ConfigGroupAssigned,omitnil,omitempty" name:"ConfigGroupAssigned"` + + // 扩容资源计算方法,"DEFAULT","INSTANCE", "CPU", "MEMORYGB"。 + // "DEFAULT"表示默认方式,与"INSTANCE"意义相同。 + // "INSTANCE"表示按照节点计算,默认方式。 + // "CPU"表示按照机器的核数计算。 + // "MEMORYGB"表示按照机器内存数计算。 + // 注意:此字段可能返回 null,表示取不到有效值。 + MeasureMethod *string `json:"MeasureMethod,omitnil,omitempty" name:"MeasureMethod"` + + // 多指标触发条件 + // 注意:此字段可能返回 null,表示取不到有效值。 + LoadMetricsConditions *LoadMetricsConditions `json:"LoadMetricsConditions,omitnil,omitempty" name:"LoadMetricsConditions"` +} + +type LoadMetricsCondition struct { + // 规则统计周期,提供1min,3min,5min。 + // 注意:此字段可能返回 null,表示取不到有效值。 + StatisticPeriod *int64 `json:"StatisticPeriod,omitnil,omitempty" name:"StatisticPeriod"` + + // 触发次数,当连续触发超过TriggerThreshold次后才开始扩缩容。 + // 注意:此字段可能返回 null,表示取不到有效值。 + TriggerThreshold *int64 `json:"TriggerThreshold,omitnil,omitempty" name:"TriggerThreshold"` + + // 扩缩容负载指标。 + // 注意:此字段可能返回 null,表示取不到有效值。 + LoadMetrics *string `json:"LoadMetrics,omitnil,omitempty" name:"LoadMetrics"` + + // 规则元数据记录ID。 + // 注意:此字段可能返回 null,表示取不到有效值。 + MetricId *int64 `json:"MetricId,omitnil,omitempty" name:"MetricId"` + + // 触发条件 + // 注意:此字段可能返回 null,表示取不到有效值。 + Conditions []*TriggerCondition `json:"Conditions,omitnil,omitempty" name:"Conditions"` +} + +type LoadMetricsConditions struct { + // 触发规则条件 + // 注意:此字段可能返回 null,表示取不到有效值。 + LoadMetrics []*LoadMetricsCondition `json:"LoadMetrics,omitnil,omitempty" name:"LoadMetrics"` +} + type LoginSettings struct { // 实例登录密码,8-16个字符,包含大写字母、小写字母、数字和特殊字符四种,特殊符号仅支持!@%^*,密码第一位不能为特殊字符 Password *string `json:"Password,omitnil,omitempty" name:"Password"` @@ -4812,6 +4988,9 @@ type ModifyAutoScaleStrategyRequestParams struct { // 自动扩缩容规则类型,1表示按负载指标扩缩容,2表示按时间扩缩容。 StrategyType *int64 `json:"StrategyType,omitnil,omitempty" name:"StrategyType"` + // 按负载扩缩容的指标。 + LoadAutoScaleStrategies []*LoadAutoScaleStrategy `json:"LoadAutoScaleStrategies,omitnil,omitempty" name:"LoadAutoScaleStrategies"` + // 按时间扩缩容的规则。 TimeAutoScaleStrategies []*TimeAutoScaleStrategy `json:"TimeAutoScaleStrategies,omitnil,omitempty" name:"TimeAutoScaleStrategies"` @@ -4828,6 +5007,9 @@ type ModifyAutoScaleStrategyRequest struct { // 自动扩缩容规则类型,1表示按负载指标扩缩容,2表示按时间扩缩容。 StrategyType *int64 `json:"StrategyType,omitnil,omitempty" name:"StrategyType"` + // 按负载扩缩容的指标。 + LoadAutoScaleStrategies []*LoadAutoScaleStrategy `json:"LoadAutoScaleStrategies,omitnil,omitempty" name:"LoadAutoScaleStrategies"` + // 按时间扩缩容的规则。 TimeAutoScaleStrategies []*TimeAutoScaleStrategy `json:"TimeAutoScaleStrategies,omitnil,omitempty" name:"TimeAutoScaleStrategies"` @@ -4849,6 +5031,7 @@ func (r *ModifyAutoScaleStrategyRequest) FromJsonString(s string) error { } delete(f, "InstanceId") delete(f, "StrategyType") + delete(f, "LoadAutoScaleStrategies") delete(f, "TimeAutoScaleStrategies") delete(f, "GroupId") if len(f) > 0 { @@ -6278,7 +6461,7 @@ type RenewInstancesInfo struct { } type RepeatStrategy struct { - // 取值范围"DAY","DOW","DOM","NONE",分别表示按天重复、按周重复、按月重复和一次执行。 + // 取值范围"DAY","DOW","DOM","NONE",分别表示按天重复、按周重复、按月重复和一次执行。必须填写 RepeatType *string `json:"RepeatType,omitnil,omitempty" name:"RepeatType"` // 按天重复规则,当RepeatType为"DAY"时有效 @@ -6297,7 +6480,7 @@ type RepeatStrategy struct { // 注意:此字段可能返回 null,表示取不到有效值。 NotRepeat *NotRepeatStrategy `json:"NotRepeat,omitnil,omitempty" name:"NotRepeat"` - // 规则过期时间,超过该时间后,规则将自动置为暂停状态,形式为"2020-07-23 00:00:00"。 + // 规则过期时间,超过该时间后,规则将自动置为暂停状态,形式为"2020-07-23 00:00:00"。必须填写 // 注意:此字段可能返回 null,表示取不到有效值。 Expire *string `json:"Expire,omitnil,omitempty" name:"Expire"` } @@ -7696,7 +7879,7 @@ type TimeAutoScaleStrategy struct { // 注意:此字段可能返回 null,表示取不到有效值。 ScaleNum *uint64 `json:"ScaleNum,omitnil,omitempty" name:"ScaleNum"` - // 规则状态,1表示有效,2表示无效,3表示暂停。 + // 规则状态,1表示有效,2表示无效,3表示暂停。必须填写 // 注意:此字段可能返回 null,表示取不到有效值。 StrategyStatus *uint64 `json:"StrategyStatus,omitnil,omitempty" name:"StrategyStatus"` @@ -7748,7 +7931,7 @@ type TimeAutoScaleStrategy struct { // 注意:此字段可能返回 null,表示取不到有效值。 MaxUse *int64 `json:"MaxUse,omitnil,omitempty" name:"MaxUse"` - // 节点部署服务列表。 + // 节点部署服务列表。部署服务仅填写HDFS、YARN。[组件名对应的映射关系表](https://cloud.tencent.com/document/product/589/98760) // 注意:此字段可能返回 null,表示取不到有效值。 SoftDeployInfo []*int64 `json:"SoftDeployInfo,omitnil,omitempty" name:"SoftDeployInfo"` @@ -7783,6 +7966,21 @@ type TopologyInfo struct { NodeInfoList []*ShortNodeInfo `json:"NodeInfoList,omitnil,omitempty" name:"NodeInfoList"` } +type TriggerCondition struct { + // 条件比较方法,1表示大于,2表示小于,3表示大于等于,4表示小于等于。 + CompareMethod *int64 `json:"CompareMethod,omitnil,omitempty" name:"CompareMethod"` + + // 条件阈值。 + // 注意:此字段可能返回 null,表示取不到有效值。 + Threshold *float64 `json:"Threshold,omitnil,omitempty" name:"Threshold"` +} + +type TriggerConditions struct { + // 规则触发条件数组。 + // 注意:此字段可能返回 null,表示取不到有效值。 + Conditions []*TriggerCondition `json:"Conditions,omitnil,omitempty" name:"Conditions"` +} + type UpdateInstanceSettings struct { // 内存容量,单位为G Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` diff --git a/tencentcloud/es/go.mod b/tencentcloud/es/go.mod index 7755a2da22..f7d5dfcc9c 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ess/go.mod b/tencentcloud/ess/go.mod index ed5e13e489..3996872c3a 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ess/v20201111/models.go b/tencentcloud/ess/v20201111/models.go index 27880ebc3c..50c7f48717 100644 --- a/tencentcloud/ess/v20201111/models.go +++ b/tencentcloud/ess/v20201111/models.go @@ -851,6 +851,7 @@ type Component struct { //
  • ATTACHMENT : 附件控件,ComponentValue 填写附件图片的资源 ID列表,以逗号分隔;
  • //
  • SELECTOR : 选择器控件,ComponentValue填写选择的字符串内容;
  • //
  • DATE : 日期控件;默认是格式化为xxxx年xx月xx日字符串;
  • + //
  • WATERMARK : 水印控件;只能分配给发起方,必须设置ComponentExtra;
  • //
  • DISTRICT : 省市区行政区控件,ComponentValue填写省市区行政区字符串内容;
  • // // **如果是SignComponent签署控件类型, @@ -948,6 +949,14 @@ type Component struct { //
  • FontSize: 范围12 :72
  • // 参数样例:`{"FontColor":"255,0,0","FontSize":12}` // + // ComponentType为WATERMARK时,支持以下参数: + // + // 参数样例:`"{\"Font\":\"黑体\",\"FontSize\":20,\"Opacity\":0.1,\"Density\":2,\"SubType\":\"PERSON_INFO_WATERMARK\"}"` + // // ComponentType为FILL_IMAGE时,支持以下参数: // diff --git a/tencentcloud/essbasic/go.mod b/tencentcloud/essbasic/go.mod index 944d35d030..c29b330f05 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/essbasic/v20210526/models.go b/tencentcloud/essbasic/v20210526/models.go index 0eca02162a..f638325151 100644 --- a/tencentcloud/essbasic/v20210526/models.go +++ b/tencentcloud/essbasic/v20210526/models.go @@ -6563,7 +6563,8 @@ type CreateConsoleLoginUrlRequestParams struct { Agent *Agent `json:"Agent,omitnil,omitempty" name:"Agent"` // 第三方平台子客的企业名称,请确认该企业名称与企业营业执照中注册的名称完全一致。 - // 在测试环境联调的过程中,企业名称请统一加上“测试”二字,如:典子谦示例企业测试,否则将无法审核通过。 + // 在测试环境联调的过程中,企业名称请使用以下名称 + // **子客测试专用企业1 - 子客测试专用企业9** // // 注: // `1. 如果名称中包含英文括号(),请使用中文括号()代替。` @@ -6664,7 +6665,8 @@ type CreateConsoleLoginUrlRequest struct { Agent *Agent `json:"Agent,omitnil,omitempty" name:"Agent"` // 第三方平台子客的企业名称,请确认该企业名称与企业营业执照中注册的名称完全一致。 - // 在测试环境联调的过程中,企业名称请统一加上“测试”二字,如:典子谦示例企业测试,否则将无法审核通过。 + // 在测试环境联调的过程中,企业名称请使用以下名称 + // **子客测试专用企业1 - 子客测试专用企业9** // // 注: // `1. 如果名称中包含英文括号(),请使用中文括号()代替。` diff --git a/tencentcloud/facefusion/go.mod b/tencentcloud/facefusion/go.mod index 4f4172b916..4cb5428682 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/faceid/go.mod b/tencentcloud/faceid/go.mod index 169be50c52..4177646430 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/fmu/go.mod b/tencentcloud/fmu/go.mod index 0feca2319c..1fcd01d5cd 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ft/go.mod b/tencentcloud/ft/go.mod index 4673c2cfe3..9d93f72cfa 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/gaap/go.mod b/tencentcloud/gaap/go.mod index c2027988e7..4f8508c581 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/gme/go.mod b/tencentcloud/gme/go.mod index fa867e17a5..36e8db0603 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/goosefs/go.mod b/tencentcloud/goosefs/go.mod index 4ff839755c..85c96d5b9f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/gpm/go.mod b/tencentcloud/gpm/go.mod index 40e4c22ebe..77f302aaf1 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/gs/go.mod b/tencentcloud/gs/go.mod index f85717d688..9a2272bc2a 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/gse/go.mod b/tencentcloud/gse/go.mod index df3a59df32..c6724d701c 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/habo/go.mod b/tencentcloud/habo/go.mod index 9767d88d7c..5fd717cffc 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/hai/go.mod b/tencentcloud/hai/go.mod index efa4a2d80c..870215f0ec 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/hasim/go.mod b/tencentcloud/hasim/go.mod index c96507391f..00490a9b22 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/hcm/go.mod b/tencentcloud/hcm/go.mod index f5a030a839..7e7588ea21 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/hunyuan/go.mod b/tencentcloud/hunyuan/go.mod index 30edec2d1b..b5099a86e6 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/iai/go.mod b/tencentcloud/iai/go.mod index df4a68fe67..33bb04455f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ic/go.mod b/tencentcloud/ic/go.mod index f2b57cdcaf..bbbf976a96 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/icr/go.mod b/tencentcloud/icr/go.mod index 3c4f6392ed..06c885b6ef 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ie/go.mod b/tencentcloud/ie/go.mod index 2374521f1a..ca43685825 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/iecp/go.mod b/tencentcloud/iecp/go.mod index c862f53546..0430c53af7 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/iir/go.mod b/tencentcloud/iir/go.mod index 2613ec6d20..fbe5f5bc66 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ims/go.mod b/tencentcloud/ims/go.mod index 1e565bf1ce..ac5db8af87 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ims/v20201229/client.go b/tencentcloud/ims/v20201229/client.go index 2bacbfc687..9199bb511e 100644 --- a/tencentcloud/ims/v20201229/client.go +++ b/tencentcloud/ims/v20201229/client.go @@ -93,7 +93,7 @@ func NewCreateImageModerationAsyncTaskResponse() (response *CreateImageModeratio // // ### 接口调用说明: // -// - 图片文件大小支持:**文件<100M** +// - 图片文件大小限制:**Base64编码内容应小于10MB**;**图片资源应小于100MB** // // - 图片尺寸支持:**长和宽 需>50分辨率且<40000分辨率,并且图片长宽比<90:1;** // @@ -172,7 +172,7 @@ func (c *Client) CreateImageModerationAsyncTask(request *CreateImageModerationAs // // ### 接口调用说明: // -// - 图片文件大小支持:**文件<100M** +// - 图片文件大小限制:**Base64编码内容应小于10MB**;**图片资源应小于100MB** // // - 图片尺寸支持:**长和宽 需>50分辨率且<40000分辨率,并且图片长宽比<90:1;** // @@ -284,7 +284,7 @@ func NewImageModerationResponse() (response *ImageModerationResponse) { // // ### 接口调用说明: // -// - 图片文件大小支持:**文件 < 30M** +// - 图片文件大小限制:**Base64编码内容应小于10MB**;**URL资源应小于30MB** // // - 图片默认尺寸支持:**长和宽 需>50分辨率且<10000分辨率,并且图片长宽比<90:1;** // @@ -400,7 +400,7 @@ func (c *Client) ImageModeration(request *ImageModerationRequest) (response *Ima // // ### 接口调用说明: // -// - 图片文件大小支持:**文件 < 30M** +// - 图片文件大小限制:**Base64编码内容应小于10MB**;**URL资源应小于30MB** // // - 图片默认尺寸支持:**长和宽 需>50分辨率且<10000分辨率,并且图片长宽比<90:1;** // diff --git a/tencentcloud/ioa/go.mod b/tencentcloud/ioa/go.mod index 4e96a7d3ab..87ef71ae13 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ioa/v20220601/models.go b/tencentcloud/ioa/v20220601/models.go index 1b281a4fad..92369001b4 100644 --- a/tencentcloud/ioa/v20220601/models.go +++ b/tencentcloud/ioa/v20220601/models.go @@ -43,29 +43,37 @@ type Condition struct { } type DescribeAccountGroupsData struct { - // 创建时间 + // 名称path // 注意:此字段可能返回 null,表示取不到有效值。 - Itime *string `json:"Itime,omitnil,omitempty" name:"Itime"` + NamePath *string `json:"NamePath,omitnil,omitempty" name:"NamePath"` - // 账户组名称 + // id patch数组(只支持32位) // 注意:此字段可能返回 null,表示取不到有效值。 - Name *string `json:"Name,omitnil,omitempty" name:"Name"` + IdPathArr []*int64 `json:"IdPathArr,omitnil,omitempty" name:"IdPathArr"` - // id patch数组 + // 扩展信息 // 注意:此字段可能返回 null,表示取不到有效值。 - IdPathArr []*int64 `json:"IdPathArr,omitnil,omitempty" name:"IdPathArr"` + ExtraInfo *string `json:"ExtraInfo,omitnil,omitempty" name:"ExtraInfo"` - // 该分组下用户总数 + // 最后更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 - UserTotal *int64 `json:"UserTotal,omitnil,omitempty" name:"UserTotal"` + Utime *string `json:"Utime,omitnil,omitempty" name:"Utime"` - // 扩展信息 + // 父id // 注意:此字段可能返回 null,表示取不到有效值。 - ExtraInfo *string `json:"ExtraInfo,omitnil,omitempty" name:"ExtraInfo"` + ParentId *int64 `json:"ParentId,omitnil,omitempty" name:"ParentId"` - // 导入类型 + // 组织id // 注意:此字段可能返回 null,表示取不到有效值。 - ImportType *string `json:"ImportType,omitnil,omitempty" name:"ImportType"` + OrgId *string `json:"OrgId,omitnil,omitempty" name:"OrgId"` + + // 账户组名称 + // 注意:此字段可能返回 null,表示取不到有效值。 + Name *string `json:"Name,omitnil,omitempty" name:"Name"` + + // id + // 注意:此字段可能返回 null,表示取不到有效值。 + Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` // 描述 // 注意:此字段可能返回 null,表示取不到有效值。 @@ -75,45 +83,45 @@ type DescribeAccountGroupsData struct { // 注意:此字段可能返回 null,表示取不到有效值。 Source *int64 `json:"Source,omitnil,omitempty" name:"Source"` - // miniIAM id + // id path // 注意:此字段可能返回 null,表示取不到有效值。 - MiniIamId *string `json:"MiniIamId,omitnil,omitempty" name:"MiniIamId"` + IdPath *string `json:"IdPath,omitnil,omitempty" name:"IdPath"` - // 组织id + // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 - OrgId *string `json:"OrgId,omitnil,omitempty" name:"OrgId"` + Itime *string `json:"Itime,omitnil,omitempty" name:"Itime"` - // 是否该账户的直接权限 + // 父组织id // 注意:此字段可能返回 null,表示取不到有效值。 - ReadOnly *bool `json:"ReadOnly,omitnil,omitempty" name:"ReadOnly"` + ParentOrgId *string `json:"ParentOrgId,omitnil,omitempty" name:"ParentOrgId"` - // 父id + // 导入类型 // 注意:此字段可能返回 null,表示取不到有效值。 - ParentId *int64 `json:"ParentId,omitnil,omitempty" name:"ParentId"` + ImportType *string `json:"ImportType,omitnil,omitempty" name:"ImportType"` - // 名称path + // miniIAM id // 注意:此字段可能返回 null,表示取不到有效值。 - NamePath *string `json:"NamePath,omitnil,omitempty" name:"NamePath"` + MiniIamId *string `json:"MiniIamId,omitnil,omitempty" name:"MiniIamId"` - // 父组织id + // 该分组下用户总数 // 注意:此字段可能返回 null,表示取不到有效值。 - ParentOrgId *string `json:"ParentOrgId,omitnil,omitempty" name:"ParentOrgId"` + UserTotal *int64 `json:"UserTotal,omitnil,omitempty" name:"UserTotal"` - // id path + // 是否叶子节点 // 注意:此字段可能返回 null,表示取不到有效值。 - IdPath *string `json:"IdPath,omitnil,omitempty" name:"IdPath"` + IsLeaf *bool `json:"IsLeaf,omitnil,omitempty" name:"IsLeaf"` - // 自增id + // 是否该账户的直接权限 // 注意:此字段可能返回 null,表示取不到有效值。 - Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` + ReadOnly *bool `json:"ReadOnly,omitnil,omitempty" name:"ReadOnly"` - // 是否叶子节点 + // 最新一次同步任务的结果 // 注意:此字段可能返回 null,表示取不到有效值。 - IsLeaf *bool `json:"IsLeaf,omitnil,omitempty" name:"IsLeaf"` + LatestSyncResult *string `json:"LatestSyncResult,omitnil,omitempty" name:"LatestSyncResult"` - // 最后更新时间 + // 最新一次同步任务的结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 - Utime *string `json:"Utime,omitnil,omitempty" name:"Utime"` + LatestSyncTime *string `json:"LatestSyncTime,omitnil,omitempty" name:"LatestSyncTime"` } type DescribeAccountGroupsPageResp struct { @@ -600,11 +608,11 @@ func (r *DescribeRootAccountGroupResponse) FromJsonString(s string) error { } type DeviceDetail struct { - // 设备ID(只支持32位) + // 设备ID // 注意:此字段可能返回 null,表示取不到有效值。 Id *int64 `json:"Id,omitnil,omitempty" name:"Id"` - // 设备唯一标识符 + // 设备唯一标识码,在ioa中每个设备有唯一标识码 // 注意:此字段可能返回 null,表示取不到有效值。 Mid *string `json:"Mid,omitnil,omitempty" name:"Mid"` @@ -612,11 +620,11 @@ type DeviceDetail struct { // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` - // 设备所在分组ID(只支持32位) + // 设备所在分组ID // 注意:此字段可能返回 null,表示取不到有效值。 GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"` - // OS平台(只支持32位) + // OS平台,0:Windows 、1: Linux、 2:macOS 、4: Android、 5: iOS。默认是0 // 注意:此字段可能返回 null,表示取不到有效值。 OsType *int64 `json:"OsType,omitnil,omitempty" name:"OsType"` @@ -624,7 +632,7 @@ type DeviceDetail struct { // 注意:此字段可能返回 null,表示取不到有效值。 Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"` - // 在线状态 2 在线 0,1 离线(只支持32位) + // 在线状态,2:在线、0或者1:离线 // 注意:此字段可能返回 null,表示取不到有效值。 OnlineStatus *int64 `json:"OnlineStatus,omitnil,omitempty" name:"OnlineStatus"` @@ -644,7 +652,7 @@ type DeviceDetail struct { // 注意:此字段可能返回 null,表示取不到有效值。 ConnActiveTime *string `json:"ConnActiveTime,omitnil,omitempty" name:"ConnActiveTime"` - // 设备是否加锁 1 锁定 0 2 非锁定(只支持32位) + // 设备是否加锁 ,1:锁定 0或者2:未锁定。 // 注意:此字段可能返回 null,表示取不到有效值。 Locked *int64 `json:"Locked,omitnil,omitempty" name:"Locked"` @@ -668,7 +676,7 @@ type DeviceDetail struct { // 注意:此字段可能返回 null,表示取不到有效值。 CriticalVulListCount *int64 `json:"CriticalVulListCount,omitnil,omitempty" name:"CriticalVulListCount"` - // 设备名 和Name相同,保留参数 + // 设备名,和Name相同 // 注意:此字段可能返回 null,表示取不到有效值。 ComputerName *string `json:"ComputerName,omitnil,omitempty" name:"ComputerName"` @@ -680,11 +688,11 @@ type DeviceDetail struct { // 注意:此字段可能返回 null,表示取不到有效值。 MacAddr *string `json:"MacAddr,omitnil,omitempty" name:"MacAddr"` - // 漏洞数(只支持32位) + // 漏洞数 // 注意:此字段可能返回 null,表示取不到有效值。 VulCount *int64 `json:"VulCount,omitnil,omitempty" name:"VulCount"` - // 病毒风险数(只支持32位) + // 病毒风险数 // 注意:此字段可能返回 null,表示取不到有效值。 RiskCount *int64 `json:"RiskCount,omitnil,omitempty" name:"RiskCount"` @@ -712,7 +720,7 @@ type DeviceDetail struct { // 注意:此字段可能返回 null,表示取不到有效值。 UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` - // 防火墙状态(只支持32位) + // 防火墙状态,不等于0表示开启 // 注意:此字段可能返回 null,表示取不到有效值。 FirewallStatus *int64 `json:"FirewallStatus,omitnil,omitempty" name:"FirewallStatus"` @@ -728,7 +736,7 @@ type DeviceDetail struct { // 注意:此字段可能返回 null,表示取不到有效值。 NGNStrategyVer *string `json:"NGNStrategyVer,omitnil,omitempty" name:"NGNStrategyVer"` - // 最近登录账号 + // 最近登录账户的账号 // 注意:此字段可能返回 null,表示取不到有效值。 IOAUserName *string `json:"IOAUserName,omitnil,omitempty" name:"IOAUserName"` @@ -764,7 +772,7 @@ type DeviceDetail struct { // 注意:此字段可能返回 null,表示取不到有效值。 AccountGroupName *string `json:"AccountGroupName,omitnil,omitempty" name:"AccountGroupName"` - // 登录账号姓名 + // 最近登录账户的姓名 // 注意:此字段可能返回 null,表示取不到有效值。 AccountName *string `json:"AccountName,omitnil,omitempty" name:"AccountName"` diff --git a/tencentcloud/iot/go.mod b/tencentcloud/iot/go.mod index 0452cc2b24..8d0465f63c 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/iotcloud/go.mod b/tencentcloud/iotcloud/go.mod index ef8f553a79..3dbc8d2b59 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/iotexplorer/go.mod b/tencentcloud/iotexplorer/go.mod index 5d55ae6d8a..3090cb947b 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/iottid/go.mod b/tencentcloud/iottid/go.mod index b7e8af8f0d..4a0d72e521 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/iotvideo/go.mod b/tencentcloud/iotvideo/go.mod index afb9a327ca..bcbf62a3a6 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/iotvideoindustry/go.mod b/tencentcloud/iotvideoindustry/go.mod index 9488ee1030..0c734a97b8 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/irp/go.mod b/tencentcloud/irp/go.mod index 4cd4a1ecfb..69ccf407d4 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/iss/go.mod b/tencentcloud/iss/go.mod index 794b27bc3a..3fc992a164 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ivld/go.mod b/tencentcloud/ivld/go.mod index fd0d6bc798..7aaa394960 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/keewidb/go.mod b/tencentcloud/keewidb/go.mod index 934a89102b..7ea00d159f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/kms/go.mod b/tencentcloud/kms/go.mod index 87b3a24fea..bf7c5b3a08 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/lcic/go.mod b/tencentcloud/lcic/go.mod index eafe79bf98..28ed56c9a3 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/lighthouse/go.mod b/tencentcloud/lighthouse/go.mod index 631050158f..e99713cd34 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/live/go.mod b/tencentcloud/live/go.mod index 7c2ce3ac0e..09ca5292d5 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/lke/go.mod b/tencentcloud/lke/go.mod index 741242ec59..c5373d6e45 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/lowcode/go.mod b/tencentcloud/lowcode/go.mod index acda2c454f..632133dae0 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/lp/go.mod b/tencentcloud/lp/go.mod index fc8875bf2d..76cc2725eb 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/mall/go.mod b/tencentcloud/mall/go.mod index 47ec16cbcc..d3104848c6 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/mariadb/go.mod b/tencentcloud/mariadb/go.mod index c81339275e..00c941c623 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/market/go.mod b/tencentcloud/market/go.mod index 0f85e1a8f6..2b45d5c843 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/memcached/go.mod b/tencentcloud/memcached/go.mod index 343543dd9b..8db8e38552 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/mgobe/go.mod b/tencentcloud/mgobe/go.mod index d9f5848267..ad421d1c39 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/mmps/go.mod b/tencentcloud/mmps/go.mod index 42af6b6dca..ce48137538 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/mna/go.mod b/tencentcloud/mna/go.mod index 7394fb92e3..39f0147df9 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/mongodb/go.mod b/tencentcloud/mongodb/go.mod index 3d2990ab9a..9c061356a2 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/monitor/go.mod b/tencentcloud/monitor/go.mod index cf889b004a..2fe6a53efb 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/mps/go.mod b/tencentcloud/mps/go.mod index cf00339570..9501aae67c 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/mps/v20190612/models.go b/tencentcloud/mps/v20190612/models.go index f673e5b873..7941490c5d 100644 --- a/tencentcloud/mps/v20190612/models.go +++ b/tencentcloud/mps/v20190612/models.go @@ -121,6 +121,7 @@ type Activity struct { //
  • action-image-sprite:雪碧图
  • //
  • action-snapshotByTimeOffset: 时间点截图
  • //
  • action-adaptive-substream:自适应码流
  • + //
  • action-AIQualityControl:媒体质检
  • // // // @@ -223,6 +224,7 @@ type ActivityResult struct { //
  • AiContentReview:内容审核。
  • //
  • AIRecognition:智能识别。
  • //
  • AIAnalysis:智能分析。
  • + //
  • AiQualityControl:媒体质检。
  • ActivityType *string `json:"ActivityType,omitnil,omitempty" name:"ActivityType"` // 原子任务输出。 @@ -791,7 +793,7 @@ type AiParagraphInfo struct { } type AiQualityControlTaskInput struct { - // 视频质检模板 ID 。暂时可以直接使用 预设模板ID 10,后面控制台支持用户配置自定义模板。 + // 媒体质检模板 ID 。暂时可以直接使用 预设模板ID 10,后面控制台支持用户配置自定义模板。 // 注意:此字段可能返回 null,表示取不到有效值。 Definition *uint64 `json:"Definition,omitnil,omitempty" name:"Definition"` @@ -2013,9 +2015,7 @@ type AudioTemplateInfo struct { //
  • flac。
  • // 当外层参数 Container 为 m4a 时,可选值为: //
  • aac;
  • - //
  • mp3;
  • //
  • ac3。
  • - //
  • eac3。
  • // 当外层参数 Container 为 mp4 或 flv 时,可选值为: //
  • aac:更适合 mp4;
  • //
  • mp3:更适合 flv;
  • @@ -2055,9 +2055,7 @@ type AudioTemplateInfoForUpdate struct { //
  • flac。
  • // 当外层参数 Container 为 m4a 时,可选值为: //
  • aac;
  • - //
  • mp3;
  • //
  • ac3。
  • - //
  • eac3。
  • // 当外层参数 Container 为 mp4 或 flv 时,可选值为: //
  • aac:更适合 mp4;
  • //
  • mp3:更适合 flv;
  • @@ -3666,6 +3664,9 @@ type CreateInput struct { // 绑定的输入安全组 ID。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` + + // 可用区,非必填,如果开启容灾必须输入两个不同的可用区,否则最多只允许输入一个可用区。 + Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` } type CreateInputHLSPullSettings struct { @@ -3751,6 +3752,9 @@ type CreateOutputInfo struct { // 绑定的输入安全组 ID。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` + + // 可用区,output最多只支持输入一个可用区。 + Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` } type CreateOutputInfoRTPSettings struct { @@ -6619,6 +6623,9 @@ type DescribeInput struct { // 绑定的输入安全组 ID。 // 注意:此字段可能返回 null,表示取不到有效值。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` + + // 可用区配置,开启容灾情况下最多有两个,顺序和pipeline 0、1对应,否则最多只有一个可用区。 + Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` } type DescribeInputHLSPullSettings struct { @@ -6801,6 +6808,9 @@ type DescribeOutput struct { // 绑定的安全组 ID。 // 注意:此字段可能返回 null,表示取不到有效值。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` + + // 可用区,output目前最多只支持一个。 + Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` } type DescribeOutputHLSPullServerUrl struct { @@ -9936,11 +9946,16 @@ type LiveActivityResItem struct { // 直播录制任务输出 // 注意:此字段可能返回 null,表示取不到有效值。 LiveRecordTask *LiveScheduleLiveRecordTaskResult `json:"LiveRecordTask,omitnil,omitempty" name:"LiveRecordTask"` + + // 媒体质检任务输出 + // 注意:此字段可能返回 null,表示取不到有效值。 + LiveQualityControlTask *ScheduleQualityControlTaskResult `json:"LiveQualityControlTask,omitnil,omitempty" name:"LiveQualityControlTask"` } type LiveActivityResult struct { // 原子任务类型。 //
  • LiveRecord:直播录制。
  • + //
  • AiQualityControl:媒体质检。
  • // 注意:此字段可能返回 null,表示取不到有效值。 ActivityType *string `json:"ActivityType,omitnil,omitempty" name:"ActivityType"` @@ -12083,6 +12098,9 @@ type ModifyInput struct { // 绑定的输入安全组 ID。 仅支持关联一组安全组。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"` + + // 可用区,非必填,最多支持输入两个可用区,对于需改接口,只要第二个可用区会参与到资源分配。如果input开启容灾或者涉及RTSP_PULL协议切换时有效(会重新分配地址)。 + Zones []*string `json:"Zones,omitnil,omitempty" name:"Zones"` } type ModifyOutputInfo struct { @@ -13810,7 +13828,7 @@ type ProcessLiveStreamRequestParams struct { // 视频内容分析类型任务参数。 AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil,omitempty" name:"AiAnalysisTask"` - // 视频内容质检类型任务参数。 + // 媒体质检类型任务参数。 AiQualityControlTask *AiQualityControlTaskInput `json:"AiQualityControlTask,omitnil,omitempty" name:"AiQualityControlTask"` // 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 @@ -13851,7 +13869,7 @@ type ProcessLiveStreamRequest struct { // 视频内容分析类型任务参数。 AiAnalysisTask *AiAnalysisTaskInput `json:"AiAnalysisTask,omitnil,omitempty" name:"AiAnalysisTask"` - // 视频内容质检类型任务参数。 + // 媒体质检类型任务参数。 AiQualityControlTask *AiQualityControlTaskInput `json:"AiQualityControlTask,omitnil,omitempty" name:"AiQualityControlTask"` // 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 @@ -13956,7 +13974,7 @@ type ProcessMediaRequestParams struct { // 视频内容识别类型任务参数。 AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil,omitempty" name:"AiRecognitionTask"` - // 视频质检类型任务参数。 + // 媒体质检类型任务参数。 AiQualityControlTask *AiQualityControlTaskInput `json:"AiQualityControlTask,omitnil,omitempty" name:"AiQualityControlTask"` // 任务的事件通知信息,不填代表不获取事件通知。 @@ -13965,7 +13983,7 @@ type ProcessMediaRequestParams struct { // 任务流的优先级,数值越大优先级越高,取值范围是-10到 10,不填代表0。 TasksPriority *int64 `json:"TasksPriority,omitnil,omitempty" name:"TasksPriority"` - // 用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 + // 用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不传该参数或者参数为空字符串则本次请求不做去重操作。 SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` // 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。 @@ -14012,7 +14030,7 @@ type ProcessMediaRequest struct { // 视频内容识别类型任务参数。 AiRecognitionTask *AiRecognitionTaskInput `json:"AiRecognitionTask,omitnil,omitempty" name:"AiRecognitionTask"` - // 视频质检类型任务参数。 + // 媒体质检类型任务参数。 AiQualityControlTask *AiQualityControlTaskInput `json:"AiQualityControlTask,omitnil,omitempty" name:"AiQualityControlTask"` // 任务的事件通知信息,不填代表不获取事件通知。 @@ -14021,7 +14039,7 @@ type ProcessMediaRequest struct { // 任务流的优先级,数值越大优先级越高,取值范围是-10到 10,不填代表0。 TasksPriority *int64 `json:"TasksPriority,omitnil,omitempty" name:"TasksPriority"` - // 用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。 + // 用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不传该参数或者参数为空字符串则本次请求不做去重操作。 SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` // 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。 @@ -14173,7 +14191,7 @@ type QualityControlData struct { // 注意:此字段可能返回 null,表示取不到有效值。 QualityEvaluationScore *int64 `json:"QualityEvaluationScore,omitnil,omitempty" name:"QualityEvaluationScore"` - // 质检检出异常项。 + // 内容质检检出异常项。 // 注意:此字段可能返回 null,表示取不到有效值。 QualityControlResultSet []*QualityControlResult `json:"QualityControlResultSet,omitnil,omitempty" name:"QualityControlResultSet"` } @@ -14730,10 +14748,10 @@ type ScheduleQualityControlTaskResult struct { // 错误信息。 Message *string `json:"Message,omitnil,omitempty" name:"Message"` - // 质检任务的输入。 + // 媒体质检任务的输入。 Input *AiQualityControlTaskInput `json:"Input,omitnil,omitempty" name:"Input"` - // 质检任务的输出。 + // 媒体质检任务的输出。 // 注意:此字段可能返回 null,表示取不到有效值。 Output *QualityControlData `json:"Output,omitnil,omitempty" name:"Output"` } @@ -15391,7 +15409,6 @@ type TerrorismImgReviewTemplateInfo struct { //
  • militant:武装分子;
  • //
  • explosion:爆炸火灾;
  • //
  • terrorists:涉敏人物;
  • - //
  • scenario:涉敏画面。
  • LabelSet []*string `json:"LabelSet,omitnil,omitempty" name:"LabelSet"` // 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规,不填默认为 90 分。取值范围:0~100。 @@ -15416,7 +15433,6 @@ type TerrorismImgReviewTemplateInfoForUpdate struct { //
  • militant:武装分子;
  • //
  • explosion:爆炸火灾;
  • //
  • terrorists:涉敏人物;
  • - //
  • scenario:涉敏画面。
  • LabelSet []*string `json:"LabelSet,omitnil,omitempty" name:"LabelSet"` // 判定涉嫌违规的分数阈值,当智能审核达到该分数以上,认为涉嫌违规。取值范围:0~100。 @@ -15838,14 +15854,13 @@ type VideoTemplateInfo struct { //
  • dnxhd:DNxHD 编码
  • // 注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。 // - // 注意:av1 编码容器目前只支持 mp4 ,webm,mkv,mov。 + // 注意:av1 编码容器目前只支持 mp4 ,webm,mkv。 // 注意:H.266 编码容器目前只支持 mp4 ,hls,ts,mov。 // 注意:VP8、VP9编码容器目前只支持webm,mkv。 // 注意:MPEG2、dnxhd 编码容器目前只支持mxf。 Codec *string `json:"Codec,omitnil,omitempty" name:"Codec"` - // 视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。 - // 注意:自适应码率时取值范围是 [0, 60] + // 视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。 注意:自适应码率时取值范围是 [0, 60] Fps *int64 `json:"Fps,omitnil,omitempty" name:"Fps"` // 视频流的码率,取值范围:0 和 [128, 35000],单位:kbps。 @@ -15894,11 +15909,11 @@ type VideoTemplateInfo struct { Vcrf *uint64 `json:"Vcrf,omitnil,omitempty" name:"Vcrf"` // hls 分片类型,可选值 : - //
  • 6:HLS+TS 切片
  • + //
  • 0:HLS+TS 切片
  • //
  • 2:HLS+TS byte range
  • //
  • 7:HLS+MP4 切片
  • //
  • 5:HLS+MP4 byte range
  • - // 默认值:6 + // 默认值:0 // 注意:此字段可能返回 null,表示取不到有效值。 SegmentType *int64 `json:"SegmentType,omitnil,omitempty" name:"SegmentType"` } @@ -15915,14 +15930,14 @@ type VideoTemplateInfoForUpdate struct { //
  • dnxhd:DNxHD 编码
  • // 注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。 // - // 注意:av1 编码容器目前只支持 mp4 ,webm,mkv,mov。 + // 注意:av1 编码容器目前只支持 mp4 ,webm,mkv。 // 注意:H.266 编码容器目前只支持 mp4 ,hls,ts,mov。 // 注意:VP8、VP9编码容器目前只支持webm,mkv。 // 注意:MPEG2、dnxhd 编码容器目前只支持mxf。 // 注意:此字段可能返回 null,表示取不到有效值。 Codec *string `json:"Codec,omitnil,omitempty" name:"Codec"` - // 视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。 + // 视频帧率,取值范围:[0, 120],单位:Hz。 当取值为 0,表示帧率和原始视频保持一致。 // 注意:此字段可能返回 null,表示取不到有效值。 Fps *int64 `json:"Fps,omitnil,omitempty" name:"Fps"` @@ -15975,11 +15990,11 @@ type VideoTemplateInfoForUpdate struct { ContentAdaptStream *uint64 `json:"ContentAdaptStream,omitnil,omitempty" name:"ContentAdaptStream"` // hls 分片类型,可选值: - //
  • 6:HLS+TS 切片
  • + //
  • 0:HLS+TS 切片
  • //
  • 2:HLS+TS byte range
  • //
  • 7:HLS+MP4 切片
  • //
  • 5:HLS+MP4 byte range
  • - // 默认值:6 + // 默认值:0 // 注意:此字段可能返回 null,表示取不到有效值。 SegmentType *int64 `json:"SegmentType,omitnil,omitempty" name:"SegmentType"` } @@ -16240,7 +16255,7 @@ type WorkflowTask struct { // 视频内容识别任务的执行状态与结果。 AiRecognitionResultSet []*AiRecognitionResult `json:"AiRecognitionResultSet,omitnil,omitempty" name:"AiRecognitionResultSet"` - // 视频质检任务的执行状态与结果。 + // 媒体质检任务的执行状态与结果。 // 注意:此字段可能返回 null,表示取不到有效值。 AiQualityControlTaskResult *ScheduleQualityControlTaskResult `json:"AiQualityControlTaskResult,omitnil,omitempty" name:"AiQualityControlTaskResult"` } diff --git a/tencentcloud/mrs/go.mod b/tencentcloud/mrs/go.mod index 6c49dfa4f0..5e8665e3cb 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ms/go.mod b/tencentcloud/ms/go.mod index 2a8a6d2305..16989e350c 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/msp/go.mod b/tencentcloud/msp/go.mod index e8d7f39880..af8e1a5bff 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/mvj/go.mod b/tencentcloud/mvj/go.mod index 1894dbb9aa..64d8ddc920 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/nlp/go.mod b/tencentcloud/nlp/go.mod index 0fab9be4ed..512dacc902 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/npp/go.mod b/tencentcloud/npp/go.mod index e36aaaebe2..b7d5af88b6 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/oceanus/go.mod b/tencentcloud/oceanus/go.mod index 6f7cbf91a7..f521937562 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ocr/go.mod b/tencentcloud/ocr/go.mod index 085e3469a0..a374b61aed 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ocr/v20181119/models.go b/tencentcloud/ocr/v20181119/models.go index d1fbe146c4..fdba205620 100644 --- a/tencentcloud/ocr/v20181119/models.go +++ b/tencentcloud/ocr/v20181119/models.go @@ -639,6 +639,9 @@ type BizLicenseOCRRequestParams struct { // 是否返回告警码,默认为false EnableCopyWarn *bool `json:"EnableCopyWarn,omitnil,omitempty" name:"EnableCopyWarn"` + + // 是否返回自动拼接的有效期,默认为true + EnablePeriodComplete *bool `json:"EnablePeriodComplete,omitnil,omitempty" name:"EnablePeriodComplete"` } type BizLicenseOCRRequest struct { @@ -659,6 +662,9 @@ type BizLicenseOCRRequest struct { // 是否返回告警码,默认为false EnableCopyWarn *bool `json:"EnableCopyWarn,omitnil,omitempty" name:"EnableCopyWarn"` + + // 是否返回自动拼接的有效期,默认为true + EnablePeriodComplete *bool `json:"EnablePeriodComplete,omitnil,omitempty" name:"EnablePeriodComplete"` } func (r *BizLicenseOCRRequest) ToJsonString() string { @@ -676,6 +682,7 @@ func (r *BizLicenseOCRRequest) FromJsonString(s string) error { delete(f, "ImageBase64") delete(f, "ImageUrl") delete(f, "EnableCopyWarn") + delete(f, "EnablePeriodComplete") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "BizLicenseOCRRequest has unknown keys!", "") } @@ -11094,6 +11101,9 @@ type TrainTicket struct { // 是否有退票费标识(0:没有,1:有) RefundMark *int64 `json:"RefundMark,omitnil,omitempty" name:"RefundMark"` + + // 是否有改签费标识(0:没有,1:有) + TicketChangeMark *int64 `json:"TicketChangeMark,omitnil,omitempty" name:"TicketChangeMark"` } // Predefined struct for user diff --git a/tencentcloud/omics/go.mod b/tencentcloud/omics/go.mod index e078cc1248..1c249f45a0 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/organization/go.mod b/tencentcloud/organization/go.mod index fc73f177a4..43705b8e65 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/partners/go.mod b/tencentcloud/partners/go.mod index 36574ba203..2e1f998d77 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/pds/go.mod b/tencentcloud/pds/go.mod index 0c313738ff..4ec3769536 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/postgres/go.mod b/tencentcloud/postgres/go.mod index 95e56a11ee..46b0365367 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/privatedns/go.mod b/tencentcloud/privatedns/go.mod index 8aea52d30d..8260bba91d 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/pts/go.mod b/tencentcloud/pts/go.mod index a96a0b3bf8..b1f4518002 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/rce/go.mod b/tencentcloud/rce/go.mod index 94da49a0ba..3332c4c7db 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/redis/go.mod b/tencentcloud/redis/go.mod index bafae988e7..ef2cd24b66 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/region/go.mod b/tencentcloud/region/go.mod index 6f12be91f1..5d4442f87e 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/rkp/go.mod b/tencentcloud/rkp/go.mod index 0c2edb3c12..eb6833d0c7 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/rp/go.mod b/tencentcloud/rp/go.mod index 8330a2c035..1fbb474163 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/rum/go.mod b/tencentcloud/rum/go.mod index 2f9689a53c..141987757a 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/scf/go.mod b/tencentcloud/scf/go.mod index ca27043b48..5d8c3b5e04 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/scf/v20180416/client.go b/tencentcloud/scf/v20180416/client.go index 9bddb9847c..9458601e6e 100644 --- a/tencentcloud/scf/v20180416/client.go +++ b/tencentcloud/scf/v20180416/client.go @@ -862,6 +862,7 @@ func NewDeleteFunctionResponse() (response *DeleteFunctionResponse) { // FAILEDOPERATION_FUNCTIONSTATUSERROR = "FailedOperation.FunctionStatusError" // FAILEDOPERATION_PROVISIONEDINPROGRESS = "FailedOperation.ProvisionedInProgress" // INTERNALERROR_CMQ = "InternalError.Cmq" +// INTERNALERROR_GETSTSTOKENFAILED = "InternalError.GetStsTokenFailed" // INTERNALERROR_SYSTEM = "InternalError.System" // INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload" // INVALIDPARAMETERVALUE = "InvalidParameterValue" @@ -892,6 +893,7 @@ func (c *Client) DeleteFunction(request *DeleteFunctionRequest) (response *Delet // FAILEDOPERATION_FUNCTIONSTATUSERROR = "FailedOperation.FunctionStatusError" // FAILEDOPERATION_PROVISIONEDINPROGRESS = "FailedOperation.ProvisionedInProgress" // INTERNALERROR_CMQ = "InternalError.Cmq" +// INTERNALERROR_GETSTSTOKENFAILED = "InternalError.GetStsTokenFailed" // INTERNALERROR_SYSTEM = "InternalError.System" // INVALIDPARAMETER_PAYLOAD = "InvalidParameter.Payload" // INVALIDPARAMETERVALUE = "InvalidParameterValue" diff --git a/tencentcloud/ses/go.mod b/tencentcloud/ses/go.mod index b42f0d37ad..f91bfba92c 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/smh/go.mod b/tencentcloud/smh/go.mod index 60daf8b9c1..fb53686c6f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/smop/go.mod b/tencentcloud/smop/go.mod index 4371ff31f6..78cc7a1879 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/smpn/go.mod b/tencentcloud/smpn/go.mod index bc2ad6f007..7ad284047e 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/sms/go.mod b/tencentcloud/sms/go.mod index 3563444b75..bad0212798 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/soe/go.mod b/tencentcloud/soe/go.mod index c15a3e8932..4bd29aba15 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/solar/go.mod b/tencentcloud/solar/go.mod index e3dc940a92..bc79edae6f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/sqlserver/go.mod b/tencentcloud/sqlserver/go.mod index 9897b4bfde..e27cbff665 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ssa/go.mod b/tencentcloud/ssa/go.mod index 2839d64347..a28f4b2d12 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ssl/go.mod b/tencentcloud/ssl/go.mod index 84b6e404cb..2f8206d7c0 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ssl/v20191205/client.go b/tencentcloud/ssl/v20191205/client.go index d9baf41a36..0bb692701b 100644 --- a/tencentcloud/ssl/v20191205/client.go +++ b/tencentcloud/ssl/v20191205/client.go @@ -693,6 +693,61 @@ func (c *Client) DeleteCertificateWithContext(ctx context.Context, request *Dele return } +func NewDeleteCertificatesRequest() (request *DeleteCertificatesRequest) { + request = &DeleteCertificatesRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("ssl", APIVersion, "DeleteCertificates") + + + return +} + +func NewDeleteCertificatesResponse() (response *DeleteCertificatesResponse) { + response = &DeleteCertificatesResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DeleteCertificates +// 批量删除证书,删除证书前支持查询证书是否关联了腾讯云云资源 (需自定义配置参数,参数名称:IsSync) +// +// 可能返回的错误码: +// AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" +// FAILEDOPERATION_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason" +func (c *Client) DeleteCertificates(request *DeleteCertificatesRequest) (response *DeleteCertificatesResponse, err error) { + return c.DeleteCertificatesWithContext(context.Background(), request) +} + +// DeleteCertificates +// 批量删除证书,删除证书前支持查询证书是否关联了腾讯云云资源 (需自定义配置参数,参数名称:IsSync) +// +// 可能返回的错误码: +// AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" +// FAILEDOPERATION_CAMAUTHORIZEDFAIL = "FailedOperation.CAMAuthorizedFail" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETER_WITHDETAILREASON = "InvalidParameter.WithDetailReason" +func (c *Client) DeleteCertificatesWithContext(ctx context.Context, request *DeleteCertificatesRequest) (response *DeleteCertificatesResponse, err error) { + if request == nil { + request = NewDeleteCertificatesRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DeleteCertificates require credential") + } + + request.SetContext(ctx) + + response = NewDeleteCertificatesResponse() + err = c.Send(request, response) + return +} + func NewDeleteManagerRequest() (request *DeleteManagerRequest) { request = &DeleteManagerRequest{ BaseRequest: &tchttp.BaseRequest{}, diff --git a/tencentcloud/ssl/v20191205/models.go b/tencentcloud/ssl/v20191205/models.go index bf781b2ddc..0d7bee0ae4 100644 --- a/tencentcloud/ssl/v20191205/models.go +++ b/tencentcloud/ssl/v20191205/models.go @@ -209,6 +209,16 @@ func (r *ApplyCertificateResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +type BatchDeleteFail struct { + // 失败的证书ID + // 注意:此字段可能返回 null,表示取不到有效值。 + CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"` + + // 失败的原因 + // 注意:此字段可能返回 null,表示取不到有效值。 + Msg *string `json:"Msg,omitnil,omitempty" name:"Msg"` +} + type BindResourceRegionResult struct { // 地域 // 注意:此字段可能返回 null,表示取不到有效值。 @@ -1375,6 +1385,66 @@ func (r *DeleteCertificateResponse) FromJsonString(s string) error { return json.Unmarshal([]byte(s), &r) } +// Predefined struct for user +type DeleteCertificatesRequestParams struct { + +} + +type DeleteCertificatesRequest struct { + *tchttp.BaseRequest + +} + +func (r *DeleteCertificatesRequest) 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 *DeleteCertificatesRequest) 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", "DeleteCertificatesRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DeleteCertificatesResponseParams struct { + // 成功的ID + Success []*string `json:"Success,omitnil,omitempty" name:"Success"` + + // 失败的ID和原因 + Fail []*BatchDeleteFail `json:"Fail,omitnil,omitempty" name:"Fail"` + + // 证书ID和异步任务的ID + CertTaskIds []*CertTaskId `json:"CertTaskIds,omitnil,omitempty" name:"CertTaskIds"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DeleteCertificatesResponse struct { + *tchttp.BaseResponse + Response *DeleteCertificatesResponseParams `json:"Response"` +} + +func (r *DeleteCertificatesResponse) 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 *DeleteCertificatesResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + // Predefined struct for user type DeleteManagerRequestParams struct { // 管理人ID diff --git a/tencentcloud/sslpod/go.mod b/tencentcloud/sslpod/go.mod index 36f1cdf441..cf76c79a5f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ssm/go.mod b/tencentcloud/ssm/go.mod index f3719e92e6..d3633809ae 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/sts/go.mod b/tencentcloud/sts/go.mod index a14a9d8074..d7ca268f1c 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/svp/go.mod b/tencentcloud/svp/go.mod index e93f4e052e..010ff1dd8f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/taf/go.mod b/tencentcloud/taf/go.mod index 06f7320afa..19e31338eb 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tag/go.mod b/tencentcloud/tag/go.mod index 14ff6795ed..9eadcdea92 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tan/go.mod b/tencentcloud/tan/go.mod index 444f76da34..6f1f536b8f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tat/go.mod b/tencentcloud/tat/go.mod index 1e0e309570..98a798526d 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tav/go.mod b/tencentcloud/tav/go.mod index f1c4377445..ce736ec180 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tbaas/go.mod b/tencentcloud/tbaas/go.mod index 25eff5358c..ca15f95ca5 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tbm/go.mod b/tencentcloud/tbm/go.mod index a48e9ea9d4..c4fbb0b9ef 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tbp/go.mod b/tencentcloud/tbp/go.mod index b227a3f71c..0b0cd0ab33 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tcaplusdb/go.mod b/tencentcloud/tcaplusdb/go.mod index 6a79ead7c3..ab32d88819 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tcb/go.mod b/tencentcloud/tcb/go.mod index 13069311f0..d28d202781 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tcbr/go.mod b/tencentcloud/tcbr/go.mod index a712294c03..70b16a139f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tcex/go.mod b/tencentcloud/tcex/go.mod index 5e95a2bcbd..4a5d2e1064 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tchd/go.mod b/tencentcloud/tchd/go.mod index 84c7ea0c2e..095eca5a9e 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tci/go.mod b/tencentcloud/tci/go.mod index dbe63206de..2d649cece6 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tcm/go.mod b/tencentcloud/tcm/go.mod index 68d103f51c..96b561d111 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tcr/go.mod b/tencentcloud/tcr/go.mod index 495de09882..3fd81c67a8 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tcss/go.mod b/tencentcloud/tcss/go.mod index b75c9932d5..50b31f1875 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tdcpg/go.mod b/tencentcloud/tdcpg/go.mod index 3261e5ec1b..7aae5afd7b 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tdid/go.mod b/tencentcloud/tdid/go.mod index 123c40d999..6f6d2776ce 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tdmq/go.mod b/tencentcloud/tdmq/go.mod index e708cc46cf..14ecef8977 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tdmq/v20200217/models.go b/tencentcloud/tdmq/v20200217/models.go index 3351dc7591..6cf79e054c 100644 --- a/tencentcloud/tdmq/v20200217/models.go +++ b/tencentcloud/tdmq/v20200217/models.go @@ -1685,11 +1685,26 @@ type CreateRabbitMQVipInstanceRequestParams struct { // 镜像队列,不传默认为false EnableCreateDefaultHaMirrorQueue *bool `json:"EnableCreateDefaultHaMirrorQueue,omitnil,omitempty" name:"EnableCreateDefaultHaMirrorQueue"` - // 自动续费,不传默认为true + // 预付费使用。自动续费,不传默认为true AutoRenewFlag *bool `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 购买时长,不传默认为1(月) TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` + + // 付费方式,0 为后付费,即按量计费;1 为预付费,即包年包月。默认包年包月 + PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` + + // 集群版本,不传默认为 3.8.30,可选值为 3.8.30 和 3.11.8 + ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"` + + // 是否国际站请求,默认 false + IsIntl *bool `json:"IsIntl,omitnil,omitempty" name:"IsIntl"` + + // 资源标签列表 + ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` + + // 公网带宽大小,单位 M + Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"` } type CreateRabbitMQVipInstanceRequest struct { @@ -1719,11 +1734,26 @@ type CreateRabbitMQVipInstanceRequest struct { // 镜像队列,不传默认为false EnableCreateDefaultHaMirrorQueue *bool `json:"EnableCreateDefaultHaMirrorQueue,omitnil,omitempty" name:"EnableCreateDefaultHaMirrorQueue"` - // 自动续费,不传默认为true + // 预付费使用。自动续费,不传默认为true AutoRenewFlag *bool `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 购买时长,不传默认为1(月) TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"` + + // 付费方式,0 为后付费,即按量计费;1 为预付费,即包年包月。默认包年包月 + PayMode *uint64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` + + // 集群版本,不传默认为 3.8.30,可选值为 3.8.30 和 3.11.8 + ClusterVersion *string `json:"ClusterVersion,omitnil,omitempty" name:"ClusterVersion"` + + // 是否国际站请求,默认 false + IsIntl *bool `json:"IsIntl,omitnil,omitempty" name:"IsIntl"` + + // 资源标签列表 + ResourceTags []*Tag `json:"ResourceTags,omitnil,omitempty" name:"ResourceTags"` + + // 公网带宽大小,单位 M + Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"` } func (r *CreateRabbitMQVipInstanceRequest) ToJsonString() string { @@ -1748,6 +1778,11 @@ func (r *CreateRabbitMQVipInstanceRequest) FromJsonString(s string) error { delete(f, "EnableCreateDefaultHaMirrorQueue") delete(f, "AutoRenewFlag") delete(f, "TimeSpan") + delete(f, "PayMode") + delete(f, "ClusterVersion") + delete(f, "IsIntl") + delete(f, "ResourceTags") + delete(f, "Bandwidth") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "CreateRabbitMQVipInstanceRequest has unknown keys!", "") } @@ -3304,6 +3339,9 @@ func (r *DeleteRabbitMQUserResponse) FromJsonString(s string) error { type DeleteRabbitMQVipInstanceRequestParams struct { // 实例Id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 是否国际站请求,默认 false + IsIntl *bool `json:"IsIntl,omitnil,omitempty" name:"IsIntl"` } type DeleteRabbitMQVipInstanceRequest struct { @@ -3311,6 +3349,9 @@ type DeleteRabbitMQVipInstanceRequest struct { // 实例Id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` + + // 是否国际站请求,默认 false + IsIntl *bool `json:"IsIntl,omitnil,omitempty" name:"IsIntl"` } func (r *DeleteRabbitMQVipInstanceRequest) ToJsonString() string { @@ -3326,6 +3367,7 @@ func (r *DeleteRabbitMQVipInstanceRequest) FromJsonString(s string) error { return err } delete(f, "InstanceId") + delete(f, "IsIntl") if len(f) > 0 { return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "DeleteRabbitMQVipInstanceRequest has unknown keys!", "") } @@ -12847,6 +12889,14 @@ type RabbitMQUser struct { // 用户类型,System:系统创建,User:用户创建 Type *string `json:"Type,omitnil,omitempty" name:"Type"` + + // 单个用户最大可用连接数 + // 注意:此字段可能返回 null,表示取不到有效值。 + MaxConnections *int64 `json:"MaxConnections,omitnil,omitempty" name:"MaxConnections"` + + // 单个用户最大可用通道数 + // 注意:此字段可能返回 null,表示取不到有效值。 + MaxChannels *int64 `json:"MaxChannels,omitnil,omitempty" name:"MaxChannels"` } type RabbitMQVipInstance struct { @@ -12909,6 +12959,10 @@ type RabbitMQVipInstance struct { // VPC 接入点列表 // 注意:此字段可能返回 null,表示取不到有效值。 Vpcs []*VpcEndpointInfo `json:"Vpcs,omitnil,omitempty" name:"Vpcs"` + + // 创建时间,毫秒为单位 + // 注意:此字段可能返回 null,表示取不到有效值。 + CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` } type RabbitMQVirtualHostInfo struct { @@ -13677,6 +13731,26 @@ type RocketMQInstanceConfig struct { // 每个主题最大队列数 // 注意:此字段可能返回 null,表示取不到有效值。 MaxQueuesPerTopic *uint64 `json:"MaxQueuesPerTopic,omitnil,omitempty" name:"MaxQueuesPerTopic"` + + // 最大可设置消息保留时间,小时为单位 + // 注意:此字段可能返回 null,表示取不到有效值。 + MaxRetention *int64 `json:"MaxRetention,omitnil,omitempty" name:"MaxRetention"` + + // 最小可设置消息保留时间,小时为单位 + // 注意:此字段可能返回 null,表示取不到有效值。 + MinRetention *int64 `json:"MinRetention,omitnil,omitempty" name:"MinRetention"` + + // 实例消息保留时间,小时为单位 + // 注意:此字段可能返回 null,表示取不到有效值。 + Retention *int64 `json:"Retention,omitnil,omitempty" name:"Retention"` + + // Topic个数最小配额,即免费额度,默认为集群规格单节点最小配额*节点个数 + // 注意:此字段可能返回 null,表示取不到有效值。 + TopicNumLowerLimit *int64 `json:"TopicNumLowerLimit,omitnil,omitempty" name:"TopicNumLowerLimit"` + + // Topic个数最大配额,默认为集群规格单节点最大配额*节点个数 + // 注意:此字段可能返回 null,表示取不到有效值。 + TopicNumUpperLimit *int64 `json:"TopicNumUpperLimit,omitnil,omitempty" name:"TopicNumUpperLimit"` } type RocketMQMessageTrack struct { diff --git a/tencentcloud/tds/go.mod b/tencentcloud/tds/go.mod index c15b297be1..d3b8eca4d1 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tem/go.mod b/tencentcloud/tem/go.mod index 214d03e933..005cde6b4e 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/teo/go.mod b/tencentcloud/teo/go.mod index 4bae3866eb..1af4476cfa 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/thpc/go.mod b/tencentcloud/thpc/go.mod index f6e7c293a8..7c9eb67970 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tia/go.mod b/tencentcloud/tia/go.mod index b34e29cc12..25096a1c06 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tic/go.mod b/tencentcloud/tic/go.mod index 42ec4f7ca9..35565729c0 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ticm/go.mod b/tencentcloud/ticm/go.mod index 1b022eb53d..e6283dd3f2 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tics/go.mod b/tencentcloud/tics/go.mod index 0d90c9dd13..a501cc177b 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tiems/go.mod b/tencentcloud/tiems/go.mod index c5836af533..a942fdd7fc 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tiia/go.mod b/tencentcloud/tiia/go.mod index 1461945a9d..5974786450 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tione/go.mod b/tencentcloud/tione/go.mod index afd719c759..12557c2705 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tiw/go.mod b/tencentcloud/tiw/go.mod index b92a7d7109..88e65ba227 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tke/go.mod b/tencentcloud/tke/go.mod index bc2eb3a2e9..6634fc1333 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tkgdq/go.mod b/tencentcloud/tkgdq/go.mod index 45e4939544..ea460a41df 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tms/go.mod b/tencentcloud/tms/go.mod index a34173587a..dac652be02 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tmt/go.mod b/tencentcloud/tmt/go.mod index 5e4ec025b7..7f0485ca1d 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tourism/go.mod b/tencentcloud/tourism/go.mod index a78d7ca77c..4640527263 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/trdp/go.mod b/tencentcloud/trdp/go.mod index 7c984244bb..8abb570c61 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/trocket/go.mod b/tencentcloud/trocket/go.mod index 149e31ae0f..823fccb979 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/trp/go.mod b/tencentcloud/trp/go.mod index 0f2bbb0371..e8862ad546 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/trro/go.mod b/tencentcloud/trro/go.mod index 0c060ec956..c920faede9 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/trtc/go.mod b/tencentcloud/trtc/go.mod index ef20b508c1..7313013929 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tse/go.mod b/tencentcloud/tse/go.mod index d16d1a5b87..5d72fb29a3 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tsf/go.mod b/tencentcloud/tsf/go.mod index fa7578bfac..6e916d74c8 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tsi/go.mod b/tencentcloud/tsi/go.mod index 8858016c2c..800bc89d88 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tsw/go.mod b/tencentcloud/tsw/go.mod index dd7e3c1622..7c77b5cbf9 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/tts/go.mod b/tencentcloud/tts/go.mod index 281f025345..279fb72d95 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/ump/go.mod b/tencentcloud/ump/go.mod index fe374971b7..cad2440dc9 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/vcg/go.mod b/tencentcloud/vcg/go.mod index f0217f00d3..56c88a01fa 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/vclm/doc.go b/tencentcloud/vclm/doc.go new file mode 100644 index 0000000000..67693c9381 --- /dev/null +++ b/tencentcloud/vclm/doc.go @@ -0,0 +1,2 @@ +// Package doc +package doc \ No newline at end of file diff --git a/tencentcloud/vclm/go.mod b/tencentcloud/vclm/go.mod new file mode 100644 index 0000000000..0aafb52001 --- /dev/null +++ b/tencentcloud/vclm/go.mod @@ -0,0 +1,5 @@ +module github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vclm + +go 1.14 + +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/vclm/v20240523/client.go b/tencentcloud/vclm/v20240523/client.go new file mode 100644 index 0000000000..1b7fe50e9b --- /dev/null +++ b/tencentcloud/vclm/v20240523/client.go @@ -0,0 +1,539 @@ +// Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package v20240523 + +import ( + "context" + "errors" + "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common" + tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http" + "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/profile" +) + +const APIVersion = "2024-05-23" + +type Client struct { + common.Client +} + +// Deprecated +func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error) { + cpf := profile.NewClientProfile() + client = &Client{} + client.Init(region).WithSecretId(secretId, secretKey).WithProfile(cpf) + return +} + +func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error) { + client = &Client{} + client.Init(region). + WithCredential(credential). + WithProfile(clientProfile) + return +} + + +func NewConfirmVideoTranslateJobRequest() (request *ConfirmVideoTranslateJobRequest) { + request = &ConfirmVideoTranslateJobRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("vclm", APIVersion, "ConfirmVideoTranslateJob") + + + return +} + +func NewConfirmVideoTranslateJobResponse() (response *ConfirmVideoTranslateJobResponse) { + response = &ConfirmVideoTranslateJobResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// ConfirmVideoTranslateJob +// 确认视频转译结果 +// +// 可能返回的错误码: +// FAILEDOPERATION_AUDIOPROCESSNOTFINISHED = "FailedOperation.AudioProcessNotFinished" +// FAILEDOPERATION_CONFIRMTASKEXCEPTION = "FailedOperation.ConfirmTaskException" +// FAILEDOPERATION_JOBNOTEXIST = "FailedOperation.JobNotExist" +// FAILEDOPERATION_TEXTMODERATIONNOTPASS = "FailedOperation.TextModerationNotPass" +// FAILEDOPERATION_TRANSLATIONCONFIRMHASFINISHED = "FailedOperation.TranslationConfirmHasFinished" +// FAILEDOPERATION_TRANSLATIONNOTNEEDCONFIRM = "FailedOperation.TranslationNotNeedConfirm" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +func (c *Client) ConfirmVideoTranslateJob(request *ConfirmVideoTranslateJobRequest) (response *ConfirmVideoTranslateJobResponse, err error) { + return c.ConfirmVideoTranslateJobWithContext(context.Background(), request) +} + +// ConfirmVideoTranslateJob +// 确认视频转译结果 +// +// 可能返回的错误码: +// FAILEDOPERATION_AUDIOPROCESSNOTFINISHED = "FailedOperation.AudioProcessNotFinished" +// FAILEDOPERATION_CONFIRMTASKEXCEPTION = "FailedOperation.ConfirmTaskException" +// FAILEDOPERATION_JOBNOTEXIST = "FailedOperation.JobNotExist" +// FAILEDOPERATION_TEXTMODERATIONNOTPASS = "FailedOperation.TextModerationNotPass" +// FAILEDOPERATION_TRANSLATIONCONFIRMHASFINISHED = "FailedOperation.TranslationConfirmHasFinished" +// FAILEDOPERATION_TRANSLATIONNOTNEEDCONFIRM = "FailedOperation.TranslationNotNeedConfirm" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +func (c *Client) ConfirmVideoTranslateJobWithContext(ctx context.Context, request *ConfirmVideoTranslateJobRequest) (response *ConfirmVideoTranslateJobResponse, err error) { + if request == nil { + request = NewConfirmVideoTranslateJobRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("ConfirmVideoTranslateJob require credential") + } + + request.SetContext(ctx) + + response = NewConfirmVideoTranslateJobResponse() + err = c.Send(request, response) + return +} + +func NewDescribeImageAnimateJobRequest() (request *DescribeImageAnimateJobRequest) { + request = &DescribeImageAnimateJobRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("vclm", APIVersion, "DescribeImageAnimateJob") + + + return +} + +func NewDescribeImageAnimateJobResponse() (response *DescribeImageAnimateJobResponse) { + response = &DescribeImageAnimateJobResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeImageAnimateJob +// 用于查询图片跳舞任务。图片跳舞能力支持舞蹈动作结合图片生成跳舞视频,满足社交娱乐、互动营销等场景的需求。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION_JOBNOTFOUND = "FailedOperation.JobNotFound" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +func (c *Client) DescribeImageAnimateJob(request *DescribeImageAnimateJobRequest) (response *DescribeImageAnimateJobResponse, err error) { + return c.DescribeImageAnimateJobWithContext(context.Background(), request) +} + +// DescribeImageAnimateJob +// 用于查询图片跳舞任务。图片跳舞能力支持舞蹈动作结合图片生成跳舞视频,满足社交娱乐、互动营销等场景的需求。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION_JOBNOTFOUND = "FailedOperation.JobNotFound" +// INTERNALERROR = "InternalError" +// INVALIDPARAMETER = "InvalidParameter" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// UNAUTHORIZEDOPERATION = "UnauthorizedOperation" +func (c *Client) DescribeImageAnimateJobWithContext(ctx context.Context, request *DescribeImageAnimateJobRequest) (response *DescribeImageAnimateJobResponse, err error) { + if request == nil { + request = NewDescribeImageAnimateJobRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeImageAnimateJob require credential") + } + + request.SetContext(ctx) + + response = NewDescribeImageAnimateJobResponse() + err = c.Send(request, response) + return +} + +func NewDescribeVideoStylizationJobRequest() (request *DescribeVideoStylizationJobRequest) { + request = &DescribeVideoStylizationJobRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("vclm", APIVersion, "DescribeVideoStylizationJob") + + + return +} + +func NewDescribeVideoStylizationJobResponse() (response *DescribeVideoStylizationJobResponse) { + response = &DescribeVideoStylizationJobResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeVideoStylizationJob +// 用于查询视频风格化任务。视频风格化支持将输入视频生成特定风格的视频。生成后的视频画面风格多样、流畅自然,能够满足社交娱乐、互动营销、视频素材制作等场景的需求。 +// +// 可能返回的错误码: +// FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError" +// FAILEDOPERATION_TASKNOTEXIST = "FailedOperation.TaskNotExist" +// FAILEDOPERATION_TASKSTATUSERROR = "FailedOperation.TaskStatusError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" +func (c *Client) DescribeVideoStylizationJob(request *DescribeVideoStylizationJobRequest) (response *DescribeVideoStylizationJobResponse, err error) { + return c.DescribeVideoStylizationJobWithContext(context.Background(), request) +} + +// DescribeVideoStylizationJob +// 用于查询视频风格化任务。视频风格化支持将输入视频生成特定风格的视频。生成后的视频画面风格多样、流畅自然,能够满足社交娱乐、互动营销、视频素材制作等场景的需求。 +// +// 可能返回的错误码: +// FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError" +// FAILEDOPERATION_TASKNOTEXIST = "FailedOperation.TaskNotExist" +// FAILEDOPERATION_TASKSTATUSERROR = "FailedOperation.TaskStatusError" +// INVALIDPARAMETERVALUE = "InvalidParameterValue" +// INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError" +// REQUESTLIMITEXCEEDED = "RequestLimitExceeded" +// RESOURCEINSUFFICIENT = "ResourceInsufficient" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" +func (c *Client) DescribeVideoStylizationJobWithContext(ctx context.Context, request *DescribeVideoStylizationJobRequest) (response *DescribeVideoStylizationJobResponse, err error) { + if request == nil { + request = NewDescribeVideoStylizationJobRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeVideoStylizationJob require credential") + } + + request.SetContext(ctx) + + response = NewDescribeVideoStylizationJobResponse() + err = c.Send(request, response) + return +} + +func NewDescribeVideoTranslateJobRequest() (request *DescribeVideoTranslateJobRequest) { + request = &DescribeVideoTranslateJobRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("vclm", APIVersion, "DescribeVideoTranslateJob") + + + return +} + +func NewDescribeVideoTranslateJobResponse() (response *DescribeVideoTranslateJobResponse) { + response = &DescribeVideoTranslateJobResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// DescribeVideoTranslateJob +// 查询视频翻译任务 +// +// 可能返回的错误码: +// FAILEDOPERATION_AUDIOPROCESSFAILED = "FailedOperation.AudioProcessFailed" +// FAILEDOPERATION_JOBNOTEXIST = "FailedOperation.JobNotExist" +// FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// REQUESTLIMITEXCEEDED_UINLIMITEXCEEDED = "RequestLimitExceeded.UinLimitExceeded" +// RESOURCEUNAVAILABLE_DELIVERING = "ResourceUnavailable.Delivering" +// RESOURCEUNAVAILABLE_ISOPENING = "ResourceUnavailable.IsOpening" +// RESOURCEUNAVAILABLE_LOWBALANCE = "ResourceUnavailable.LowBalance" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" +// RESOURCEUNAVAILABLE_NOTREADY = "ResourceUnavailable.NotReady" +// RESOURCEUNAVAILABLE_RECOVER = "ResourceUnavailable.Recover" +// RESOURCEUNAVAILABLE_UNKNOWNSTATUS = "ResourceUnavailable.UnknownStatus" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" +func (c *Client) DescribeVideoTranslateJob(request *DescribeVideoTranslateJobRequest) (response *DescribeVideoTranslateJobResponse, err error) { + return c.DescribeVideoTranslateJobWithContext(context.Background(), request) +} + +// DescribeVideoTranslateJob +// 查询视频翻译任务 +// +// 可能返回的错误码: +// FAILEDOPERATION_AUDIOPROCESSFAILED = "FailedOperation.AudioProcessFailed" +// FAILEDOPERATION_JOBNOTEXIST = "FailedOperation.JobNotExist" +// FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// REQUESTLIMITEXCEEDED_UINLIMITEXCEEDED = "RequestLimitExceeded.UinLimitExceeded" +// RESOURCEUNAVAILABLE_DELIVERING = "ResourceUnavailable.Delivering" +// RESOURCEUNAVAILABLE_ISOPENING = "ResourceUnavailable.IsOpening" +// RESOURCEUNAVAILABLE_LOWBALANCE = "ResourceUnavailable.LowBalance" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" +// RESOURCEUNAVAILABLE_NOTREADY = "ResourceUnavailable.NotReady" +// RESOURCEUNAVAILABLE_RECOVER = "ResourceUnavailable.Recover" +// RESOURCEUNAVAILABLE_UNKNOWNSTATUS = "ResourceUnavailable.UnknownStatus" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" +func (c *Client) DescribeVideoTranslateJobWithContext(ctx context.Context, request *DescribeVideoTranslateJobRequest) (response *DescribeVideoTranslateJobResponse, err error) { + if request == nil { + request = NewDescribeVideoTranslateJobRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("DescribeVideoTranslateJob require credential") + } + + request.SetContext(ctx) + + response = NewDescribeVideoTranslateJobResponse() + err = c.Send(request, response) + return +} + +func NewSubmitImageAnimateJobRequest() (request *SubmitImageAnimateJobRequest) { + request = &SubmitImageAnimateJobRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("vclm", APIVersion, "SubmitImageAnimateJob") + + + return +} + +func NewSubmitImageAnimateJobResponse() (response *SubmitImageAnimateJobResponse) { + response = &SubmitImageAnimateJobResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// SubmitImageAnimateJob +// 用于提交图片跳舞任务。图片跳舞能力支持舞蹈动作结合图片生成跳舞视频,满足社交娱乐、互动营销等场景的需求。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION_FACESIZETOOSMALL = "FailedOperation.FaceSizeTooSmall" +// FAILEDOPERATION_IMAGEDECODEFAILED = "FailedOperation.ImageDecodeFailed" +// FAILEDOPERATION_IMAGENOTSUPPORTED = "FailedOperation.ImageNotSupported" +// FAILEDOPERATION_IMAGERESOLUTIONEXCEED = "FailedOperation.ImageResolutionExceed" +// FAILEDOPERATION_IMAGESIZEEXCEED = "FailedOperation.ImageSizeExceed" +// FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError" +// FAILEDOPERATION_JOBQUEUEFULL = "FailedOperation.JobQueueFull" +// FAILEDOPERATION_MODERATIONFAILED = "FailedOperation.ModerationFailed" +// INVALIDPARAMETERVALUE_INVALIDVIDEORESOLUTION = "InvalidParameterValue.InvalidVideoResolution" +// INVALIDPARAMETERVALUE_NOFACEINPHOTO = "InvalidParameterValue.NoFaceInPhoto" +// INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError" +// LIMITEXCEEDED = "LimitExceeded" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) SubmitImageAnimateJob(request *SubmitImageAnimateJobRequest) (response *SubmitImageAnimateJobResponse, err error) { + return c.SubmitImageAnimateJobWithContext(context.Background(), request) +} + +// SubmitImageAnimateJob +// 用于提交图片跳舞任务。图片跳舞能力支持舞蹈动作结合图片生成跳舞视频,满足社交娱乐、互动营销等场景的需求。 +// +// 可能返回的错误码: +// AUTHFAILURE = "AuthFailure" +// FAILEDOPERATION_FACESIZETOOSMALL = "FailedOperation.FaceSizeTooSmall" +// FAILEDOPERATION_IMAGEDECODEFAILED = "FailedOperation.ImageDecodeFailed" +// FAILEDOPERATION_IMAGENOTSUPPORTED = "FailedOperation.ImageNotSupported" +// FAILEDOPERATION_IMAGERESOLUTIONEXCEED = "FailedOperation.ImageResolutionExceed" +// FAILEDOPERATION_IMAGESIZEEXCEED = "FailedOperation.ImageSizeExceed" +// FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError" +// FAILEDOPERATION_JOBQUEUEFULL = "FailedOperation.JobQueueFull" +// FAILEDOPERATION_MODERATIONFAILED = "FailedOperation.ModerationFailed" +// INVALIDPARAMETERVALUE_INVALIDVIDEORESOLUTION = "InvalidParameterValue.InvalidVideoResolution" +// INVALIDPARAMETERVALUE_NOFACEINPHOTO = "InvalidParameterValue.NoFaceInPhoto" +// INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError" +// LIMITEXCEEDED = "LimitExceeded" +// OPERATIONDENIED = "OperationDenied" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// RESOURCENOTFOUND = "ResourceNotFound" +// UNSUPPORTEDOPERATION = "UnsupportedOperation" +func (c *Client) SubmitImageAnimateJobWithContext(ctx context.Context, request *SubmitImageAnimateJobRequest) (response *SubmitImageAnimateJobResponse, err error) { + if request == nil { + request = NewSubmitImageAnimateJobRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("SubmitImageAnimateJob require credential") + } + + request.SetContext(ctx) + + response = NewSubmitImageAnimateJobResponse() + err = c.Send(request, response) + return +} + +func NewSubmitVideoStylizationJobRequest() (request *SubmitVideoStylizationJobRequest) { + request = &SubmitVideoStylizationJobRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("vclm", APIVersion, "SubmitVideoStylizationJob") + + + return +} + +func NewSubmitVideoStylizationJobResponse() (response *SubmitVideoStylizationJobResponse) { + response = &SubmitVideoStylizationJobResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// SubmitVideoStylizationJob +// 用于提交视频风格化任务。支持将输入视频生成特定风格的视频。生成后的视频画面风格多样、流畅自然,能够满足社交娱乐、互动营销、视频素材制作等场景的需求。 +// +// 可能返回的错误码: +// FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownloadError" +// FAILEDOPERATION_VIDEODECODEFAILED = "FailedOperation.VideoDecodeFailed" +// INVALIDPARAMETERVALUE_INVALIDVIDEODURATION = "InvalidParameterValue.InvalidVideoDuration" +// INVALIDPARAMETERVALUE_INVALIDVIDEOFPS = "InvalidParameterValue.InvalidVideoFPS" +// INVALIDPARAMETERVALUE_INVALIDVIDEOFORMAT = "InvalidParameterValue.InvalidVideoFormat" +// INVALIDPARAMETERVALUE_INVALIDVIDEORESOLUTION = "InvalidParameterValue.InvalidVideoResolution" +// INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError" +// INVALIDPARAMETERVALUE_STYLENOTEXIST = "InvalidParameterValue.StyleNotExist" +// INVALIDPARAMETERVALUE_URLILLEGAL = "InvalidParameterValue.UrlIllegal" +// INVALIDPARAMETERVALUE_VIDEOSIZEEXCEED = "InvalidParameterValue.VideoSizeExceed" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" +func (c *Client) SubmitVideoStylizationJob(request *SubmitVideoStylizationJobRequest) (response *SubmitVideoStylizationJobResponse, err error) { + return c.SubmitVideoStylizationJobWithContext(context.Background(), request) +} + +// SubmitVideoStylizationJob +// 用于提交视频风格化任务。支持将输入视频生成特定风格的视频。生成后的视频画面风格多样、流畅自然,能够满足社交娱乐、互动营销、视频素材制作等场景的需求。 +// +// 可能返回的错误码: +// FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownloadError" +// FAILEDOPERATION_VIDEODECODEFAILED = "FailedOperation.VideoDecodeFailed" +// INVALIDPARAMETERVALUE_INVALIDVIDEODURATION = "InvalidParameterValue.InvalidVideoDuration" +// INVALIDPARAMETERVALUE_INVALIDVIDEOFPS = "InvalidParameterValue.InvalidVideoFPS" +// INVALIDPARAMETERVALUE_INVALIDVIDEOFORMAT = "InvalidParameterValue.InvalidVideoFormat" +// INVALIDPARAMETERVALUE_INVALIDVIDEORESOLUTION = "InvalidParameterValue.InvalidVideoResolution" +// INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError" +// INVALIDPARAMETERVALUE_STYLENOTEXIST = "InvalidParameterValue.StyleNotExist" +// INVALIDPARAMETERVALUE_URLILLEGAL = "InvalidParameterValue.UrlIllegal" +// INVALIDPARAMETERVALUE_VIDEOSIZEEXCEED = "InvalidParameterValue.VideoSizeExceed" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" +func (c *Client) SubmitVideoStylizationJobWithContext(ctx context.Context, request *SubmitVideoStylizationJobRequest) (response *SubmitVideoStylizationJobResponse, err error) { + if request == nil { + request = NewSubmitVideoStylizationJobRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("SubmitVideoStylizationJob require credential") + } + + request.SetContext(ctx) + + response = NewSubmitVideoStylizationJobResponse() + err = c.Send(request, response) + return +} + +func NewSubmitVideoTranslateJobRequest() (request *SubmitVideoTranslateJobRequest) { + request = &SubmitVideoTranslateJobRequest{ + BaseRequest: &tchttp.BaseRequest{}, + } + + request.Init().WithApiInfo("vclm", APIVersion, "SubmitVideoTranslateJob") + + + return +} + +func NewSubmitVideoTranslateJobResponse() (response *SubmitVideoTranslateJobResponse) { + response = &SubmitVideoTranslateJobResponse{ + BaseResponse: &tchttp.BaseResponse{}, + } + return + +} + +// SubmitVideoTranslateJob +// 提交视频转译任务 +// +// 可能返回的错误码: +// FAILEDOPERATION_AUDIODECODEFAILED = "FailedOperation.AudioDecodeFailed" +// FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownloadError" +// FAILEDOPERATION_REQUESTTIMEOUT = "FailedOperation.RequestTimeout" +// FAILEDOPERATION_SERVERERROR = "FailedOperation.ServerError" +// FAILEDOPERATION_VIDEODURATIONEXCEED = "FailedOperation.VideoDurationExceed" +// FAILEDOPERATION_VIDEOFPSEXCEED = "FailedOperation.VideoFpsExceed" +// FAILEDOPERATION_VIDEORESOLUTIONEXCEED = "FailedOperation.VideoResolutionExceed" +// FAILEDOPERATION_VIDEOSIZEEXCEED = "FailedOperation.VideoSizeExceed" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// INVALIDPARAMETERVALUE_URLILLEGAL = "InvalidParameterValue.UrlIllegal" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// RESOURCEUNAVAILABLE_FREEZE = "ResourceUnavailable.Freeze" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCEUNAVAILABLE_ISOPENING = "ResourceUnavailable.IsOpening" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" +// RESOURCEUNAVAILABLE_NOTREADY = "ResourceUnavailable.NotReady" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" +func (c *Client) SubmitVideoTranslateJob(request *SubmitVideoTranslateJobRequest) (response *SubmitVideoTranslateJobResponse, err error) { + return c.SubmitVideoTranslateJobWithContext(context.Background(), request) +} + +// SubmitVideoTranslateJob +// 提交视频转译任务 +// +// 可能返回的错误码: +// FAILEDOPERATION_AUDIODECODEFAILED = "FailedOperation.AudioDecodeFailed" +// FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownloadError" +// FAILEDOPERATION_REQUESTTIMEOUT = "FailedOperation.RequestTimeout" +// FAILEDOPERATION_SERVERERROR = "FailedOperation.ServerError" +// FAILEDOPERATION_VIDEODURATIONEXCEED = "FailedOperation.VideoDurationExceed" +// FAILEDOPERATION_VIDEOFPSEXCEED = "FailedOperation.VideoFpsExceed" +// FAILEDOPERATION_VIDEORESOLUTIONEXCEED = "FailedOperation.VideoResolutionExceed" +// FAILEDOPERATION_VIDEOSIZEEXCEED = "FailedOperation.VideoSizeExceed" +// INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" +// INVALIDPARAMETERVALUE_URLILLEGAL = "InvalidParameterValue.UrlIllegal" +// REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" +// RESOURCEUNAVAILABLE_FREEZE = "ResourceUnavailable.Freeze" +// RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" +// RESOURCEUNAVAILABLE_ISOPENING = "ResourceUnavailable.IsOpening" +// RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" +// RESOURCEUNAVAILABLE_NOTREADY = "ResourceUnavailable.NotReady" +// RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" +func (c *Client) SubmitVideoTranslateJobWithContext(ctx context.Context, request *SubmitVideoTranslateJobRequest) (response *SubmitVideoTranslateJobResponse, err error) { + if request == nil { + request = NewSubmitVideoTranslateJobRequest() + } + + if c.GetCredential() == nil { + return nil, errors.New("SubmitVideoTranslateJob require credential") + } + + request.SetContext(ctx) + + response = NewSubmitVideoTranslateJobResponse() + err = c.Send(request, response) + return +} diff --git a/tencentcloud/vclm/v20240523/errors.go b/tencentcloud/vclm/v20240523/errors.go new file mode 100644 index 0000000000..4661663861 --- /dev/null +++ b/tencentcloud/vclm/v20240523/errors.go @@ -0,0 +1,202 @@ +// Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package v20240523 + +const ( + // 此产品的特有错误码 + + // CAM签名/鉴权错误。 + AUTHFAILURE = "AuthFailure" + + // 音频解码失败。 + FAILEDOPERATION_AUDIODECODEFAILED = "FailedOperation.AudioDecodeFailed" + + // 音频处理失败。 + FAILEDOPERATION_AUDIOPROCESSFAILED = "FailedOperation.AudioProcessFailed" + + // 音频处理任务未完成,不能执行翻译结果确认 + FAILEDOPERATION_AUDIOPROCESSNOTFINISHED = "FailedOperation.AudioProcessNotFinished" + + // 翻译结果确认任务异常。 + FAILEDOPERATION_CONFIRMTASKEXCEPTION = "FailedOperation.ConfirmTaskException" + + // 下载视频出错。 + FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownloadError" + + // 人脸框太小,无法识别使用。 + FAILEDOPERATION_FACESIZETOOSMALL = "FailedOperation.FaceSizeTooSmall" + + // 图片解码失败。 + FAILEDOPERATION_IMAGEDECODEFAILED = "FailedOperation.ImageDecodeFailed" + + // 不支持的图片文件。 + FAILEDOPERATION_IMAGENOTSUPPORTED = "FailedOperation.ImageNotSupported" + + // 图片分辨率过大。 + FAILEDOPERATION_IMAGERESOLUTIONEXCEED = "FailedOperation.ImageResolutionExceed" + + // base64编码后的图片数据过大。 + FAILEDOPERATION_IMAGESIZEEXCEED = "FailedOperation.ImageSizeExceed" + + // 服务内部错误,请重试。 + FAILEDOPERATION_INNERERROR = "FailedOperation.InnerError" + + // 任务不存在。 + FAILEDOPERATION_JOBNOTEXIST = "FailedOperation.JobNotExist" + + // 任务不存在。 + FAILEDOPERATION_JOBNOTFOUND = "FailedOperation.JobNotFound" + + // 任务队列已满,请稍后重试。 + FAILEDOPERATION_JOBQUEUEFULL = "FailedOperation.JobQueueFull" + + // 内容审核不通过。 + FAILEDOPERATION_MODERATIONFAILED = "FailedOperation.ModerationFailed" + + // 后端服务超时。 + FAILEDOPERATION_REQUESTTIMEOUT = "FailedOperation.RequestTimeout" + + // 系统内部错误。 + FAILEDOPERATION_SERVERERROR = "FailedOperation.ServerError" + + // 任务不存在。 + FAILEDOPERATION_TASKNOTEXIST = "FailedOperation.TaskNotExist" + + // 任务状态异常。 + FAILEDOPERATION_TASKSTATUSERROR = "FailedOperation.TaskStatusError" + + // 文本未通过审核,请修改后重新尝试。 + FAILEDOPERATION_TEXTMODERATIONNOTPASS = "FailedOperation.TextModerationNotPass" + + // 音频翻译结果已确认 + FAILEDOPERATION_TRANSLATIONCONFIRMHASFINISHED = "FailedOperation.TranslationConfirmHasFinished" + + // 用户未选择确认音频翻译结果 + FAILEDOPERATION_TRANSLATIONNOTNEEDCONFIRM = "FailedOperation.TranslationNotNeedConfirm" + + // 内部错误。 + FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError" + + // 视频解码失败。 + FAILEDOPERATION_VIDEODECODEFAILED = "FailedOperation.VideoDecodeFailed" + + // 视频时长超限制。 + FAILEDOPERATION_VIDEODURATIONEXCEED = "FailedOperation.VideoDurationExceed" + + // 视频Fps超限制。 + FAILEDOPERATION_VIDEOFPSEXCEED = "FailedOperation.VideoFpsExceed" + + // 视频分辨率超限制。 + FAILEDOPERATION_VIDEORESOLUTIONEXCEED = "FailedOperation.VideoResolutionExceed" + + // 视频分辨率超限制。 + FAILEDOPERATION_VIDEOSIZEEXCEED = "FailedOperation.VideoSizeExceed" + + // 内部错误。 + INTERNALERROR = "InternalError" + + // 参数错误。 + INVALIDPARAMETER = "InvalidParameter" + + // 参数不合法。 + INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" + + // 参数取值错误。 + INVALIDPARAMETERVALUE = "InvalidParameterValue" + + // 视频时长超过限制。 + INVALIDPARAMETERVALUE_INVALIDVIDEODURATION = "InvalidParameterValue.InvalidVideoDuration" + + // 不支持的视频FPS。 + INVALIDPARAMETERVALUE_INVALIDVIDEOFPS = "InvalidParameterValue.InvalidVideoFPS" + + // 不支持的视频格式。 + INVALIDPARAMETERVALUE_INVALIDVIDEOFORMAT = "InvalidParameterValue.InvalidVideoFormat" + + // 不支持的分辨率。 + INVALIDPARAMETERVALUE_INVALIDVIDEORESOLUTION = "InvalidParameterValue.InvalidVideoResolution" + + // 图片中没有人脸。 + INVALIDPARAMETERVALUE_NOFACEINPHOTO = "InvalidParameterValue.NoFaceInPhoto" + + // 参数字段或者值有误。 + INVALIDPARAMETERVALUE_PARAMETERVALUEERROR = "InvalidParameterValue.ParameterValueError" + + // 风格不存在。 + INVALIDPARAMETERVALUE_STYLENOTEXIST = "InvalidParameterValue.StyleNotExist" + + // URL格式不合法。 + INVALIDPARAMETERVALUE_URLILLEGAL = "InvalidParameterValue.UrlIllegal" + + // 视频大小超过限制。 + INVALIDPARAMETERVALUE_VIDEOSIZEEXCEED = "InvalidParameterValue.VideoSizeExceed" + + // 超过配额限制。 + LIMITEXCEEDED = "LimitExceeded" + + // 操作被拒绝。 + OPERATIONDENIED = "OperationDenied" + + // 请求的次数超过了频率限制。 + REQUESTLIMITEXCEEDED = "RequestLimitExceeded" + + // 提交任务数超过最大并发。 + REQUESTLIMITEXCEEDED_JOBNUMEXCEED = "RequestLimitExceeded.JobNumExceed" + + // 用户账号超出了限制。 + REQUESTLIMITEXCEEDED_UINLIMITEXCEEDED = "RequestLimitExceeded.UinLimitExceeded" + + // 资源不足。 + RESOURCEINSUFFICIENT = "ResourceInsufficient" + + // 资源不存在。 + RESOURCENOTFOUND = "ResourceNotFound" + + // 资源正在发货中。 + RESOURCEUNAVAILABLE_DELIVERING = "ResourceUnavailable.Delivering" + + // 账号已被冻结。 + RESOURCEUNAVAILABLE_FREEZE = "ResourceUnavailable.Freeze" + + // ResourceUnavailable.InArrears + RESOURCEUNAVAILABLE_INARREARS = "ResourceUnavailable.InArrears" + + // 服务正在开通中,请稍等。 + RESOURCEUNAVAILABLE_ISOPENING = "ResourceUnavailable.IsOpening" + + // ResourceUnavailable.LowBalance + RESOURCEUNAVAILABLE_LOWBALANCE = "ResourceUnavailable.LowBalance" + + // 计费状态未知。 + RESOURCEUNAVAILABLE_NOTEXIST = "ResourceUnavailable.NotExist" + + // 服务未开通。 + RESOURCEUNAVAILABLE_NOTREADY = "ResourceUnavailable.NotReady" + + // 资源已被回收。 + RESOURCEUNAVAILABLE_RECOVER = "ResourceUnavailable.Recover" + + // 计费状态未知。 + RESOURCEUNAVAILABLE_UNKNOWNSTATUS = "ResourceUnavailable.UnknownStatus" + + // 账号已欠费。 + RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = "ResourcesSoldOut.ChargeStatusException" + + // 未授权操作。 + UNAUTHORIZEDOPERATION = "UnauthorizedOperation" + + // 操作不支持。 + UNSUPPORTEDOPERATION = "UnsupportedOperation" +) diff --git a/tencentcloud/vclm/v20240523/models.go b/tencentcloud/vclm/v20240523/models.go new file mode 100644 index 0000000000..7b757dda57 --- /dev/null +++ b/tencentcloud/vclm/v20240523/models.go @@ -0,0 +1,601 @@ +// Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package v20240523 + +import ( + tcerr "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/errors" + tchttp "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/http" + "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common/json" +) + +type AsrTimestamps struct { + // 文本片段 + // 注意:此字段可能返回 null,表示取不到有效值。 + Text *string `json:"Text,omitnil,omitempty" name:"Text"` + + // 开始时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + StartMs *int64 `json:"StartMs,omitnil,omitempty" name:"StartMs"` + + // 结束时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + EndMs *int64 `json:"EndMs,omitnil,omitempty" name:"EndMs"` +} + +// Predefined struct for user +type ConfirmVideoTranslateJobRequestParams struct { + // 视频翻译任务 ID + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` + + // 待确认文本 + TranslateResults []*TranslateResult `json:"TranslateResults,omitnil,omitempty" name:"TranslateResults"` +} + +type ConfirmVideoTranslateJobRequest struct { + *tchttp.BaseRequest + + // 视频翻译任务 ID + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` + + // 待确认文本 + TranslateResults []*TranslateResult `json:"TranslateResults,omitnil,omitempty" name:"TranslateResults"` +} + +func (r *ConfirmVideoTranslateJobRequest) 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 *ConfirmVideoTranslateJobRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "JobId") + delete(f, "TranslateResults") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "ConfirmVideoTranslateJobRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type ConfirmVideoTranslateJobResponseParams struct { + // 视频翻译任务 ID + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` + + // 音频转换任务 ID + TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` + + // 音频翻译结果确认 session + SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` + + // 视频转译任务状态 + Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` + + // 视频转译任务信息 + Message *string `json:"Message,omitnil,omitempty" name:"Message"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type ConfirmVideoTranslateJobResponse struct { + *tchttp.BaseResponse + Response *ConfirmVideoTranslateJobResponseParams `json:"Response"` +} + +func (r *ConfirmVideoTranslateJobResponse) 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 *ConfirmVideoTranslateJobResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeImageAnimateJobRequestParams struct { + // 任务ID。 + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` +} + +type DescribeImageAnimateJobRequest struct { + *tchttp.BaseRequest + + // 任务ID。 + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` +} + +func (r *DescribeImageAnimateJobRequest) 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 *DescribeImageAnimateJobRequest) 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", "DescribeImageAnimateJobRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeImageAnimateJobResponseParams struct { + // 任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功 + Status *string `json:"Status,omitnil,omitempty" name:"Status"` + + // 错误码。 + ErrorCode *string `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"` + + // 错误信息。 + ErrorMessage *string `json:"ErrorMessage,omitnil,omitempty" name:"ErrorMessage"` + + // 结果视频URL。有效期 24 小时。 + ResultVideoUrl *string `json:"ResultVideoUrl,omitnil,omitempty" name:"ResultVideoUrl"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeImageAnimateJobResponse struct { + *tchttp.BaseResponse + Response *DescribeImageAnimateJobResponseParams `json:"Response"` +} + +func (r *DescribeImageAnimateJobResponse) 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 *DescribeImageAnimateJobResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeVideoStylizationJobRequestParams struct { + // 任务ID + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` +} + +type DescribeVideoStylizationJobRequest struct { + *tchttp.BaseRequest + + // 任务ID + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` +} + +func (r *DescribeVideoStylizationJobRequest) 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 *DescribeVideoStylizationJobRequest) 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", "DescribeVideoStylizationJobRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeVideoStylizationJobResponseParams struct { + // 任务ID。 + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` + + // 任务状态码: + // JobInit: "初始化中" + // JobModerationFailed: "审核失败", + // JobRunning: "处理中", + // JobFailed: "处理失败", + // JobSuccess: "处理完成"。 + StatusCode *string `json:"StatusCode,omitnil,omitempty" name:"StatusCode"` + + // 任务状态描述。 + StatusMsg *string `json:"StatusMsg,omitnil,omitempty" name:"StatusMsg"` + + // 处理结果视频Url。URL有效期为24小时。 + ResultVideoUrl *string `json:"ResultVideoUrl,omitnil,omitempty" name:"ResultVideoUrl"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeVideoStylizationJobResponse struct { + *tchttp.BaseResponse + Response *DescribeVideoStylizationJobResponseParams `json:"Response"` +} + +func (r *DescribeVideoStylizationJobResponse) 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 *DescribeVideoStylizationJobResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeVideoTranslateJobRequestParams struct { + // 视频转译任务 ID + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` +} + +type DescribeVideoTranslateJobRequest struct { + *tchttp.BaseRequest + + // 视频转译任务 ID + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` +} + +func (r *DescribeVideoTranslateJobRequest) 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 *DescribeVideoTranslateJobRequest) 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", "DescribeVideoTranslateJobRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type DescribeVideoTranslateJobResponseParams struct { + // 任务状态。 1:音频翻译中。 2:音频翻译失败。 3:音频翻译成功。 4:音频结果待确认。 5:音频结果已确认完毕。6:视频翻译中。 7:视频翻译失败。 8:视频翻译成功。 + JobStatus *int64 `json:"JobStatus,omitnil,omitempty" name:"JobStatus"` + + // 任务错误码。 + JobErrorCode *string `json:"JobErrorCode,omitnil,omitempty" name:"JobErrorCode"` + + // 任务错误信息。 + JobErrorMsg *string `json:"JobErrorMsg,omitnil,omitempty" name:"JobErrorMsg"` + + // 视频翻译结果。 + ResultVideoUrl *string `json:"ResultVideoUrl,omitnil,omitempty" name:"ResultVideoUrl"` + + // 音频翻译结果。 + TranslateResults []*TranslateResult `json:"TranslateResults,omitnil,omitempty" name:"TranslateResults"` + + // 是否需要确认翻译结果。0:不需要,1:需要 + JobConfirm *int64 `json:"JobConfirm,omitnil,omitempty" name:"JobConfirm"` + + // 音频任务 ID + JobAudioTaskId *string `json:"JobAudioTaskId,omitnil,omitempty" name:"JobAudioTaskId"` + + // 视频审核任务ID + JobVideoModerationId *string `json:"JobVideoModerationId,omitnil,omitempty" name:"JobVideoModerationId"` + + // 音频审核任务 ID + JobAudioModerationId *string `json:"JobAudioModerationId,omitnil,omitempty" name:"JobAudioModerationId"` + + // 口型驱动任务 ID + JobVideoId *string `json:"JobVideoId,omitnil,omitempty" name:"JobVideoId"` + + // 视频素材原始 URL + OriginalVideoUrl *string `json:"OriginalVideoUrl,omitnil,omitempty" name:"OriginalVideoUrl"` + + // 文本片段及其时间戳 + AsrTimestamps []*AsrTimestamps `json:"AsrTimestamps,omitnil,omitempty" name:"AsrTimestamps"` + + // 提交视频翻译任务时的 requestId + JobSubmitReqId *string `json:"JobSubmitReqId,omitnil,omitempty" name:"JobSubmitReqId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type DescribeVideoTranslateJobResponse struct { + *tchttp.BaseResponse + Response *DescribeVideoTranslateJobResponseParams `json:"Response"` +} + +func (r *DescribeVideoTranslateJobResponse) 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 *DescribeVideoTranslateJobResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type SubmitImageAnimateJobRequestParams struct { + // 图片格式:支持PNG、JPG、JPEG格式; + // 图片分辨率:长边分辨率不超过2056; + // 图片大小:不超过10M; + // 图片宽高比:【宽:高】数值在 1:2 到 1:1.2 范围内 + ImageUrl *string `json:"ImageUrl,omitnil,omitempty" name:"ImageUrl"` + + // 图片base64数据。图片格式:支持PNG、JPG、JPEG格式;图片分辨率:长边分辨率不超过2056;图片大小:不超过10M;图片宽高比:【宽:高】数值在 1:2 到 1:1.2 范围内 + ImageBase64 *string `json:"ImageBase64,omitnil,omitempty" name:"ImageBase64"` + + // 动作模板ID。取值说明:ke3 科目三;tuziwu 兔子舞;huajiangwu 划桨舞。 + TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` + + // 结果视频是否保留模板音频。默认为true + EnableAudio *bool `json:"EnableAudio,omitnil,omitempty" name:"EnableAudio"` +} + +type SubmitImageAnimateJobRequest struct { + *tchttp.BaseRequest + + // 图片格式:支持PNG、JPG、JPEG格式; + // 图片分辨率:长边分辨率不超过2056; + // 图片大小:不超过10M; + // 图片宽高比:【宽:高】数值在 1:2 到 1:1.2 范围内 + ImageUrl *string `json:"ImageUrl,omitnil,omitempty" name:"ImageUrl"` + + // 图片base64数据。图片格式:支持PNG、JPG、JPEG格式;图片分辨率:长边分辨率不超过2056;图片大小:不超过10M;图片宽高比:【宽:高】数值在 1:2 到 1:1.2 范围内 + ImageBase64 *string `json:"ImageBase64,omitnil,omitempty" name:"ImageBase64"` + + // 动作模板ID。取值说明:ke3 科目三;tuziwu 兔子舞;huajiangwu 划桨舞。 + TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` + + // 结果视频是否保留模板音频。默认为true + EnableAudio *bool `json:"EnableAudio,omitnil,omitempty" name:"EnableAudio"` +} + +func (r *SubmitImageAnimateJobRequest) 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 *SubmitImageAnimateJobRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "ImageUrl") + delete(f, "ImageBase64") + delete(f, "TemplateId") + delete(f, "EnableAudio") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "SubmitImageAnimateJobRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type SubmitImageAnimateJobResponseParams struct { + // 任务ID。 + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type SubmitImageAnimateJobResponse struct { + *tchttp.BaseResponse + Response *SubmitImageAnimateJobResponseParams `json:"Response"` +} + +func (r *SubmitImageAnimateJobResponse) 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 *SubmitImageAnimateJobResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type SubmitVideoStylizationJobRequestParams struct { + // 风格ID,取值说明:2d_anime 2D动漫;3d_cartoon 3D卡通;3d_china 3D国潮;pixel_art 像素风。 + StyleId *string `json:"StyleId,omitnil,omitempty" name:"StyleId"` + + // 输入视频URL。视频要求: + // - 视频格式:mp4、mov; + // - 视频时长:1~60秒; + // - 视频分辨率:540P~2056P,即长宽像素数均在540px~2056px范围内; + // - 视频大小:不超过200M; + // - 视频FPS:15~60fps。 + VideoUrl *string `json:"VideoUrl,omitnil,omitempty" name:"VideoUrl"` +} + +type SubmitVideoStylizationJobRequest struct { + *tchttp.BaseRequest + + // 风格ID,取值说明:2d_anime 2D动漫;3d_cartoon 3D卡通;3d_china 3D国潮;pixel_art 像素风。 + StyleId *string `json:"StyleId,omitnil,omitempty" name:"StyleId"` + + // 输入视频URL。视频要求: + // - 视频格式:mp4、mov; + // - 视频时长:1~60秒; + // - 视频分辨率:540P~2056P,即长宽像素数均在540px~2056px范围内; + // - 视频大小:不超过200M; + // - 视频FPS:15~60fps。 + VideoUrl *string `json:"VideoUrl,omitnil,omitempty" name:"VideoUrl"` +} + +func (r *SubmitVideoStylizationJobRequest) 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 *SubmitVideoStylizationJobRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "StyleId") + delete(f, "VideoUrl") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "SubmitVideoStylizationJobRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type SubmitVideoStylizationJobResponseParams struct { + // 任务ID + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type SubmitVideoStylizationJobResponse struct { + *tchttp.BaseResponse + Response *SubmitVideoStylizationJobResponseParams `json:"Response"` +} + +func (r *SubmitVideoStylizationJobResponse) 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 *SubmitVideoStylizationJobResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type SubmitVideoTranslateJobRequestParams struct { + // 视频地址URL。 + VideoUrl *string `json:"VideoUrl,omitnil,omitempty" name:"VideoUrl"` + + // 源语言:zh, en + SrcLang *string `json:"SrcLang,omitnil,omitempty" name:"SrcLang"` + + // 目标语言:zh, en + DstLang *string `json:"DstLang,omitnil,omitempty" name:"DstLang"` + + // 当音频 URL 不为空时,默认以音频驱动视频任务口型 + AudioUrl *string `json:"AudioUrl,omitnil,omitempty" name:"AudioUrl"` + + // 是否需要确认翻译结果0:不需要,1:需要 + Confirm *int64 `json:"Confirm,omitnil,omitempty" name:"Confirm"` + + // 是否开启口型驱动,0:不开启,1:开启。默认开启。 + LipSync *int64 `json:"LipSync,omitnil,omitempty" name:"LipSync"` +} + +type SubmitVideoTranslateJobRequest struct { + *tchttp.BaseRequest + + // 视频地址URL。 + VideoUrl *string `json:"VideoUrl,omitnil,omitempty" name:"VideoUrl"` + + // 源语言:zh, en + SrcLang *string `json:"SrcLang,omitnil,omitempty" name:"SrcLang"` + + // 目标语言:zh, en + DstLang *string `json:"DstLang,omitnil,omitempty" name:"DstLang"` + + // 当音频 URL 不为空时,默认以音频驱动视频任务口型 + AudioUrl *string `json:"AudioUrl,omitnil,omitempty" name:"AudioUrl"` + + // 是否需要确认翻译结果0:不需要,1:需要 + Confirm *int64 `json:"Confirm,omitnil,omitempty" name:"Confirm"` + + // 是否开启口型驱动,0:不开启,1:开启。默认开启。 + LipSync *int64 `json:"LipSync,omitnil,omitempty" name:"LipSync"` +} + +func (r *SubmitVideoTranslateJobRequest) 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 *SubmitVideoTranslateJobRequest) FromJsonString(s string) error { + f := make(map[string]interface{}) + if err := json.Unmarshal([]byte(s), &f); err != nil { + return err + } + delete(f, "VideoUrl") + delete(f, "SrcLang") + delete(f, "DstLang") + delete(f, "AudioUrl") + delete(f, "Confirm") + delete(f, "LipSync") + if len(f) > 0 { + return tcerr.NewTencentCloudSDKError("ClientError.BuildRequestError", "SubmitVideoTranslateJobRequest has unknown keys!", "") + } + return json.Unmarshal([]byte(s), &r) +} + +// Predefined struct for user +type SubmitVideoTranslateJobResponseParams struct { + // 任务ID。 + JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` + + // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 + RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` +} + +type SubmitVideoTranslateJobResponse struct { + *tchttp.BaseResponse + Response *SubmitVideoTranslateJobResponseParams `json:"Response"` +} + +func (r *SubmitVideoTranslateJobResponse) 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 *SubmitVideoTranslateJobResponse) FromJsonString(s string) error { + return json.Unmarshal([]byte(s), &r) +} + +type TranslateResult struct { + // 翻译源文字 + // 注意:此字段可能返回 null,表示取不到有效值。 + SourceText *string `json:"SourceText,omitnil,omitempty" name:"SourceText"` + + // 翻译后文字。 + // 注意:此字段可能返回 null,表示取不到有效值。 + TargetText *string `json:"TargetText,omitnil,omitempty" name:"TargetText"` +} \ No newline at end of file diff --git a/tencentcloud/vdb/go.mod b/tencentcloud/vdb/go.mod index 856ef0bc41..a5ad14516e 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/vdb/v20230616/models.go b/tencentcloud/vdb/v20230616/models.go index 4b799f471d..c8631aba24 100644 --- a/tencentcloud/vdb/v20230616/models.go +++ b/tencentcloud/vdb/v20230616/models.go @@ -265,6 +265,14 @@ type InstanceInfo struct { // 外网地址。 // 注意:此字段可能返回 null,表示取不到有效值。 WanAddress *string `json:"WanAddress,omitnil,omitempty" name:"WanAddress"` + + // 隔离时间 + // 注意:此字段可能返回 null,表示取不到有效值。 + IsolateAt *string `json:"IsolateAt,omitnil,omitempty" name:"IsolateAt"` + + // 是否自动续费。0: 不自动续费(可以支持特权不停服);1:自动续费;2:到期不续费. + // 注意:此字段可能返回 null,表示取不到有效值。 + AutoRenew *int64 `json:"AutoRenew,omitnil,omitempty" name:"AutoRenew"` } type Network struct { diff --git a/tencentcloud/vm/go.mod b/tencentcloud/vm/go.mod index 7e6e1b7dff..6a1145520e 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/vms/go.mod b/tencentcloud/vms/go.mod index 981ef769ed..748e644220 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/vod/go.mod b/tencentcloud/vod/go.mod index 8021ade6bf..c564d822e0 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/vpc/go.mod b/tencentcloud/vpc/go.mod index 65bd26fd17..cebd5d9cd2 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/vrs/go.mod b/tencentcloud/vrs/go.mod index 32bdb456f6..9f1ac50aad 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/vtc/go.mod b/tencentcloud/vtc/go.mod index 5840c6a7c7..ef5dee8e36 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/waf/go.mod b/tencentcloud/waf/go.mod index f4e8409b64..c6b784868e 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/wav/go.mod b/tencentcloud/wav/go.mod index b2e166f1f9..0ba751545e 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/wedata/go.mod b/tencentcloud/wedata/go.mod index 645821b12f..47d346393f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/weilingwith/go.mod b/tencentcloud/weilingwith/go.mod index 22147d3217..cf5c0df47a 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/wss/go.mod b/tencentcloud/wss/go.mod index eddb51c56d..0539412885 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/yinsuda/go.mod b/tencentcloud/yinsuda/go.mod index bba04507e6..55c3f19bcb 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/youmall/go.mod b/tencentcloud/youmall/go.mod index 52b644b7ac..e2de877fe9 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/yunjing/go.mod b/tencentcloud/yunjing/go.mod index aa4878991e..cb3c2642d9 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/tencentcloud/yunsou/go.mod b/tencentcloud/yunsou/go.mod index ee2c0dc79a..b1fecd733f 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.951 +require github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 diff --git a/testing/go.mod b/testing/go.mod index fa37f2db89..7f5d637c83 100644 --- a/testing/go.mod +++ b/testing/go.mod @@ -68,7 +68,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.951 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.952 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/config v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cpdp v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cr v0.0.0 @@ -238,6 +238,7 @@ require ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vcg v0.0.0 + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vclm v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vdb v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm v0.0.0 github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vms v0.0.0 @@ -492,6 +493,7 @@ replace ( github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts => ../tencentcloud/tts github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump => ../tencentcloud/ump github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vcg => ../tencentcloud/vcg + github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vclm => ../tencentcloud/vclm github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vdb => ../tencentcloud/vdb github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm => ../tencentcloud/vm github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vms => ../tencentcloud/vms diff --git a/testing/integration/import_test.go b/testing/integration/import_test.go index b53ec5481f..b08a988e2a 100644 --- a/testing/integration/import_test.go +++ b/testing/integration/import_test.go @@ -282,6 +282,7 @@ import ( ttsv20190823 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/tts/v20190823" umpv20200918 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ump/v20200918" vcgv20240404 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vcg/v20240404" + vclmv20240523 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vclm/v20240523" vdbv20230616 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vdb/v20230616" vmv20200709 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm/v20200709" vmv20201229 "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/vm/v20201229" @@ -3709,6 +3710,19 @@ func TestVcgv20240404Import(t *testing.T) { } } +func TestVclmv20240523Import(t *testing.T) { + credential := common.NewCredential( + os.Getenv("TENCENTCLOUD_SECRET_ID"), + os.Getenv("TENCENTCLOUD_SECRET_KEY")) + client, err := vclmv20240523.NewClient( + credential, + regions.Guangzhou, + profile.NewClientProfile()) + if err != nil || client == nil { + t.Errorf("fail to init vclm_v20240523 client: %v", err) + } +} + func TestVdbv20230616Import(t *testing.T) { credential := common.NewCredential( os.Getenv("TENCENTCLOUD_SECRET_ID"),