tencentcloud-sdk-python 3.0.1357__py2.py3-none-any.whl → 3.0.1359__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/bh/v20230418/bh_client.py +115 -0
- tencentcloud/bh/v20230418/errorcodes.py +15 -0
- tencentcloud/bh/v20230418/models.py +854 -28
- tencentcloud/bpaas/v20181217/models.py +0 -54
- tencentcloud/ccc/v20200210/ccc_client.py +69 -0
- tencentcloud/ccc/v20200210/models.py +559 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +15 -0
- tencentcloud/chc/v20230418/chc_client.py +23 -0
- tencentcloud/chc/v20230418/models.py +185 -2
- tencentcloud/clb/v20180317/models.py +17 -0
- tencentcloud/cls/v20201016/cls_client.py +23 -0
- tencentcloud/cls/v20201016/models.py +79 -0
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +4 -4
- tencentcloud/es/v20180416/models.py +57 -6
- tencentcloud/es/v20250101/__init__.py +0 -0
- tencentcloud/es/v20250101/errorcodes.py +45 -0
- tencentcloud/es/v20250101/es_client.py +228 -0
- tencentcloud/es/v20250101/models.py +2168 -0
- tencentcloud/ess/v20201111/ess_client.py +34 -0
- tencentcloud/ess/v20201111/models.py +137 -2
- tencentcloud/essbasic/v20210526/essbasic_client.py +33 -0
- tencentcloud/essbasic/v20210526/models.py +120 -0
- tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +46 -0
- tencentcloud/hunyuan/v20230901/models.py +345 -0
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/live/v20180801/models.py +2 -14
- tencentcloud/lke/v20231130/models.py +232 -2
- tencentcloud/lkeap/v20240522/lkeap_client.py +3 -3
- tencentcloud/monitor/v20180724/errorcodes.py +3 -0
- tencentcloud/monitor/v20180724/models.py +34 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +38 -20
- tencentcloud/ocr/v20181119/models.py +2 -2
- tencentcloud/sts/v20180813/errorcodes.py +9 -0
- tencentcloud/sts/v20180813/models.py +171 -0
- tencentcloud/sts/v20180813/sts_client.py +23 -0
- tencentcloud/tcr/v20190924/models.py +10 -6
- tencentcloud/tdmq/v20200217/models.py +68 -0
- tencentcloud/tione/v20211111/errorcodes.py +3 -0
- tencentcloud/tione/v20211111/models.py +384 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +4 -10
- tencentcloud/trtc/v20190722/trtc_client.py +4 -0
- tencentcloud/tse/v20201207/models.py +0 -298
- tencentcloud/tsf/v20180326/models.py +6 -110
- tencentcloud/tsf/v20180326/tsf_client.py +3 -1
- tencentcloud/waf/v20180125/models.py +473 -0
- tencentcloud/waf/v20180125/waf_client.py +69 -0
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/RECORD +57 -53
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1357.dist-info → tencentcloud_sdk_python-3.0.1359.dist-info}/top_level.txt +0 -0
@@ -363,32 +363,24 @@ class GetBpaasApproveDetailResponse(AbstractModel):
|
|
363
363
|
:param _ApplyOwnUin: 申请人主账号
|
364
364
|
:type ApplyOwnUin: int
|
365
365
|
:param _ApplyUinNick: 申请人昵称
|
366
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
367
366
|
:type ApplyUinNick: str
|
368
367
|
:param _BpaasId: 审批流id
|
369
368
|
:type BpaasId: int
|
370
369
|
:param _BpaasName: 审批流名称
|
371
370
|
:type BpaasName: str
|
372
371
|
:param _ApplicationParams: 申请参数
|
373
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
374
372
|
:type ApplicationParams: list of ApplyParam
|
375
373
|
:param _Reason: 申请原因
|
376
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
377
374
|
:type Reason: str
|
378
375
|
:param _CreateTime: 申请时间
|
379
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
380
376
|
:type CreateTime: str
|
381
377
|
:param _Status: 申请单状态
|
382
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
383
378
|
:type Status: int
|
384
379
|
:param _Nodes: 节点信息
|
385
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
386
380
|
:type Nodes: list of StatusNode
|
387
381
|
:param _ApprovingNodeId: 正在审批的节点id
|
388
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
389
382
|
:type ApprovingNodeId: str
|
390
383
|
:param _ModifyTime: 更新时间,时间格式:2021-12-12 10:12:10
|
391
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
392
384
|
:type ModifyTime: str
|
393
385
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
394
386
|
:type RequestId: str
|
@@ -432,7 +424,6 @@ class GetBpaasApproveDetailResponse(AbstractModel):
|
|
432
424
|
@property
|
433
425
|
def ApplyUinNick(self):
|
434
426
|
"""申请人昵称
|
435
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
436
427
|
:rtype: str
|
437
428
|
"""
|
438
429
|
return self._ApplyUinNick
|
@@ -466,7 +457,6 @@ class GetBpaasApproveDetailResponse(AbstractModel):
|
|
466
457
|
@property
|
467
458
|
def ApplicationParams(self):
|
468
459
|
"""申请参数
|
469
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
470
460
|
:rtype: list of ApplyParam
|
471
461
|
"""
|
472
462
|
return self._ApplicationParams
|
@@ -478,7 +468,6 @@ class GetBpaasApproveDetailResponse(AbstractModel):
|
|
478
468
|
@property
|
479
469
|
def Reason(self):
|
480
470
|
"""申请原因
|
481
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
482
471
|
:rtype: str
|
483
472
|
"""
|
484
473
|
return self._Reason
|
@@ -490,7 +479,6 @@ class GetBpaasApproveDetailResponse(AbstractModel):
|
|
490
479
|
@property
|
491
480
|
def CreateTime(self):
|
492
481
|
"""申请时间
|
493
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
494
482
|
:rtype: str
|
495
483
|
"""
|
496
484
|
return self._CreateTime
|
@@ -502,7 +490,6 @@ class GetBpaasApproveDetailResponse(AbstractModel):
|
|
502
490
|
@property
|
503
491
|
def Status(self):
|
504
492
|
"""申请单状态
|
505
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
506
493
|
:rtype: int
|
507
494
|
"""
|
508
495
|
return self._Status
|
@@ -514,7 +501,6 @@ class GetBpaasApproveDetailResponse(AbstractModel):
|
|
514
501
|
@property
|
515
502
|
def Nodes(self):
|
516
503
|
"""节点信息
|
517
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
518
504
|
:rtype: list of StatusNode
|
519
505
|
"""
|
520
506
|
return self._Nodes
|
@@ -526,7 +512,6 @@ class GetBpaasApproveDetailResponse(AbstractModel):
|
|
526
512
|
@property
|
527
513
|
def ApprovingNodeId(self):
|
528
514
|
"""正在审批的节点id
|
529
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
530
515
|
:rtype: str
|
531
516
|
"""
|
532
517
|
return self._ApprovingNodeId
|
@@ -538,7 +523,6 @@ class GetBpaasApproveDetailResponse(AbstractModel):
|
|
538
523
|
@property
|
539
524
|
def ModifyTime(self):
|
540
525
|
"""更新时间,时间格式:2021-12-12 10:12:10
|
541
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
542
526
|
:rtype: str
|
543
527
|
"""
|
544
528
|
return self._ModifyTime
|
@@ -868,61 +852,42 @@ class StatusNode(AbstractModel):
|
|
868
852
|
:param _NextNode: 下一个节点
|
869
853
|
:type NextNode: str
|
870
854
|
:param _Opinion: 审批意见模型
|
871
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
872
855
|
:type Opinion: :class:`tencentcloud.bpaas.v20181217.models.ApproveOpinion`
|
873
856
|
:param _ScfName: scf函数名称
|
874
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
875
857
|
:type ScfName: str
|
876
858
|
:param _SubStatus: 状态(0:待审批,1:审批通过,2:拒绝,3:scf执行失败,4:scf执行成功)18: 外部审批中
|
877
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
878
859
|
:type SubStatus: int
|
879
860
|
:param _ApprovedUin: 审批节点审批人
|
880
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
881
861
|
:type ApprovedUin: list of int non-negative
|
882
862
|
:param _CreateTime: 审批时间
|
883
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
884
863
|
:type CreateTime: str
|
885
864
|
:param _Msg: 审批意见信息 审批节点:审批人意见 执行节点:scf函数执行日志
|
886
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
887
865
|
:type Msg: str
|
888
866
|
:param _Users: 有权限审批该节点的uin
|
889
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
890
867
|
:type Users: :class:`tencentcloud.bpaas.v20181217.models.ApproveUser`
|
891
868
|
:param _IsApprove: 是否有权限审批该节点
|
892
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
893
869
|
:type IsApprove: bool
|
894
870
|
:param _ApproveId: 审批id
|
895
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
896
871
|
:type ApproveId: str
|
897
872
|
:param _ApproveMethod: 审批方式 0或签 1会签
|
898
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
899
873
|
:type ApproveMethod: int
|
900
874
|
:param _ApproveType: 审批节点审批类型,1人工审批 2自动通过 3自动决绝 4外部审批scf
|
901
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
902
875
|
:type ApproveType: int
|
903
876
|
:param _CallMethod: 外部审批类型 scf:0或null ; CKafka:1
|
904
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
905
877
|
:type CallMethod: int
|
906
878
|
:param _DataHubId: CKafka - 接入资源ID
|
907
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
908
879
|
:type DataHubId: str
|
909
880
|
:param _TaskName: CKafka - 任务名称
|
910
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
911
881
|
:type TaskName: str
|
912
882
|
:param _CKafkaRegion: CKafka - 地域
|
913
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
914
883
|
:type CKafkaRegion: str
|
915
884
|
:param _ExternalUrl: 外部审批Url
|
916
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
917
885
|
:type ExternalUrl: str
|
918
886
|
:param _ParallelNodes: 并行节点 3-4
|
919
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
920
887
|
:type ParallelNodes: str
|
921
888
|
:param _RejectedCloudFunctionMsg: scf拒绝时返回信息
|
922
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
923
889
|
:type RejectedCloudFunctionMsg: str
|
924
890
|
:param _PrevNode: 上一个节点
|
925
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
926
891
|
:type PrevNode: str
|
927
892
|
"""
|
928
893
|
self._NodeId = None
|
@@ -996,7 +961,6 @@ class StatusNode(AbstractModel):
|
|
996
961
|
@property
|
997
962
|
def Opinion(self):
|
998
963
|
"""审批意见模型
|
999
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1000
964
|
:rtype: :class:`tencentcloud.bpaas.v20181217.models.ApproveOpinion`
|
1001
965
|
"""
|
1002
966
|
return self._Opinion
|
@@ -1008,7 +972,6 @@ class StatusNode(AbstractModel):
|
|
1008
972
|
@property
|
1009
973
|
def ScfName(self):
|
1010
974
|
"""scf函数名称
|
1011
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1012
975
|
:rtype: str
|
1013
976
|
"""
|
1014
977
|
return self._ScfName
|
@@ -1020,7 +983,6 @@ class StatusNode(AbstractModel):
|
|
1020
983
|
@property
|
1021
984
|
def SubStatus(self):
|
1022
985
|
"""状态(0:待审批,1:审批通过,2:拒绝,3:scf执行失败,4:scf执行成功)18: 外部审批中
|
1023
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1024
986
|
:rtype: int
|
1025
987
|
"""
|
1026
988
|
return self._SubStatus
|
@@ -1032,7 +994,6 @@ class StatusNode(AbstractModel):
|
|
1032
994
|
@property
|
1033
995
|
def ApprovedUin(self):
|
1034
996
|
"""审批节点审批人
|
1035
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1036
997
|
:rtype: list of int non-negative
|
1037
998
|
"""
|
1038
999
|
return self._ApprovedUin
|
@@ -1044,7 +1005,6 @@ class StatusNode(AbstractModel):
|
|
1044
1005
|
@property
|
1045
1006
|
def CreateTime(self):
|
1046
1007
|
"""审批时间
|
1047
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1048
1008
|
:rtype: str
|
1049
1009
|
"""
|
1050
1010
|
return self._CreateTime
|
@@ -1056,7 +1016,6 @@ class StatusNode(AbstractModel):
|
|
1056
1016
|
@property
|
1057
1017
|
def Msg(self):
|
1058
1018
|
"""审批意见信息 审批节点:审批人意见 执行节点:scf函数执行日志
|
1059
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1060
1019
|
:rtype: str
|
1061
1020
|
"""
|
1062
1021
|
return self._Msg
|
@@ -1068,7 +1027,6 @@ class StatusNode(AbstractModel):
|
|
1068
1027
|
@property
|
1069
1028
|
def Users(self):
|
1070
1029
|
"""有权限审批该节点的uin
|
1071
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1072
1030
|
:rtype: :class:`tencentcloud.bpaas.v20181217.models.ApproveUser`
|
1073
1031
|
"""
|
1074
1032
|
return self._Users
|
@@ -1080,7 +1038,6 @@ class StatusNode(AbstractModel):
|
|
1080
1038
|
@property
|
1081
1039
|
def IsApprove(self):
|
1082
1040
|
"""是否有权限审批该节点
|
1083
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1084
1041
|
:rtype: bool
|
1085
1042
|
"""
|
1086
1043
|
return self._IsApprove
|
@@ -1092,7 +1049,6 @@ class StatusNode(AbstractModel):
|
|
1092
1049
|
@property
|
1093
1050
|
def ApproveId(self):
|
1094
1051
|
"""审批id
|
1095
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1096
1052
|
:rtype: str
|
1097
1053
|
"""
|
1098
1054
|
return self._ApproveId
|
@@ -1104,7 +1060,6 @@ class StatusNode(AbstractModel):
|
|
1104
1060
|
@property
|
1105
1061
|
def ApproveMethod(self):
|
1106
1062
|
"""审批方式 0或签 1会签
|
1107
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1108
1063
|
:rtype: int
|
1109
1064
|
"""
|
1110
1065
|
return self._ApproveMethod
|
@@ -1116,7 +1071,6 @@ class StatusNode(AbstractModel):
|
|
1116
1071
|
@property
|
1117
1072
|
def ApproveType(self):
|
1118
1073
|
"""审批节点审批类型,1人工审批 2自动通过 3自动决绝 4外部审批scf
|
1119
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1120
1074
|
:rtype: int
|
1121
1075
|
"""
|
1122
1076
|
return self._ApproveType
|
@@ -1128,7 +1082,6 @@ class StatusNode(AbstractModel):
|
|
1128
1082
|
@property
|
1129
1083
|
def CallMethod(self):
|
1130
1084
|
"""外部审批类型 scf:0或null ; CKafka:1
|
1131
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1132
1085
|
:rtype: int
|
1133
1086
|
"""
|
1134
1087
|
return self._CallMethod
|
@@ -1140,7 +1093,6 @@ class StatusNode(AbstractModel):
|
|
1140
1093
|
@property
|
1141
1094
|
def DataHubId(self):
|
1142
1095
|
"""CKafka - 接入资源ID
|
1143
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1144
1096
|
:rtype: str
|
1145
1097
|
"""
|
1146
1098
|
return self._DataHubId
|
@@ -1152,7 +1104,6 @@ class StatusNode(AbstractModel):
|
|
1152
1104
|
@property
|
1153
1105
|
def TaskName(self):
|
1154
1106
|
"""CKafka - 任务名称
|
1155
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1156
1107
|
:rtype: str
|
1157
1108
|
"""
|
1158
1109
|
return self._TaskName
|
@@ -1164,7 +1115,6 @@ class StatusNode(AbstractModel):
|
|
1164
1115
|
@property
|
1165
1116
|
def CKafkaRegion(self):
|
1166
1117
|
"""CKafka - 地域
|
1167
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1168
1118
|
:rtype: str
|
1169
1119
|
"""
|
1170
1120
|
return self._CKafkaRegion
|
@@ -1176,7 +1126,6 @@ class StatusNode(AbstractModel):
|
|
1176
1126
|
@property
|
1177
1127
|
def ExternalUrl(self):
|
1178
1128
|
"""外部审批Url
|
1179
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1180
1129
|
:rtype: str
|
1181
1130
|
"""
|
1182
1131
|
return self._ExternalUrl
|
@@ -1188,7 +1137,6 @@ class StatusNode(AbstractModel):
|
|
1188
1137
|
@property
|
1189
1138
|
def ParallelNodes(self):
|
1190
1139
|
"""并行节点 3-4
|
1191
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1192
1140
|
:rtype: str
|
1193
1141
|
"""
|
1194
1142
|
return self._ParallelNodes
|
@@ -1200,7 +1148,6 @@ class StatusNode(AbstractModel):
|
|
1200
1148
|
@property
|
1201
1149
|
def RejectedCloudFunctionMsg(self):
|
1202
1150
|
"""scf拒绝时返回信息
|
1203
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1204
1151
|
:rtype: str
|
1205
1152
|
"""
|
1206
1153
|
return self._RejectedCloudFunctionMsg
|
@@ -1212,7 +1159,6 @@ class StatusNode(AbstractModel):
|
|
1212
1159
|
@property
|
1213
1160
|
def PrevNode(self):
|
1214
1161
|
"""上一个节点
|
1215
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1216
1162
|
:rtype: str
|
1217
1163
|
"""
|
1218
1164
|
return self._PrevNode
|
@@ -586,6 +586,29 @@ class CccClient(AbstractClient):
|
|
586
586
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
587
587
|
|
588
588
|
|
589
|
+
def DescribeAILatency(self, request):
|
590
|
+
"""获取 AI 时延信息
|
591
|
+
|
592
|
+
:param request: Request instance for DescribeAILatency.
|
593
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.DescribeAILatencyRequest`
|
594
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.DescribeAILatencyResponse`
|
595
|
+
|
596
|
+
"""
|
597
|
+
try:
|
598
|
+
params = request._serialize()
|
599
|
+
headers = request.headers
|
600
|
+
body = self.call("DescribeAILatency", params, headers=headers)
|
601
|
+
response = json.loads(body)
|
602
|
+
model = models.DescribeAILatencyResponse()
|
603
|
+
model._deserialize(response["Response"])
|
604
|
+
return model
|
605
|
+
except Exception as e:
|
606
|
+
if isinstance(e, TencentCloudSDKException):
|
607
|
+
raise
|
608
|
+
else:
|
609
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
610
|
+
|
611
|
+
|
589
612
|
def DescribeActiveCarrierPrivilegeNumber(self, request):
|
590
613
|
"""查询生效运营商白名单规则
|
591
614
|
|
@@ -1232,6 +1255,29 @@ class CccClient(AbstractClient):
|
|
1232
1255
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1233
1256
|
|
1234
1257
|
|
1258
|
+
def ForceMemberOffline(self, request):
|
1259
|
+
"""强制客服下线
|
1260
|
+
|
1261
|
+
:param request: Request instance for ForceMemberOffline.
|
1262
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.ForceMemberOfflineRequest`
|
1263
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.ForceMemberOfflineResponse`
|
1264
|
+
|
1265
|
+
"""
|
1266
|
+
try:
|
1267
|
+
params = request._serialize()
|
1268
|
+
headers = request.headers
|
1269
|
+
body = self.call("ForceMemberOffline", params, headers=headers)
|
1270
|
+
response = json.loads(body)
|
1271
|
+
model = models.ForceMemberOfflineResponse()
|
1272
|
+
model._deserialize(response["Response"])
|
1273
|
+
return model
|
1274
|
+
except Exception as e:
|
1275
|
+
if isinstance(e, TencentCloudSDKException):
|
1276
|
+
raise
|
1277
|
+
else:
|
1278
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1279
|
+
|
1280
|
+
|
1235
1281
|
def HangUpCall(self, request):
|
1236
1282
|
"""挂断电话
|
1237
1283
|
|
@@ -1416,6 +1462,29 @@ class CccClient(AbstractClient):
|
|
1416
1462
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1417
1463
|
|
1418
1464
|
|
1465
|
+
def RestoreMemberOnline(self, request):
|
1466
|
+
"""恢复客服上线
|
1467
|
+
|
1468
|
+
:param request: Request instance for RestoreMemberOnline.
|
1469
|
+
:type request: :class:`tencentcloud.ccc.v20200210.models.RestoreMemberOnlineRequest`
|
1470
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.RestoreMemberOnlineResponse`
|
1471
|
+
|
1472
|
+
"""
|
1473
|
+
try:
|
1474
|
+
params = request._serialize()
|
1475
|
+
headers = request.headers
|
1476
|
+
body = self.call("RestoreMemberOnline", params, headers=headers)
|
1477
|
+
response = json.loads(body)
|
1478
|
+
model = models.RestoreMemberOnlineResponse()
|
1479
|
+
model._deserialize(response["Response"])
|
1480
|
+
return model
|
1481
|
+
except Exception as e:
|
1482
|
+
if isinstance(e, TencentCloudSDKException):
|
1483
|
+
raise
|
1484
|
+
else:
|
1485
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1486
|
+
|
1487
|
+
|
1419
1488
|
def ResumePredictiveDialingCampaign(self, request):
|
1420
1489
|
"""恢复预测式外呼任务
|
1421
1490
|
|