tencentcloud-sdk-python 3.0.1207__py2.py3-none-any.whl → 3.0.1209__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/aiart/v20221229/models.py +28 -0
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +509 -11
- tencentcloud/cwp/v20180228/cwp_client.py +26 -1
- tencentcloud/cwp/v20180228/models.py +190 -0
- tencentcloud/emr/v20190103/emr_client.py +69 -0
- tencentcloud/emr/v20190103/models.py +1362 -63
- tencentcloud/essbasic/v20210526/models.py +1 -1
- tencentcloud/hunyuan/v20230901/models.py +4 -4
- tencentcloud/ioa/v20220601/models.py +6 -5
- tencentcloud/organization/v20210331/errorcodes.py +9 -0
- tencentcloud/organization/v20210331/models.py +484 -0
- tencentcloud/organization/v20210331/organization_client.py +69 -0
- tencentcloud/smh/v20210712/errorcodes.py +69 -0
- tencentcloud/smh/v20210712/models.py +1173 -36
- tencentcloud/smh/v20210712/smh_client.py +115 -0
- tencentcloud/tcss/v20201101/models.py +140 -5
- tencentcloud/trocket/v20230308/models.py +106 -0
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +6 -28
- tencentcloud/trtc/v20190722/trtc_client.py +0 -3
- tencentcloud/vclm/v20240523/errorcodes.py +0 -3
- tencentcloud/vod/v20180717/models.py +13 -0
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/RECORD +29 -29
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1207.dist-info → tencentcloud_sdk_python-3.0.1209.dist-info}/top_level.txt +0 -0
@@ -72174,6 +72174,196 @@ class ModifyRansomDefenseStrategyStatusResponse(AbstractModel):
|
|
72174
72174
|
self._RequestId = params.get("RequestId")
|
72175
72175
|
|
72176
72176
|
|
72177
|
+
class ModifyReverseShellRulesAggregationRequest(AbstractModel):
|
72178
|
+
"""ModifyReverseShellRulesAggregation请求参数结构体
|
72179
|
+
|
72180
|
+
"""
|
72181
|
+
|
72182
|
+
def __init__(self):
|
72183
|
+
r"""
|
72184
|
+
:param _Id: 规则ID(新增时请留空)
|
72185
|
+
:type Id: int
|
72186
|
+
:param _Uuids: 客户端ID数组
|
72187
|
+
:type Uuids: list of str
|
72188
|
+
:param _HostIp: 主机IP
|
72189
|
+
:type HostIp: str
|
72190
|
+
:param _DestIp: 目标IP
|
72191
|
+
:type DestIp: str
|
72192
|
+
:param _DestPort: 目标端口
|
72193
|
+
:type DestPort: str
|
72194
|
+
:param _ProcessName: 进程名
|
72195
|
+
:type ProcessName: str
|
72196
|
+
:param _IsGlobal: 是否全局规则(默认否)
|
72197
|
+
:type IsGlobal: int
|
72198
|
+
:param _EventId: 事件列表和详情点击加白时关联的事件id (新增规则时请留空)
|
72199
|
+
:type EventId: int
|
72200
|
+
:param _WhiteType: 加白方式, 0:常规加白 1:正则加白
|
72201
|
+
:type WhiteType: int
|
72202
|
+
:param _RuleRegexp: 正则表达式
|
72203
|
+
:type RuleRegexp: str
|
72204
|
+
:param _HandleHistory: 处理历史事件, 0:不处理 1:处理
|
72205
|
+
:type HandleHistory: int
|
72206
|
+
:param _GroupID: 批次id
|
72207
|
+
:type GroupID: str
|
72208
|
+
"""
|
72209
|
+
self._Id = None
|
72210
|
+
self._Uuids = None
|
72211
|
+
self._HostIp = None
|
72212
|
+
self._DestIp = None
|
72213
|
+
self._DestPort = None
|
72214
|
+
self._ProcessName = None
|
72215
|
+
self._IsGlobal = None
|
72216
|
+
self._EventId = None
|
72217
|
+
self._WhiteType = None
|
72218
|
+
self._RuleRegexp = None
|
72219
|
+
self._HandleHistory = None
|
72220
|
+
self._GroupID = None
|
72221
|
+
|
72222
|
+
@property
|
72223
|
+
def Id(self):
|
72224
|
+
return self._Id
|
72225
|
+
|
72226
|
+
@Id.setter
|
72227
|
+
def Id(self, Id):
|
72228
|
+
self._Id = Id
|
72229
|
+
|
72230
|
+
@property
|
72231
|
+
def Uuids(self):
|
72232
|
+
return self._Uuids
|
72233
|
+
|
72234
|
+
@Uuids.setter
|
72235
|
+
def Uuids(self, Uuids):
|
72236
|
+
self._Uuids = Uuids
|
72237
|
+
|
72238
|
+
@property
|
72239
|
+
def HostIp(self):
|
72240
|
+
return self._HostIp
|
72241
|
+
|
72242
|
+
@HostIp.setter
|
72243
|
+
def HostIp(self, HostIp):
|
72244
|
+
self._HostIp = HostIp
|
72245
|
+
|
72246
|
+
@property
|
72247
|
+
def DestIp(self):
|
72248
|
+
return self._DestIp
|
72249
|
+
|
72250
|
+
@DestIp.setter
|
72251
|
+
def DestIp(self, DestIp):
|
72252
|
+
self._DestIp = DestIp
|
72253
|
+
|
72254
|
+
@property
|
72255
|
+
def DestPort(self):
|
72256
|
+
return self._DestPort
|
72257
|
+
|
72258
|
+
@DestPort.setter
|
72259
|
+
def DestPort(self, DestPort):
|
72260
|
+
self._DestPort = DestPort
|
72261
|
+
|
72262
|
+
@property
|
72263
|
+
def ProcessName(self):
|
72264
|
+
return self._ProcessName
|
72265
|
+
|
72266
|
+
@ProcessName.setter
|
72267
|
+
def ProcessName(self, ProcessName):
|
72268
|
+
self._ProcessName = ProcessName
|
72269
|
+
|
72270
|
+
@property
|
72271
|
+
def IsGlobal(self):
|
72272
|
+
return self._IsGlobal
|
72273
|
+
|
72274
|
+
@IsGlobal.setter
|
72275
|
+
def IsGlobal(self, IsGlobal):
|
72276
|
+
self._IsGlobal = IsGlobal
|
72277
|
+
|
72278
|
+
@property
|
72279
|
+
def EventId(self):
|
72280
|
+
return self._EventId
|
72281
|
+
|
72282
|
+
@EventId.setter
|
72283
|
+
def EventId(self, EventId):
|
72284
|
+
self._EventId = EventId
|
72285
|
+
|
72286
|
+
@property
|
72287
|
+
def WhiteType(self):
|
72288
|
+
return self._WhiteType
|
72289
|
+
|
72290
|
+
@WhiteType.setter
|
72291
|
+
def WhiteType(self, WhiteType):
|
72292
|
+
self._WhiteType = WhiteType
|
72293
|
+
|
72294
|
+
@property
|
72295
|
+
def RuleRegexp(self):
|
72296
|
+
return self._RuleRegexp
|
72297
|
+
|
72298
|
+
@RuleRegexp.setter
|
72299
|
+
def RuleRegexp(self, RuleRegexp):
|
72300
|
+
self._RuleRegexp = RuleRegexp
|
72301
|
+
|
72302
|
+
@property
|
72303
|
+
def HandleHistory(self):
|
72304
|
+
return self._HandleHistory
|
72305
|
+
|
72306
|
+
@HandleHistory.setter
|
72307
|
+
def HandleHistory(self, HandleHistory):
|
72308
|
+
self._HandleHistory = HandleHistory
|
72309
|
+
|
72310
|
+
@property
|
72311
|
+
def GroupID(self):
|
72312
|
+
return self._GroupID
|
72313
|
+
|
72314
|
+
@GroupID.setter
|
72315
|
+
def GroupID(self, GroupID):
|
72316
|
+
self._GroupID = GroupID
|
72317
|
+
|
72318
|
+
|
72319
|
+
def _deserialize(self, params):
|
72320
|
+
self._Id = params.get("Id")
|
72321
|
+
self._Uuids = params.get("Uuids")
|
72322
|
+
self._HostIp = params.get("HostIp")
|
72323
|
+
self._DestIp = params.get("DestIp")
|
72324
|
+
self._DestPort = params.get("DestPort")
|
72325
|
+
self._ProcessName = params.get("ProcessName")
|
72326
|
+
self._IsGlobal = params.get("IsGlobal")
|
72327
|
+
self._EventId = params.get("EventId")
|
72328
|
+
self._WhiteType = params.get("WhiteType")
|
72329
|
+
self._RuleRegexp = params.get("RuleRegexp")
|
72330
|
+
self._HandleHistory = params.get("HandleHistory")
|
72331
|
+
self._GroupID = params.get("GroupID")
|
72332
|
+
memeber_set = set(params.keys())
|
72333
|
+
for name, value in vars(self).items():
|
72334
|
+
property_name = name[1:]
|
72335
|
+
if property_name in memeber_set:
|
72336
|
+
memeber_set.remove(property_name)
|
72337
|
+
if len(memeber_set) > 0:
|
72338
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
72339
|
+
|
72340
|
+
|
72341
|
+
|
72342
|
+
class ModifyReverseShellRulesAggregationResponse(AbstractModel):
|
72343
|
+
"""ModifyReverseShellRulesAggregation返回参数结构体
|
72344
|
+
|
72345
|
+
"""
|
72346
|
+
|
72347
|
+
def __init__(self):
|
72348
|
+
r"""
|
72349
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
72350
|
+
:type RequestId: str
|
72351
|
+
"""
|
72352
|
+
self._RequestId = None
|
72353
|
+
|
72354
|
+
@property
|
72355
|
+
def RequestId(self):
|
72356
|
+
return self._RequestId
|
72357
|
+
|
72358
|
+
@RequestId.setter
|
72359
|
+
def RequestId(self, RequestId):
|
72360
|
+
self._RequestId = RequestId
|
72361
|
+
|
72362
|
+
|
72363
|
+
def _deserialize(self, params):
|
72364
|
+
self._RequestId = params.get("RequestId")
|
72365
|
+
|
72366
|
+
|
72177
72367
|
class ModifyRiskDnsPolicyRequest(AbstractModel):
|
72178
72368
|
"""ModifyRiskDnsPolicy请求参数结构体
|
72179
72369
|
|
@@ -556,6 +556,29 @@ class EmrClient(AbstractClient):
|
|
556
556
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
557
557
|
|
558
558
|
|
559
|
+
def DescribeServiceNodeInfos(self, request):
|
560
|
+
"""查询服务进程信息
|
561
|
+
|
562
|
+
:param request: Request instance for DescribeServiceNodeInfos.
|
563
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.DescribeServiceNodeInfosRequest`
|
564
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.DescribeServiceNodeInfosResponse`
|
565
|
+
|
566
|
+
"""
|
567
|
+
try:
|
568
|
+
params = request._serialize()
|
569
|
+
headers = request.headers
|
570
|
+
body = self.call("DescribeServiceNodeInfos", params, headers=headers)
|
571
|
+
response = json.loads(body)
|
572
|
+
model = models.DescribeServiceNodeInfosResponse()
|
573
|
+
model._deserialize(response["Response"])
|
574
|
+
return model
|
575
|
+
except Exception as e:
|
576
|
+
if isinstance(e, TencentCloudSDKException):
|
577
|
+
raise
|
578
|
+
else:
|
579
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
580
|
+
|
581
|
+
|
559
582
|
def DescribeTrinoQueryInfo(self, request):
|
560
583
|
"""获取trino查询结果
|
561
584
|
|
@@ -626,6 +649,29 @@ class EmrClient(AbstractClient):
|
|
626
649
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
627
650
|
|
628
651
|
|
652
|
+
def DescribeYarnScheduleHistory(self, request):
|
653
|
+
"""查看yarn资源调度的调度历史
|
654
|
+
|
655
|
+
:param request: Request instance for DescribeYarnScheduleHistory.
|
656
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.DescribeYarnScheduleHistoryRequest`
|
657
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.DescribeYarnScheduleHistoryResponse`
|
658
|
+
|
659
|
+
"""
|
660
|
+
try:
|
661
|
+
params = request._serialize()
|
662
|
+
headers = request.headers
|
663
|
+
body = self.call("DescribeYarnScheduleHistory", params, headers=headers)
|
664
|
+
response = json.loads(body)
|
665
|
+
model = models.DescribeYarnScheduleHistoryResponse()
|
666
|
+
model._deserialize(response["Response"])
|
667
|
+
return model
|
668
|
+
except Exception as e:
|
669
|
+
if isinstance(e, TencentCloudSDKException):
|
670
|
+
raise
|
671
|
+
else:
|
672
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
673
|
+
|
674
|
+
|
629
675
|
def InquirePriceRenewEmr(self, request):
|
630
676
|
"""集群续费询价。
|
631
677
|
|
@@ -879,6 +925,29 @@ class EmrClient(AbstractClient):
|
|
879
925
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
880
926
|
|
881
927
|
|
928
|
+
def ModifyYarnDeploy(self, request):
|
929
|
+
"""部署生效
|
930
|
+
|
931
|
+
:param request: Request instance for ModifyYarnDeploy.
|
932
|
+
:type request: :class:`tencentcloud.emr.v20190103.models.ModifyYarnDeployRequest`
|
933
|
+
:rtype: :class:`tencentcloud.emr.v20190103.models.ModifyYarnDeployResponse`
|
934
|
+
|
935
|
+
"""
|
936
|
+
try:
|
937
|
+
params = request._serialize()
|
938
|
+
headers = request.headers
|
939
|
+
body = self.call("ModifyYarnDeploy", params, headers=headers)
|
940
|
+
response = json.loads(body)
|
941
|
+
model = models.ModifyYarnDeployResponse()
|
942
|
+
model._deserialize(response["Response"])
|
943
|
+
return model
|
944
|
+
except Exception as e:
|
945
|
+
if isinstance(e, TencentCloudSDKException):
|
946
|
+
raise
|
947
|
+
else:
|
948
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
949
|
+
|
950
|
+
|
882
951
|
def RunJobFlow(self, request):
|
883
952
|
"""创建流程作业
|
884
953
|
|