tencentcloud-sdk-python 3.0.1338__py2.py3-none-any.whl → 3.0.1372__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/advisor/v20200721/models.py +0 -26
- tencentcloud/ams/v20201229/ams_client.py +17 -6
- tencentcloud/ams/v20201229/models.py +8 -6
- tencentcloud/antiddos/v20200309/antiddos_client.py +0 -50
- tencentcloud/antiddos/v20200309/models.py +44 -837
- tencentcloud/apm/v20210622/models.py +60 -60
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +28 -1
- tencentcloud/autoscaling/v20180419/models.py +352 -210
- tencentcloud/batch/v20170312/batch_client.py +0 -46
- tencentcloud/batch/v20170312/errorcodes.py +0 -9
- tencentcloud/batch/v20170312/models.py +44 -1179
- tencentcloud/bh/v20230418/bh_client.py +253 -0
- tencentcloud/bh/v20230418/errorcodes.py +15 -0
- tencentcloud/bh/v20230418/models.py +3489 -1335
- tencentcloud/bi/v20220105/models.py +242 -2
- tencentcloud/billing/v20180709/billing_client.py +0 -23
- tencentcloud/billing/v20180709/models.py +34 -926
- tencentcloud/bpaas/v20181217/models.py +0 -54
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +2 -86
- tencentcloud/captcha/v20190722/models.py +21 -54
- tencentcloud/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +509 -0
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +75 -96
- tencentcloud/ccc/v20200210/ccc_client.py +184 -0
- tencentcloud/ccc/v20200210/errorcodes.py +12 -0
- tencentcloud/ccc/v20200210/models.py +2552 -1026
- tencentcloud/cdb/v20170320/cdb_client.py +27 -4
- tencentcloud/cdb/v20170320/models.py +180 -20
- tencentcloud/cdc/v20201214/cdc_client.py +46 -0
- tencentcloud/cdc/v20201214/errorcodes.py +18 -0
- tencentcloud/cdc/v20201214/models.py +202 -86
- tencentcloud/cdn/v20180606/cdn_client.py +70 -24
- tencentcloud/cdn/v20180606/models.py +19 -50
- tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
- tencentcloud/cdwch/v20200915/models.py +242 -260
- tencentcloud/cdwdoris/v20211228/models.py +330 -0
- tencentcloud/cdwpg/v20201230/models.py +196 -516
- tencentcloud/cdz/v20221123/models.py +0 -12
- tencentcloud/cfg/v20210820/models.py +30 -198
- tencentcloud/cfs/v20190719/errorcodes.py +3 -0
- tencentcloud/cfs/v20190719/models.py +15 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +331 -4
- tencentcloud/chc/__init__.py +0 -0
- tencentcloud/chc/v20230418/__init__.py +0 -0
- tencentcloud/chc/v20230418/chc_client.py +877 -0
- tencentcloud/chc/v20230418/errorcodes.py +15 -0
- tencentcloud/chc/v20230418/models.py +10146 -0
- tencentcloud/chdfs/v20201112/models.py +2 -2
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +371 -1230
- tencentcloud/clb/v20180317/clb_client.py +3 -3
- tencentcloud/clb/v20180317/models.py +395 -406
- tencentcloud/cls/v20201016/cls_client.py +41 -18
- tencentcloud/cls/v20201016/models.py +256 -606
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/errorcodes.py +3 -0
- tencentcloud/cme/v20191029/models.py +10 -14
- tencentcloud/cmq/v20190304/models.py +0 -90
- tencentcloud/common/abstract_client.py +29 -24
- tencentcloud/common/abstract_model.py +5 -1
- tencentcloud/common/common_client.py +14 -15
- tencentcloud/common/credential.py +68 -65
- tencentcloud/common/exception/tencent_cloud_sdk_exception.py +1 -1
- tencentcloud/common/profile/client_profile.py +32 -30
- tencentcloud/common/profile/http_profile.py +20 -12
- tencentcloud/common/retry.py +18 -0
- tencentcloud/controlcenter/v20230110/models.py +0 -58
- tencentcloud/cvm/v20170312/cvm_client.py +42 -10
- tencentcloud/cvm/v20170312/errorcodes.py +25 -1
- tencentcloud/cvm/v20170312/models.py +835 -290
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +362 -58
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
- tencentcloud/cynosdb/v20190107/models.py +451 -824
- tencentcloud/dbbrain/v20191016/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20191016/models.py +605 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +322 -0
- tencentcloud/dbbrain/v20210527/models.py +6071 -2974
- tencentcloud/dbdc/v20201029/models.py +0 -16
- tencentcloud/dc/v20180410/models.py +25 -12
- tencentcloud/dcdb/v20180411/errorcodes.py +3 -0
- tencentcloud/dcdb/v20180411/models.py +175 -114
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +1217 -592
- tencentcloud/dnspod/v20210323/dnspod_client.py +69 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +9 -0
- tencentcloud/dnspod/v20210323/models.py +718 -110
- tencentcloud/domain/v20180808/domain_client.py +4 -2
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +628 -324
- tencentcloud/dsgc/v20190723/dsgc_client.py +0 -23
- tencentcloud/dsgc/v20190723/models.py +53 -34
- tencentcloud/dts/v20180330/models.py +0 -10
- tencentcloud/dts/v20211206/models.py +118 -585
- tencentcloud/ecdn/v20191012/ecdn_client.py +24 -225
- tencentcloud/ecdn/v20191012/errorcodes.py +0 -63
- tencentcloud/ecdn/v20191012/models.py +4 -1047
- tencentcloud/emr/v20190103/emr_client.py +47 -1
- tencentcloud/emr/v20190103/models.py +1174 -146
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +74 -6
- tencentcloud/es/v20250101/__init__.py +0 -0
- tencentcloud/es/v20250101/errorcodes.py +45 -0
- tencentcloud/es/v20250101/es_client.py +251 -0
- tencentcloud/es/v20250101/models.py +2519 -0
- tencentcloud/ess/v20201111/ess_client.py +43 -5
- tencentcloud/ess/v20201111/models.py +854 -60
- tencentcloud/essbasic/v20210526/essbasic_client.py +35 -2
- tencentcloud/essbasic/v20210526/models.py +726 -43
- tencentcloud/facefusion/v20220927/models.py +4 -2
- tencentcloud/fmu/v20191213/errorcodes.py +3 -21
- tencentcloud/fmu/v20191213/fmu_client.py +0 -75
- tencentcloud/fmu/v20191213/models.py +4 -531
- tencentcloud/gaap/v20180529/gaap_client.py +1 -1
- tencentcloud/gaap/v20180529/models.py +2 -276
- tencentcloud/goosefs/v20220519/models.py +0 -2
- tencentcloud/gs/v20191118/errorcodes.py +36 -0
- tencentcloud/gs/v20191118/gs_client.py +1074 -12
- tencentcloud/gs/v20191118/models.py +6976 -492
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +5 -8
- tencentcloud/gwlb/v20240906/models.py +94 -84
- tencentcloud/hai/v20230812/errorcodes.py +7 -1
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +111 -136
- tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +71 -0
- tencentcloud/hunyuan/v20230901/models.py +1089 -119
- tencentcloud/ims/v20201229/models.py +25 -4
- tencentcloud/ioa/v20220601/ioa_client.py +92 -0
- tencentcloud/ioa/v20220601/models.py +1136 -225
- tencentcloud/iotcloud/v20210408/models.py +2 -4
- tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +234 -52
- tencentcloud/iotexplorer/v20190423/models.py +2906 -1063
- tencentcloud/iotvideo/v20191126/models.py +0 -4
- tencentcloud/iotvideo/v20201215/models.py +17 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +69 -0
- tencentcloud/iotvideo/v20211125/models.py +476 -0
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py +2 -2
- tencentcloud/iotvideoindustry/v20201201/models.py +30 -486
- tencentcloud/iss/v20230517/errorcodes.py +9 -0
- tencentcloud/iss/v20230517/iss_client.py +161 -0
- tencentcloud/iss/v20230517/models.py +1716 -743
- tencentcloud/kms/v20190118/models.py +101 -0
- tencentcloud/lcic/v20220817/errorcodes.py +2 -2
- tencentcloud/lcic/v20220817/lcic_client.py +47 -1
- tencentcloud/lcic/v20220817/models.py +357 -72
- tencentcloud/lighthouse/v20200324/errorcodes.py +12 -15
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +39 -76
- tencentcloud/lighthouse/v20200324/models.py +237 -259
- tencentcloud/live/v20180801/models.py +61 -46
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +8 -29
- tencentcloud/lke/v20231130/models.py +561 -115
- tencentcloud/lkeap/v20240522/lkeap_client.py +33 -4
- tencentcloud/lkeap/v20240522/models.py +290 -18
- tencentcloud/lowcode/v20210108/errorcodes.py +3 -0
- tencentcloud/lowcode/v20210108/models.py +0 -2
- tencentcloud/mariadb/v20170312/models.py +155 -140
- tencentcloud/memcached/v20190318/models.py +2 -2
- tencentcloud/mmps/v20200710/models.py +0 -66
- tencentcloud/mna/v20210119/errorcodes.py +0 -36
- tencentcloud/mna/v20210119/mna_client.py +0 -75
- tencentcloud/mna/v20210119/models.py +0 -1002
- tencentcloud/mongodb/v20190725/models.py +115 -6
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/monitor/v20180724/errorcodes.py +3 -0
- tencentcloud/monitor/v20180724/models.py +1055 -74
- tencentcloud/monitor/v20180724/monitor_client.py +94 -2
- tencentcloud/mps/v20190612/errorcodes.py +36 -0
- tencentcloud/mps/v20190612/models.py +4866 -448
- tencentcloud/mps/v20190612/mps_client.py +208 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +15 -0
- tencentcloud/mqtt/v20240516/models.py +705 -372
- tencentcloud/mqtt/v20240516/mqtt_client.py +4 -4
- tencentcloud/oceanus/v20190422/models.py +14 -2
- tencentcloud/ocr/v20181119/errorcodes.py +0 -12
- tencentcloud/ocr/v20181119/models.py +311 -1042
- tencentcloud/ocr/v20181119/ocr_client.py +5 -102
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +45 -82
- tencentcloud/partners/v20180321/models.py +169 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/postgres/v20170312/models.py +36 -328
- tencentcloud/postgres/v20170312/postgres_client.py +15 -5
- tencentcloud/privatedns/v20201028/models.py +36 -28
- tencentcloud/rce/v20201103/models.py +0 -15
- tencentcloud/redis/v20180412/models.py +233 -18
- tencentcloud/redis/v20180412/redis_client.py +23 -0
- tencentcloud/rum/v20210622/models.py +0 -2
- tencentcloud/ses/v20201002/models.py +32 -4
- tencentcloud/smop/v20201203/smop_client.py +3 -1
- tencentcloud/soe/v20180724/models.py +4 -2
- tencentcloud/sqlserver/v20180328/models.py +75 -0
- tencentcloud/ssl/v20191205/models.py +7 -319
- tencentcloud/ssm/v20190923/models.py +45 -0
- tencentcloud/sts/v20180813/errorcodes.py +9 -0
- tencentcloud/sts/v20180813/models.py +171 -0
- tencentcloud/sts/v20180813/sts_client.py +23 -0
- tencentcloud/svp/v20240125/errorcodes.py +3 -0
- tencentcloud/svp/v20240125/models.py +506 -44
- tencentcloud/svp/v20240125/svp_client.py +23 -0
- tencentcloud/tan/v20220420/tan_client.py +3 -1
- tencentcloud/tat/v20201028/errorcodes.py +12 -0
- tencentcloud/tat/v20201028/models.py +138 -42
- tencentcloud/tbaas/v20180416/models.py +0 -58
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tcb/v20180608/models.py +189 -582
- tencentcloud/tcb/v20180608/tcb_client.py +23 -23
- tencentcloud/tcbr/v20220217/models.py +45 -0
- tencentcloud/tchd/v20230306/models.py +166 -0
- tencentcloud/tchd/v20230306/tchd_client.py +24 -0
- tencentcloud/tcr/v20190924/models.py +44 -174
- tencentcloud/tcss/v20201101/models.py +1458 -2066
- tencentcloud/tcss/v20201101/tcss_client.py +92 -125
- tencentcloud/tdid/v20210519/models.py +0 -10
- tencentcloud/tdmq/v20200217/models.py +405 -575
- tencentcloud/tdmq/v20200217/tdmq_client.py +12 -54
- tencentcloud/tds/v20220801/models.py +441 -0
- tencentcloud/tds/v20220801/tds_client.py +23 -0
- tencentcloud/tem/v20210701/models.py +0 -498
- tencentcloud/teo/v20220106/teo_client.py +6 -2
- tencentcloud/teo/v20220901/errorcodes.py +9 -0
- tencentcloud/teo/v20220901/models.py +1828 -472
- tencentcloud/teo/v20220901/teo_client.py +54 -4
- tencentcloud/thpc/v20211109/models.py +0 -6
- tencentcloud/thpc/v20220401/models.py +0 -14
- tencentcloud/thpc/v20230321/models.py +64 -52
- tencentcloud/tione/v20211111/errorcodes.py +114 -0
- tencentcloud/tione/v20211111/models.py +2288 -160
- tencentcloud/tione/v20211111/tione_client.py +138 -0
- tencentcloud/tiw/v20190919/errorcodes.py +3 -24
- tencentcloud/tiw/v20190919/models.py +3657 -8172
- tencentcloud/tiw/v20190919/tiw_client.py +1 -580
- tencentcloud/tke/v20180525/models.py +705 -721
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tke/v20220501/models.py +0 -34
- tencentcloud/trocket/v20230308/models.py +1630 -160
- tencentcloud/trocket/v20230308/trocket_client.py +238 -0
- tencentcloud/trro/v20220325/models.py +1132 -44
- tencentcloud/trro/v20220325/trro_client.py +142 -0
- tencentcloud/trtc/v20190722/models.py +94 -90
- tencentcloud/trtc/v20190722/trtc_client.py +4 -0
- tencentcloud/tse/v20201207/models.py +90 -1010
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +350 -582
- tencentcloud/tsf/v20180326/tsf_client.py +26 -1
- tencentcloud/tts/v20190823/models.py +15 -15
- tencentcloud/tts/v20190823/tts_client.py +6 -5
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/vcube/v20220410/models.py +66 -158
- tencentcloud/vcube/v20220410/vcube_client.py +2 -2
- tencentcloud/vdb/v20230616/models.py +1487 -29
- tencentcloud/vdb/v20230616/vdb_client.py +185 -1
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client.py +16 -8
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +106 -417
- tencentcloud/vod/v20180717/vod_client.py +2 -1
- tencentcloud/vod/v20240718/errorcodes.py +33 -0
- tencentcloud/vod/v20240718/models.py +1839 -0
- tencentcloud/vod/v20240718/vod_client.py +146 -0
- tencentcloud/vpc/v20170312/errorcodes.py +12 -0
- tencentcloud/vpc/v20170312/models.py +2052 -519
- tencentcloud/vpc/v20170312/vpc_client.py +229 -11
- tencentcloud/vrs/v20200824/models.py +49 -0
- tencentcloud/waf/v20180125/errorcodes.py +9 -0
- tencentcloud/waf/v20180125/models.py +4191 -0
- tencentcloud/waf/v20180125/waf_client.py +276 -0
- tencentcloud/wedata/v20210820/models.py +5404 -394
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- tencentcloud/weilingwith/v20230427/models.py +0 -964
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +284 -275
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
@@ -545,6 +545,9 @@ UNSUPPORTEDOPERATION_DIAGNOSEJOB = 'UnsupportedOperation.DiagnoseJob'
|
|
545
545
|
# 智能诊断未开启。
|
546
546
|
UNSUPPORTEDOPERATION_DIAGNOSENOTOPEN = 'UnsupportedOperation.DiagnoseNotOpen'
|
547
547
|
|
548
|
+
# 节点磁盘可用空间不足
|
549
|
+
UNSUPPORTEDOPERATION_DISKFREESPACEINSUFFICIENT = 'UnsupportedOperation.DiskFreeSpaceInsufficient'
|
550
|
+
|
548
551
|
# 不支持的读硬盘配置。
|
549
552
|
UNSUPPORTEDOPERATION_DISKUSE = 'UnsupportedOperation.DiskUse'
|
550
553
|
|
@@ -806,7 +806,7 @@ class CosSnapShotInfo(AbstractModel):
|
|
806
806
|
:param _Version: 快照版本
|
807
807
|
注意:此字段可能返回 null,表示取不到有效值。
|
808
808
|
:type Version: str
|
809
|
-
:param _CommonIndexArr:
|
809
|
+
:param _CommonIndexArr: 普通[{"DataStreamName":"ilm-history-5","Is索引信息列表
|
810
810
|
注意:此字段可能返回 null,表示取不到有效值。
|
811
811
|
:type CommonIndexArr: list of CommonIndexInfo
|
812
812
|
:param _DataStreamArr: 自治索引信息列表
|
@@ -883,7 +883,7 @@ class CosSnapShotInfo(AbstractModel):
|
|
883
883
|
|
884
884
|
@property
|
885
885
|
def CommonIndexArr(self):
|
886
|
-
"""
|
886
|
+
"""普通[{"DataStreamName":"ilm-history-5","Is索引信息列表
|
887
887
|
注意:此字段可能返回 null,表示取不到有效值。
|
888
888
|
:rtype: list of CommonIndexInfo
|
889
889
|
"""
|
@@ -13337,6 +13337,12 @@ class LogstashPipelineInfo(AbstractModel):
|
|
13337
13337
|
:param _QueueCheckPointWrites: 管道缓冲队列检查点写入数
|
13338
13338
|
注意:此字段可能返回 null,表示取不到有效值。
|
13339
13339
|
:type QueueCheckPointWrites: int
|
13340
|
+
:param _CreateTime: 创建时间
|
13341
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13342
|
+
:type CreateTime: str
|
13343
|
+
:param _UpdateTime: 更新时间
|
13344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13345
|
+
:type UpdateTime: str
|
13340
13346
|
"""
|
13341
13347
|
self._PipelineId = None
|
13342
13348
|
self._PipelineDesc = None
|
@@ -13348,6 +13354,8 @@ class LogstashPipelineInfo(AbstractModel):
|
|
13348
13354
|
self._QueueType = None
|
13349
13355
|
self._QueueMaxBytes = None
|
13350
13356
|
self._QueueCheckPointWrites = None
|
13357
|
+
self._CreateTime = None
|
13358
|
+
self._UpdateTime = None
|
13351
13359
|
|
13352
13360
|
@property
|
13353
13361
|
def PipelineId(self):
|
@@ -13467,6 +13475,30 @@ class LogstashPipelineInfo(AbstractModel):
|
|
13467
13475
|
def QueueCheckPointWrites(self, QueueCheckPointWrites):
|
13468
13476
|
self._QueueCheckPointWrites = QueueCheckPointWrites
|
13469
13477
|
|
13478
|
+
@property
|
13479
|
+
def CreateTime(self):
|
13480
|
+
"""创建时间
|
13481
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13482
|
+
:rtype: str
|
13483
|
+
"""
|
13484
|
+
return self._CreateTime
|
13485
|
+
|
13486
|
+
@CreateTime.setter
|
13487
|
+
def CreateTime(self, CreateTime):
|
13488
|
+
self._CreateTime = CreateTime
|
13489
|
+
|
13490
|
+
@property
|
13491
|
+
def UpdateTime(self):
|
13492
|
+
"""更新时间
|
13493
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13494
|
+
:rtype: str
|
13495
|
+
"""
|
13496
|
+
return self._UpdateTime
|
13497
|
+
|
13498
|
+
@UpdateTime.setter
|
13499
|
+
def UpdateTime(self, UpdateTime):
|
13500
|
+
self._UpdateTime = UpdateTime
|
13501
|
+
|
13470
13502
|
|
13471
13503
|
def _deserialize(self, params):
|
13472
13504
|
self._PipelineId = params.get("PipelineId")
|
@@ -13479,6 +13511,8 @@ class LogstashPipelineInfo(AbstractModel):
|
|
13479
13511
|
self._QueueType = params.get("QueueType")
|
13480
13512
|
self._QueueMaxBytes = params.get("QueueMaxBytes")
|
13481
13513
|
self._QueueCheckPointWrites = params.get("QueueCheckPointWrites")
|
13514
|
+
self._CreateTime = params.get("CreateTime")
|
13515
|
+
self._UpdateTime = params.get("UpdateTime")
|
13482
13516
|
memeber_set = set(params.keys())
|
13483
13517
|
for name, value in vars(self).items():
|
13484
13518
|
property_name = name[1:]
|
@@ -16065,6 +16099,9 @@ class ServerlessIndexMetaField(AbstractModel):
|
|
16065
16099
|
:param _IndexName: 索引名
|
16066
16100
|
注意:此字段可能返回 null,表示取不到有效值。
|
16067
16101
|
:type IndexName: str
|
16102
|
+
:param _IndexMetaJson: 索引元数据JSON
|
16103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16104
|
+
:type IndexMetaJson: str
|
16068
16105
|
:param _IndexDocs: 索引文档数
|
16069
16106
|
注意:此字段可能返回 null,表示取不到有效值。
|
16070
16107
|
:type IndexDocs: int
|
@@ -16109,12 +16146,13 @@ class ServerlessIndexMetaField(AbstractModel):
|
|
16109
16146
|
:type StorageType: int
|
16110
16147
|
:param _TagList: 标签信息
|
16111
16148
|
:type TagList: list of TagInfo
|
16112
|
-
:param _IndexTraffic:
|
16149
|
+
:param _IndexTraffic: 索引流量,单位byte
|
16113
16150
|
注意:此字段可能返回 null,表示取不到有效值。
|
16114
16151
|
:type IndexTraffic: float
|
16115
16152
|
"""
|
16116
16153
|
self._AppId = None
|
16117
16154
|
self._IndexName = None
|
16155
|
+
self._IndexMetaJson = None
|
16118
16156
|
self._IndexDocs = None
|
16119
16157
|
self._IndexStorage = None
|
16120
16158
|
self._IndexCreateTime = None
|
@@ -16156,6 +16194,18 @@ class ServerlessIndexMetaField(AbstractModel):
|
|
16156
16194
|
def IndexName(self, IndexName):
|
16157
16195
|
self._IndexName = IndexName
|
16158
16196
|
|
16197
|
+
@property
|
16198
|
+
def IndexMetaJson(self):
|
16199
|
+
"""索引元数据JSON
|
16200
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
16201
|
+
:rtype: str
|
16202
|
+
"""
|
16203
|
+
return self._IndexMetaJson
|
16204
|
+
|
16205
|
+
@IndexMetaJson.setter
|
16206
|
+
def IndexMetaJson(self, IndexMetaJson):
|
16207
|
+
self._IndexMetaJson = IndexMetaJson
|
16208
|
+
|
16159
16209
|
@property
|
16160
16210
|
def IndexDocs(self):
|
16161
16211
|
"""索引文档数
|
@@ -16337,7 +16387,7 @@ class ServerlessIndexMetaField(AbstractModel):
|
|
16337
16387
|
|
16338
16388
|
@property
|
16339
16389
|
def IndexTraffic(self):
|
16340
|
-
"""
|
16390
|
+
"""索引流量,单位byte
|
16341
16391
|
注意:此字段可能返回 null,表示取不到有效值。
|
16342
16392
|
:rtype: float
|
16343
16393
|
"""
|
@@ -16351,6 +16401,7 @@ class ServerlessIndexMetaField(AbstractModel):
|
|
16351
16401
|
def _deserialize(self, params):
|
16352
16402
|
self._AppId = params.get("AppId")
|
16353
16403
|
self._IndexName = params.get("IndexName")
|
16404
|
+
self._IndexMetaJson = params.get("IndexMetaJson")
|
16354
16405
|
self._IndexDocs = params.get("IndexDocs")
|
16355
16406
|
self._IndexStorage = params.get("IndexStorage")
|
16356
16407
|
self._IndexCreateTime = params.get("IndexCreateTime")
|
@@ -16729,7 +16780,7 @@ class ServerlessSpace(AbstractModel):
|
|
16729
16780
|
:param _ClusterType: 0
|
16730
16781
|
注意:此字段可能返回 null,表示取不到有效值。
|
16731
16782
|
:type ClusterType: int
|
16732
|
-
:param _TagList:
|
16783
|
+
:param _TagList: 空间标签信息
|
16733
16784
|
注意:此字段可能返回 null,表示取不到有效值。
|
16734
16785
|
:type TagList: list of TagInfo
|
16735
16786
|
"""
|
@@ -16979,7 +17030,7 @@ class ServerlessSpace(AbstractModel):
|
|
16979
17030
|
|
16980
17031
|
@property
|
16981
17032
|
def TagList(self):
|
16982
|
-
"""
|
17033
|
+
"""空间标签信息
|
16983
17034
|
注意:此字段可能返回 null,表示取不到有效值。
|
16984
17035
|
:rtype: list of TagInfo
|
16985
17036
|
"""
|
@@ -17278,6 +17329,9 @@ SUCCESS 备份成功
|
|
17278
17329
|
:param _Failures: 备份失败的索引分片和失败原因
|
17279
17330
|
注意:此字段可能返回 null,表示取不到有效值。
|
17280
17331
|
:type Failures: list of Failures
|
17332
|
+
:param _UserBackUp: 是否用户备份
|
17333
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17334
|
+
:type UserBackUp: str
|
17281
17335
|
"""
|
17282
17336
|
self._SnapshotName = None
|
17283
17337
|
self._Uuid = None
|
@@ -17292,6 +17346,7 @@ SUCCESS 备份成功
|
|
17292
17346
|
self._FailedShards = None
|
17293
17347
|
self._SuccessfulShards = None
|
17294
17348
|
self._Failures = None
|
17349
|
+
self._UserBackUp = None
|
17295
17350
|
|
17296
17351
|
@property
|
17297
17352
|
def SnapshotName(self):
|
@@ -17457,6 +17512,18 @@ SUCCESS 备份成功
|
|
17457
17512
|
def Failures(self, Failures):
|
17458
17513
|
self._Failures = Failures
|
17459
17514
|
|
17515
|
+
@property
|
17516
|
+
def UserBackUp(self):
|
17517
|
+
"""是否用户备份
|
17518
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
17519
|
+
:rtype: str
|
17520
|
+
"""
|
17521
|
+
return self._UserBackUp
|
17522
|
+
|
17523
|
+
@UserBackUp.setter
|
17524
|
+
def UserBackUp(self, UserBackUp):
|
17525
|
+
self._UserBackUp = UserBackUp
|
17526
|
+
|
17460
17527
|
|
17461
17528
|
def _deserialize(self, params):
|
17462
17529
|
self._SnapshotName = params.get("SnapshotName")
|
@@ -17477,6 +17544,7 @@ SUCCESS 备份成功
|
|
17477
17544
|
obj = Failures()
|
17478
17545
|
obj._deserialize(item)
|
17479
17546
|
self._Failures.append(obj)
|
17547
|
+
self._UserBackUp = params.get("UserBackUp")
|
17480
17548
|
memeber_set = set(params.keys())
|
17481
17549
|
for name, value in vars(self).items():
|
17482
17550
|
property_name = name[1:]
|
File without changes
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
|
17
|
+
# 内部错误。
|
18
|
+
INTERNALERROR = 'InternalError'
|
19
|
+
|
20
|
+
# 参数错误。
|
21
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
22
|
+
|
23
|
+
# 参数取值错误。
|
24
|
+
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
25
|
+
|
26
|
+
# 超过配额限制。
|
27
|
+
LIMITEXCEEDED = 'LimitExceeded'
|
28
|
+
|
29
|
+
# 缺少参数错误。
|
30
|
+
MISSINGPARAMETER = 'MissingParameter'
|
31
|
+
|
32
|
+
# 请求的次数超过了频率限制。
|
33
|
+
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
34
|
+
|
35
|
+
# 资源不存在。
|
36
|
+
RESOURCENOTFOUND = 'ResourceNotFound'
|
37
|
+
|
38
|
+
# 未授权操作。
|
39
|
+
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
40
|
+
|
41
|
+
# 未知参数错误。
|
42
|
+
UNKNOWNPARAMETER = 'UnknownParameter'
|
43
|
+
|
44
|
+
# 操作不支持。
|
45
|
+
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
@@ -0,0 +1,251 @@
|
|
1
|
+
# -*- coding: utf8 -*-
|
2
|
+
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
|
16
|
+
import json
|
17
|
+
|
18
|
+
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
19
|
+
from tencentcloud.common.abstract_client import AbstractClient
|
20
|
+
from tencentcloud.es.v20250101 import models
|
21
|
+
|
22
|
+
|
23
|
+
class EsClient(AbstractClient):
|
24
|
+
_apiVersion = '2025-01-01'
|
25
|
+
_endpoint = 'es.tencentcloudapi.com'
|
26
|
+
_service = 'es'
|
27
|
+
|
28
|
+
|
29
|
+
def ChatCompletions(self, request):
|
30
|
+
"""本服务支持一系列高性能的大语言模型,包括DeepSeek以及腾讯自主研发的混元大模型,结合混合搜索等先进搜索技术,快速高效实现RAG,有效解决幻觉和知识更新问题。
|
31
|
+
本接口有单账号调用上限控制,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service) 。
|
32
|
+
|
33
|
+
:param request: Request instance for ChatCompletions.
|
34
|
+
:type request: :class:`tencentcloud.es.v20250101.models.ChatCompletionsRequest`
|
35
|
+
:rtype: :class:`tencentcloud.es.v20250101.models.ChatCompletionsResponse`
|
36
|
+
|
37
|
+
"""
|
38
|
+
try:
|
39
|
+
params = request._serialize()
|
40
|
+
return self._call_and_deserialize("ChatCompletions", params, models.ChatCompletionsResponse, headers=request.headers)
|
41
|
+
except Exception as e:
|
42
|
+
if isinstance(e, TencentCloudSDKException):
|
43
|
+
raise
|
44
|
+
else:
|
45
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
46
|
+
|
47
|
+
|
48
|
+
def ChunkDocument(self, request):
|
49
|
+
"""实时文档切片
|
50
|
+
|
51
|
+
:param request: Request instance for ChunkDocument.
|
52
|
+
:type request: :class:`tencentcloud.es.v20250101.models.ChunkDocumentRequest`
|
53
|
+
:rtype: :class:`tencentcloud.es.v20250101.models.ChunkDocumentResponse`
|
54
|
+
|
55
|
+
"""
|
56
|
+
try:
|
57
|
+
params = request._serialize()
|
58
|
+
headers = request.headers
|
59
|
+
body = self.call("ChunkDocument", params, headers=headers)
|
60
|
+
response = json.loads(body)
|
61
|
+
model = models.ChunkDocumentResponse()
|
62
|
+
model._deserialize(response["Response"])
|
63
|
+
return model
|
64
|
+
except Exception as e:
|
65
|
+
if isinstance(e, TencentCloudSDKException):
|
66
|
+
raise
|
67
|
+
else:
|
68
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
69
|
+
|
70
|
+
|
71
|
+
def ChunkDocumentAsync(self, request):
|
72
|
+
"""文本切片是将长文本分割为短片段的技术,用于适配模型输入、提升处理效率或信息检索,平衡片段长度与语义连贯性,适用于NLP、数据分析等场景。
|
73
|
+
本接口为异步接口,有单账号调用上限控制,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service) 。
|
74
|
+
|
75
|
+
:param request: Request instance for ChunkDocumentAsync.
|
76
|
+
:type request: :class:`tencentcloud.es.v20250101.models.ChunkDocumentAsyncRequest`
|
77
|
+
:rtype: :class:`tencentcloud.es.v20250101.models.ChunkDocumentAsyncResponse`
|
78
|
+
|
79
|
+
"""
|
80
|
+
try:
|
81
|
+
params = request._serialize()
|
82
|
+
headers = request.headers
|
83
|
+
body = self.call("ChunkDocumentAsync", params, headers=headers)
|
84
|
+
response = json.loads(body)
|
85
|
+
model = models.ChunkDocumentAsyncResponse()
|
86
|
+
model._deserialize(response["Response"])
|
87
|
+
return model
|
88
|
+
except Exception as e:
|
89
|
+
if isinstance(e, TencentCloudSDKException):
|
90
|
+
raise
|
91
|
+
else:
|
92
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
93
|
+
|
94
|
+
|
95
|
+
def GetDocumentChunkResult(self, request):
|
96
|
+
"""获取文档切片结果
|
97
|
+
|
98
|
+
:param request: Request instance for GetDocumentChunkResult.
|
99
|
+
:type request: :class:`tencentcloud.es.v20250101.models.GetDocumentChunkResultRequest`
|
100
|
+
:rtype: :class:`tencentcloud.es.v20250101.models.GetDocumentChunkResultResponse`
|
101
|
+
|
102
|
+
"""
|
103
|
+
try:
|
104
|
+
params = request._serialize()
|
105
|
+
headers = request.headers
|
106
|
+
body = self.call("GetDocumentChunkResult", params, headers=headers)
|
107
|
+
response = json.loads(body)
|
108
|
+
model = models.GetDocumentChunkResultResponse()
|
109
|
+
model._deserialize(response["Response"])
|
110
|
+
return model
|
111
|
+
except Exception as e:
|
112
|
+
if isinstance(e, TencentCloudSDKException):
|
113
|
+
raise
|
114
|
+
else:
|
115
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
116
|
+
|
117
|
+
|
118
|
+
def GetDocumentParseResult(self, request):
|
119
|
+
"""本接口用于获取文档解析异步处理结果。
|
120
|
+
|
121
|
+
:param request: Request instance for GetDocumentParseResult.
|
122
|
+
:type request: :class:`tencentcloud.es.v20250101.models.GetDocumentParseResultRequest`
|
123
|
+
:rtype: :class:`tencentcloud.es.v20250101.models.GetDocumentParseResultResponse`
|
124
|
+
|
125
|
+
"""
|
126
|
+
try:
|
127
|
+
params = request._serialize()
|
128
|
+
headers = request.headers
|
129
|
+
body = self.call("GetDocumentParseResult", params, headers=headers)
|
130
|
+
response = json.loads(body)
|
131
|
+
model = models.GetDocumentParseResultResponse()
|
132
|
+
model._deserialize(response["Response"])
|
133
|
+
return model
|
134
|
+
except Exception as e:
|
135
|
+
if isinstance(e, TencentCloudSDKException):
|
136
|
+
raise
|
137
|
+
else:
|
138
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
139
|
+
|
140
|
+
|
141
|
+
def GetTextEmbedding(self, request):
|
142
|
+
"""Embedding是一种将高维数据映射到低维空间的技术,通常用于将非结构化数据,如文本、图像或音频转化为向量表示,使其更容易输入机器模型进行处理,并且向量之间的距离可以反映对象之间的相似性。
|
143
|
+
本接口有单账号调用上限控制,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service) 。
|
144
|
+
|
145
|
+
:param request: Request instance for GetTextEmbedding.
|
146
|
+
:type request: :class:`tencentcloud.es.v20250101.models.GetTextEmbeddingRequest`
|
147
|
+
:rtype: :class:`tencentcloud.es.v20250101.models.GetTextEmbeddingResponse`
|
148
|
+
|
149
|
+
"""
|
150
|
+
try:
|
151
|
+
params = request._serialize()
|
152
|
+
headers = request.headers
|
153
|
+
body = self.call("GetTextEmbedding", params, headers=headers)
|
154
|
+
response = json.loads(body)
|
155
|
+
model = models.GetTextEmbeddingResponse()
|
156
|
+
model._deserialize(response["Response"])
|
157
|
+
return model
|
158
|
+
except Exception as e:
|
159
|
+
if isinstance(e, TencentCloudSDKException):
|
160
|
+
raise
|
161
|
+
else:
|
162
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
163
|
+
|
164
|
+
|
165
|
+
def ParseDocument(self, request):
|
166
|
+
"""本服务可将各类格式文档精准转换为标准格式,满足企业知识库建设、技术文档迁移、内容平台结构化存储等需求。
|
167
|
+
本接口有单账号调用上限控制,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service)。
|
168
|
+
|
169
|
+
:param request: Request instance for ParseDocument.
|
170
|
+
:type request: :class:`tencentcloud.es.v20250101.models.ParseDocumentRequest`
|
171
|
+
:rtype: :class:`tencentcloud.es.v20250101.models.ParseDocumentResponse`
|
172
|
+
|
173
|
+
"""
|
174
|
+
try:
|
175
|
+
params = request._serialize()
|
176
|
+
return self._call_and_deserialize("ParseDocument", params, models.ParseDocumentResponse, headers=request.headers)
|
177
|
+
except Exception as e:
|
178
|
+
if isinstance(e, TencentCloudSDKException):
|
179
|
+
raise
|
180
|
+
else:
|
181
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
182
|
+
|
183
|
+
|
184
|
+
def ParseDocumentAsync(self, request):
|
185
|
+
"""本服务可将各类格式文档精准转换为标准格式,满足企业知识库建设、技术文档迁移、内容平台结构化存储等需求。
|
186
|
+
本接口为异步接口,有单账号调用上限控制,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service) 。
|
187
|
+
|
188
|
+
:param request: Request instance for ParseDocumentAsync.
|
189
|
+
:type request: :class:`tencentcloud.es.v20250101.models.ParseDocumentAsyncRequest`
|
190
|
+
:rtype: :class:`tencentcloud.es.v20250101.models.ParseDocumentAsyncResponse`
|
191
|
+
|
192
|
+
"""
|
193
|
+
try:
|
194
|
+
params = request._serialize()
|
195
|
+
headers = request.headers
|
196
|
+
body = self.call("ParseDocumentAsync", params, headers=headers)
|
197
|
+
response = json.loads(body)
|
198
|
+
model = models.ParseDocumentAsyncResponse()
|
199
|
+
model._deserialize(response["Response"])
|
200
|
+
return model
|
201
|
+
except Exception as e:
|
202
|
+
if isinstance(e, TencentCloudSDKException):
|
203
|
+
raise
|
204
|
+
else:
|
205
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
206
|
+
|
207
|
+
|
208
|
+
def RunRerank(self, request):
|
209
|
+
"""重排序
|
210
|
+
|
211
|
+
:param request: Request instance for RunRerank.
|
212
|
+
:type request: :class:`tencentcloud.es.v20250101.models.RunRerankRequest`
|
213
|
+
:rtype: :class:`tencentcloud.es.v20250101.models.RunRerankResponse`
|
214
|
+
|
215
|
+
"""
|
216
|
+
try:
|
217
|
+
params = request._serialize()
|
218
|
+
headers = request.headers
|
219
|
+
body = self.call("RunRerank", params, headers=headers)
|
220
|
+
response = json.loads(body)
|
221
|
+
model = models.RunRerankResponse()
|
222
|
+
model._deserialize(response["Response"])
|
223
|
+
return model
|
224
|
+
except Exception as e:
|
225
|
+
if isinstance(e, TencentCloudSDKException):
|
226
|
+
raise
|
227
|
+
else:
|
228
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
229
|
+
|
230
|
+
|
231
|
+
def WebSearch(self, request):
|
232
|
+
"""WebSearch API 是一个网页搜索服务,支持多种搜索引擎,可以获取网页的标题、URL、摘要和正文内容。
|
233
|
+
|
234
|
+
:param request: Request instance for WebSearch.
|
235
|
+
:type request: :class:`tencentcloud.es.v20250101.models.WebSearchRequest`
|
236
|
+
:rtype: :class:`tencentcloud.es.v20250101.models.WebSearchResponse`
|
237
|
+
|
238
|
+
"""
|
239
|
+
try:
|
240
|
+
params = request._serialize()
|
241
|
+
headers = request.headers
|
242
|
+
body = self.call("WebSearch", params, headers=headers)
|
243
|
+
response = json.loads(body)
|
244
|
+
model = models.WebSearchResponse()
|
245
|
+
model._deserialize(response["Response"])
|
246
|
+
return model
|
247
|
+
except Exception as e:
|
248
|
+
if isinstance(e, TencentCloudSDKException):
|
249
|
+
raise
|
250
|
+
else:
|
251
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|