tencentcloud-sdk-python 3.0.1350__py2.py3-none-any.whl → 3.0.1352__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/antiddos/v20200309/models.py +0 -2
- tencentcloud/batch/v20170312/models.py +0 -8
- tencentcloud/ccc/v20200210/ccc_client.py +92 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +676 -60
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +908 -26
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/models.py +2 -6
- tencentcloud/cynosdb/v20190107/models.py +30 -76
- tencentcloud/dbbrain/v20191016/models.py +228 -10
- tencentcloud/dbbrain/v20210527/models.py +228 -10
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +284 -0
- tencentcloud/dnspod/v20210323/models.py +2 -48
- tencentcloud/dts/v20211206/models.py +2 -0
- tencentcloud/ess/v20201111/models.py +6 -6
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/gs/v20191118/gs_client.py +23 -0
- tencentcloud/gs/v20191118/models.py +119 -0
- tencentcloud/hai/v20230812/models.py +2 -18
- tencentcloud/iotexplorer/v20190423/models.py +92 -8
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +46 -0
- tencentcloud/iss/v20230517/models.py +409 -0
- tencentcloud/lighthouse/v20200324/models.py +10 -4
- tencentcloud/live/v20180801/models.py +4 -6
- tencentcloud/lke/v20231130/models.py +51 -2
- tencentcloud/mps/v20190612/models.py +8 -8
- tencentcloud/mqtt/v20240516/models.py +89 -12
- tencentcloud/ocr/v20181119/models.py +143 -0
- tencentcloud/partners/v20180321/models.py +15 -0
- tencentcloud/rce/v20201103/models.py +0 -15
- tencentcloud/tdmq/v20200217/models.py +45 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +9 -3
- tencentcloud/teo/v20220901/models.py +85 -12
- tencentcloud/tione/v20211111/errorcodes.py +105 -0
- tencentcloud/tione/v20211111/models.py +666 -0
- tencentcloud/tione/v20211111/tione_client.py +92 -0
- tencentcloud/trro/v20220325/models.py +992 -44
- tencentcloud/trro/v20220325/trro_client.py +117 -0
- tencentcloud/trtc/v20190722/models.py +19 -64
- tencentcloud/vdb/v20230616/models.py +1438 -40
- tencentcloud/vdb/v20230616/vdb_client.py +184 -0
- tencentcloud/vod/v20180717/models.py +15 -2
- tencentcloud/vod/v20240718/errorcodes.py +33 -0
- tencentcloud/vod/v20240718/models.py +1841 -0
- tencentcloud/vod/v20240718/vod_client.py +146 -0
- tencentcloud/wedata/v20210820/models.py +791 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/RECORD +58 -58
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/top_level.txt +0 -0
@@ -427,10 +427,8 @@ class DescribeApplicationsResponse(AbstractModel):
|
|
427
427
|
def __init__(self):
|
428
428
|
r"""
|
429
429
|
:param _TotalCount: 应用总数
|
430
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
431
430
|
:type TotalCount: int
|
432
431
|
:param _ApplicationSet: 分页返回的应用列表
|
433
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
434
432
|
:type ApplicationSet: list of ApplicationInfo
|
435
433
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
436
434
|
:type RequestId: str
|
@@ -442,7 +440,6 @@ class DescribeApplicationsResponse(AbstractModel):
|
|
442
440
|
@property
|
443
441
|
def TotalCount(self):
|
444
442
|
"""应用总数
|
445
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
446
443
|
:rtype: int
|
447
444
|
"""
|
448
445
|
return self._TotalCount
|
@@ -454,7 +451,6 @@ class DescribeApplicationsResponse(AbstractModel):
|
|
454
451
|
@property
|
455
452
|
def ApplicationSet(self):
|
456
453
|
"""分页返回的应用列表
|
457
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
458
454
|
:rtype: list of ApplicationInfo
|
459
455
|
"""
|
460
456
|
return self._ApplicationSet
|
@@ -532,7 +528,6 @@ class DescribeInstanceNetworkStatusResponse(AbstractModel):
|
|
532
528
|
:param _TotalCount: 查询结果集长度
|
533
529
|
:type TotalCount: int
|
534
530
|
:param _NetworkStatusSet: 查询结果集
|
535
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
536
531
|
:type NetworkStatusSet: list of NetworkStatus
|
537
532
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
538
533
|
:type RequestId: str
|
@@ -555,7 +550,6 @@ class DescribeInstanceNetworkStatusResponse(AbstractModel):
|
|
555
550
|
@property
|
556
551
|
def NetworkStatusSet(self):
|
557
552
|
"""查询结果集
|
558
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
559
553
|
:rtype: list of NetworkStatus
|
560
554
|
"""
|
561
555
|
return self._NetworkStatusSet
|
@@ -2097,10 +2091,8 @@ class LoginSetting(AbstractModel):
|
|
2097
2091
|
def __init__(self):
|
2098
2092
|
r"""
|
2099
2093
|
:param _ServiceName: 服务名称
|
2100
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2101
2094
|
:type ServiceName: str
|
2102
2095
|
:param _Url: 服务登录url
|
2103
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2104
2096
|
:type Url: str
|
2105
2097
|
"""
|
2106
2098
|
self._ServiceName = None
|
@@ -2109,7 +2101,6 @@ class LoginSetting(AbstractModel):
|
|
2109
2101
|
@property
|
2110
2102
|
def ServiceName(self):
|
2111
2103
|
"""服务名称
|
2112
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2113
2104
|
:rtype: str
|
2114
2105
|
"""
|
2115
2106
|
return self._ServiceName
|
@@ -2121,7 +2112,6 @@ class LoginSetting(AbstractModel):
|
|
2121
2112
|
@property
|
2122
2113
|
def Url(self):
|
2123
2114
|
"""服务登录url
|
2124
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
2125
2115
|
:rtype: str
|
2126
2116
|
"""
|
2127
2117
|
return self._Url
|
@@ -3010,14 +3000,11 @@ class SystemDisk(AbstractModel):
|
|
3010
3000
|
|
3011
3001
|
def __init__(self):
|
3012
3002
|
r"""
|
3013
|
-
:param _DiskType:
|
3014
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3003
|
+
:param _DiskType: 系统盘类型。取值范围:<li>CLOUD_PREMIUM:高性能云硬盘</li><li>CLOUD_HSSD:增强型SSD云盘</li>默认取值:当前有库存的硬盘类型。
|
3015
3004
|
:type DiskType: str
|
3016
3005
|
:param _DiskSize: 系统盘大小,单位:GB。默认值为 80
|
3017
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3018
3006
|
:type DiskSize: int
|
3019
3007
|
:param _DiskName: 系统盘分区盘符
|
3020
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3021
3008
|
:type DiskName: str
|
3022
3009
|
"""
|
3023
3010
|
self._DiskType = None
|
@@ -3026,8 +3013,7 @@ class SystemDisk(AbstractModel):
|
|
3026
3013
|
|
3027
3014
|
@property
|
3028
3015
|
def DiskType(self):
|
3029
|
-
"""
|
3030
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3016
|
+
"""系统盘类型。取值范围:<li>CLOUD_PREMIUM:高性能云硬盘</li><li>CLOUD_HSSD:增强型SSD云盘</li>默认取值:当前有库存的硬盘类型。
|
3031
3017
|
:rtype: str
|
3032
3018
|
"""
|
3033
3019
|
return self._DiskType
|
@@ -3039,7 +3025,6 @@ class SystemDisk(AbstractModel):
|
|
3039
3025
|
@property
|
3040
3026
|
def DiskSize(self):
|
3041
3027
|
"""系统盘大小,单位:GB。默认值为 80
|
3042
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3043
3028
|
:rtype: int
|
3044
3029
|
"""
|
3045
3030
|
return self._DiskSize
|
@@ -3051,7 +3036,6 @@ class SystemDisk(AbstractModel):
|
|
3051
3036
|
@property
|
3052
3037
|
def DiskName(self):
|
3053
3038
|
"""系统盘分区盘符
|
3054
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3055
3039
|
:rtype: str
|
3056
3040
|
"""
|
3057
3041
|
return self._DiskName
|
@@ -2064,12 +2064,15 @@ class CloudStorageAIServiceTaskFileInfo(AbstractModel):
|
|
2064
2064
|
:type MimeType: str
|
2065
2065
|
:param _VideoMetaInfo: 视频文件元数据(仅当文件为视频类型时包含该字段)
|
2066
2066
|
:type VideoMetaInfo: :class:`tencentcloud.iotexplorer.v20190423.models.CloudStorageAIServiceTaskVideoMetaInfo`
|
2067
|
+
:param _Labels: 文件标签
|
2068
|
+
:type Labels: list of CloudStorageAIServiceTaskFileLabel
|
2067
2069
|
"""
|
2068
2070
|
self._FileName = None
|
2069
2071
|
self._FileSize = None
|
2070
2072
|
self._DownloadURL = None
|
2071
2073
|
self._MimeType = None
|
2072
2074
|
self._VideoMetaInfo = None
|
2075
|
+
self._Labels = None
|
2073
2076
|
|
2074
2077
|
@property
|
2075
2078
|
def FileName(self):
|
@@ -2126,6 +2129,17 @@ class CloudStorageAIServiceTaskFileInfo(AbstractModel):
|
|
2126
2129
|
def VideoMetaInfo(self, VideoMetaInfo):
|
2127
2130
|
self._VideoMetaInfo = VideoMetaInfo
|
2128
2131
|
|
2132
|
+
@property
|
2133
|
+
def Labels(self):
|
2134
|
+
"""文件标签
|
2135
|
+
:rtype: list of CloudStorageAIServiceTaskFileLabel
|
2136
|
+
"""
|
2137
|
+
return self._Labels
|
2138
|
+
|
2139
|
+
@Labels.setter
|
2140
|
+
def Labels(self, Labels):
|
2141
|
+
self._Labels = Labels
|
2142
|
+
|
2129
2143
|
|
2130
2144
|
def _deserialize(self, params):
|
2131
2145
|
self._FileName = params.get("FileName")
|
@@ -2135,6 +2149,63 @@ class CloudStorageAIServiceTaskFileInfo(AbstractModel):
|
|
2135
2149
|
if params.get("VideoMetaInfo") is not None:
|
2136
2150
|
self._VideoMetaInfo = CloudStorageAIServiceTaskVideoMetaInfo()
|
2137
2151
|
self._VideoMetaInfo._deserialize(params.get("VideoMetaInfo"))
|
2152
|
+
if params.get("Labels") is not None:
|
2153
|
+
self._Labels = []
|
2154
|
+
for item in params.get("Labels"):
|
2155
|
+
obj = CloudStorageAIServiceTaskFileLabel()
|
2156
|
+
obj._deserialize(item)
|
2157
|
+
self._Labels.append(obj)
|
2158
|
+
memeber_set = set(params.keys())
|
2159
|
+
for name, value in vars(self).items():
|
2160
|
+
property_name = name[1:]
|
2161
|
+
if property_name in memeber_set:
|
2162
|
+
memeber_set.remove(property_name)
|
2163
|
+
if len(memeber_set) > 0:
|
2164
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2165
|
+
|
2166
|
+
|
2167
|
+
|
2168
|
+
class CloudStorageAIServiceTaskFileLabel(AbstractModel):
|
2169
|
+
"""云存 AI 任务输出文件标签
|
2170
|
+
|
2171
|
+
"""
|
2172
|
+
|
2173
|
+
def __init__(self):
|
2174
|
+
r"""
|
2175
|
+
:param _Key: key1
|
2176
|
+
:type Key: str
|
2177
|
+
:param _Value: value1
|
2178
|
+
:type Value: str
|
2179
|
+
"""
|
2180
|
+
self._Key = None
|
2181
|
+
self._Value = None
|
2182
|
+
|
2183
|
+
@property
|
2184
|
+
def Key(self):
|
2185
|
+
"""key1
|
2186
|
+
:rtype: str
|
2187
|
+
"""
|
2188
|
+
return self._Key
|
2189
|
+
|
2190
|
+
@Key.setter
|
2191
|
+
def Key(self, Key):
|
2192
|
+
self._Key = Key
|
2193
|
+
|
2194
|
+
@property
|
2195
|
+
def Value(self):
|
2196
|
+
"""value1
|
2197
|
+
:rtype: str
|
2198
|
+
"""
|
2199
|
+
return self._Value
|
2200
|
+
|
2201
|
+
@Value.setter
|
2202
|
+
def Value(self, Value):
|
2203
|
+
self._Value = Value
|
2204
|
+
|
2205
|
+
|
2206
|
+
def _deserialize(self, params):
|
2207
|
+
self._Key = params.get("Key")
|
2208
|
+
self._Value = params.get("Value")
|
2138
2209
|
memeber_set = set(params.keys())
|
2139
2210
|
for name, value in vars(self).items():
|
2140
2211
|
property_name = name[1:]
|
@@ -7248,10 +7319,8 @@ class DescribeCloudStorageAIServiceCallbackResponse(AbstractModel):
|
|
7248
7319
|
:param _Type: 推送类型。http:HTTP 回调
|
7249
7320
|
:type Type: str
|
7250
7321
|
:param _CallbackUrl: HTTP 回调 URL
|
7251
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7252
7322
|
:type CallbackUrl: str
|
7253
7323
|
:param _CallbackToken: HTTP 回调鉴权 Token
|
7254
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7255
7324
|
:type CallbackToken: str
|
7256
7325
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7257
7326
|
:type RequestId: str
|
@@ -7275,7 +7344,6 @@ class DescribeCloudStorageAIServiceCallbackResponse(AbstractModel):
|
|
7275
7344
|
@property
|
7276
7345
|
def CallbackUrl(self):
|
7277
7346
|
"""HTTP 回调 URL
|
7278
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7279
7347
|
:rtype: str
|
7280
7348
|
"""
|
7281
7349
|
return self._CallbackUrl
|
@@ -7287,7 +7355,6 @@ class DescribeCloudStorageAIServiceCallbackResponse(AbstractModel):
|
|
7287
7355
|
@property
|
7288
7356
|
def CallbackToken(self):
|
7289
7357
|
"""HTTP 回调鉴权 Token
|
7290
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7291
7358
|
:rtype: str
|
7292
7359
|
"""
|
7293
7360
|
return self._CallbackToken
|
@@ -7541,8 +7608,13 @@ class DescribeCloudStorageAIServiceTaskRequest(AbstractModel):
|
|
7541
7608
|
r"""
|
7542
7609
|
:param _TaskId: 任务 ID
|
7543
7610
|
:type TaskId: str
|
7611
|
+
:param _FileURLExpireTime: 下载 URL 的过期时间。
|
7612
|
+
|
7613
|
+
若传入该参数,则响应中将包含所有文件的下载 URL
|
7614
|
+
:type FileURLExpireTime: int
|
7544
7615
|
"""
|
7545
7616
|
self._TaskId = None
|
7617
|
+
self._FileURLExpireTime = None
|
7546
7618
|
|
7547
7619
|
@property
|
7548
7620
|
def TaskId(self):
|
@@ -7555,9 +7627,23 @@ class DescribeCloudStorageAIServiceTaskRequest(AbstractModel):
|
|
7555
7627
|
def TaskId(self, TaskId):
|
7556
7628
|
self._TaskId = TaskId
|
7557
7629
|
|
7630
|
+
@property
|
7631
|
+
def FileURLExpireTime(self):
|
7632
|
+
"""下载 URL 的过期时间。
|
7633
|
+
|
7634
|
+
若传入该参数,则响应中将包含所有文件的下载 URL
|
7635
|
+
:rtype: int
|
7636
|
+
"""
|
7637
|
+
return self._FileURLExpireTime
|
7638
|
+
|
7639
|
+
@FileURLExpireTime.setter
|
7640
|
+
def FileURLExpireTime(self, FileURLExpireTime):
|
7641
|
+
self._FileURLExpireTime = FileURLExpireTime
|
7642
|
+
|
7558
7643
|
|
7559
7644
|
def _deserialize(self, params):
|
7560
7645
|
self._TaskId = params.get("TaskId")
|
7646
|
+
self._FileURLExpireTime = params.get("FileURLExpireTime")
|
7561
7647
|
memeber_set = set(params.keys())
|
7562
7648
|
for name, value in vars(self).items():
|
7563
7649
|
property_name = name[1:]
|
@@ -19188,7 +19274,7 @@ class InstanceDetail(AbstractModel):
|
|
19188
19274
|
:param _CellNum: 实例单元数
|
19189
19275
|
注意:此字段可能返回 null,表示取不到有效值。
|
19190
19276
|
:type CellNum: int
|
19191
|
-
:param _BillingTag: 实例Tag
|
19277
|
+
:param _BillingTag: 实例Tag,企业实例必传
|
19192
19278
|
注意:此字段可能返回 null,表示取不到有效值。
|
19193
19279
|
:type BillingTag: str
|
19194
19280
|
:param _EverydayFreeMessageCount: 每日消息数
|
@@ -19453,7 +19539,7 @@ class InstanceDetail(AbstractModel):
|
|
19453
19539
|
|
19454
19540
|
@property
|
19455
19541
|
def BillingTag(self):
|
19456
|
-
"""实例Tag
|
19542
|
+
"""实例Tag,企业实例必传
|
19457
19543
|
注意:此字段可能返回 null,表示取不到有效值。
|
19458
19544
|
:rtype: str
|
19459
19545
|
"""
|
@@ -19903,7 +19989,6 @@ class InvokeExternalSourceAIServiceTaskResponse(AbstractModel):
|
|
19903
19989
|
:param _TaskId: 任务 ID
|
19904
19990
|
:type TaskId: str
|
19905
19991
|
:param _TaskInfo: 任务信息
|
19906
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19907
19992
|
:type TaskInfo: :class:`tencentcloud.iotexplorer.v20190423.models.CloudStorageAIServiceTask`
|
19908
19993
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
19909
19994
|
:type RequestId: str
|
@@ -19938,7 +20023,6 @@ class InvokeExternalSourceAIServiceTaskResponse(AbstractModel):
|
|
19938
20023
|
@property
|
19939
20024
|
def TaskInfo(self):
|
19940
20025
|
"""任务信息
|
19941
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
19942
20026
|
:rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CloudStorageAIServiceTask`
|
19943
20027
|
"""
|
19944
20028
|
return self._TaskInfo
|
@@ -347,6 +347,9 @@ INVALIDPARAMETERVALUE_ORGANIZATIONCOUNTEXCEEDSRANGE = 'InvalidParameterValue.Org
|
|
347
347
|
# 时间范围超限
|
348
348
|
INVALIDPARAMETERVALUE_OUTOFTIMERANGE = 'InvalidParameterValue.OutOfTimeRange'
|
349
349
|
|
350
|
+
# 页面大小超出限制,单页最多请求2000条记录
|
351
|
+
INVALIDPARAMETERVALUE_PAGESIZEEXCEEDLIMIT = 'InvalidParameterValue.PageSizeExceedLimit'
|
352
|
+
|
350
353
|
# 通道数量一次最多添加5000路
|
351
354
|
INVALIDPARAMETERVALUE_PLANCHANNELSEXCEEDSRANGE = 'InvalidParameterValue.PlanChannelsExceedsRange'
|
352
355
|
|
@@ -328,6 +328,29 @@ class IssClient(AbstractClient):
|
|
328
328
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
329
329
|
|
330
330
|
|
331
|
+
def ControlDeviceSnapshot(self, request):
|
332
|
+
"""控制设备抓拍--单次,当前仅支持国标设备
|
333
|
+
|
334
|
+
:param request: Request instance for ControlDeviceSnapshot.
|
335
|
+
:type request: :class:`tencentcloud.iss.v20230517.models.ControlDeviceSnapshotRequest`
|
336
|
+
:rtype: :class:`tencentcloud.iss.v20230517.models.ControlDeviceSnapshotResponse`
|
337
|
+
|
338
|
+
"""
|
339
|
+
try:
|
340
|
+
params = request._serialize()
|
341
|
+
headers = request.headers
|
342
|
+
body = self.call("ControlDeviceSnapshot", params, headers=headers)
|
343
|
+
response = json.loads(body)
|
344
|
+
model = models.ControlDeviceSnapshotResponse()
|
345
|
+
model._deserialize(response["Response"])
|
346
|
+
return model
|
347
|
+
except Exception as e:
|
348
|
+
if isinstance(e, TencentCloudSDKException):
|
349
|
+
raise
|
350
|
+
else:
|
351
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
352
|
+
|
353
|
+
|
331
354
|
def ControlDeviceStream(self, request):
|
332
355
|
"""用于获取设备的实时开流地址。
|
333
356
|
|
@@ -1249,6 +1272,29 @@ class IssClient(AbstractClient):
|
|
1249
1272
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1250
1273
|
|
1251
1274
|
|
1275
|
+
def ListDeviceSnapshots(self, request):
|
1276
|
+
"""获取设备抓拍结果列表
|
1277
|
+
|
1278
|
+
:param request: Request instance for ListDeviceSnapshots.
|
1279
|
+
:type request: :class:`tencentcloud.iss.v20230517.models.ListDeviceSnapshotsRequest`
|
1280
|
+
:rtype: :class:`tencentcloud.iss.v20230517.models.ListDeviceSnapshotsResponse`
|
1281
|
+
|
1282
|
+
"""
|
1283
|
+
try:
|
1284
|
+
params = request._serialize()
|
1285
|
+
headers = request.headers
|
1286
|
+
body = self.call("ListDeviceSnapshots", params, headers=headers)
|
1287
|
+
response = json.loads(body)
|
1288
|
+
model = models.ListDeviceSnapshotsResponse()
|
1289
|
+
model._deserialize(response["Response"])
|
1290
|
+
return model
|
1291
|
+
except Exception as e:
|
1292
|
+
if isinstance(e, TencentCloudSDKException):
|
1293
|
+
raise
|
1294
|
+
else:
|
1295
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1296
|
+
|
1297
|
+
|
1252
1298
|
def ListDevices(self, request):
|
1253
1299
|
"""用于获取对应组织下的设备列表。
|
1254
1300
|
|