tencentcloud-sdk-python 3.0.1256__py2.py3-none-any.whl → 3.0.1258__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.
Files changed (109) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +26 -0
  3. tencentcloud/asr/v20190614/models.py +3 -2
  4. tencentcloud/autoscaling/v20180419/autoscaling_client.py +7 -1
  5. tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
  6. tencentcloud/autoscaling/v20180419/models.py +18 -2
  7. tencentcloud/bi/v20220105/models.py +44 -4
  8. tencentcloud/billing/v20180709/billing_client.py +23 -0
  9. tencentcloud/billing/v20180709/errorcodes.py +6 -0
  10. tencentcloud/billing/v20180709/models.py +424 -0
  11. tencentcloud/bsca/v20210811/models.py +306 -1
  12. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  13. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  14. tencentcloud/ccc/v20200210/models.py +249 -136
  15. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  16. tencentcloud/cdb/v20170320/models.py +25 -1
  17. tencentcloud/cdn/v20180606/models.py +1 -1
  18. tencentcloud/cdwdoris/v20211228/models.py +29 -2
  19. tencentcloud/cfw/v20190904/cfw_client.py +6 -30
  20. tencentcloud/cfw/v20190904/models.py +267 -479
  21. tencentcloud/ciam/v20220331/models.py +13 -0
  22. tencentcloud/ckafka/v20190819/models.py +5 -5
  23. tencentcloud/clb/v20180317/models.py +1 -1
  24. tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +30 -34
  25. tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -39
  26. tencentcloud/cloudaudit/v20190319/models.py +328 -254
  27. tencentcloud/cls/v20201016/cls_client.py +8 -1
  28. tencentcloud/cls/v20201016/models.py +551 -109
  29. tencentcloud/csip/v20221121/models.py +225 -12
  30. tencentcloud/cvm/v20170312/errorcodes.py +6 -0
  31. tencentcloud/cvm/v20170312/models.py +78 -0
  32. tencentcloud/cwp/v20180228/cwp_client.py +3 -1
  33. tencentcloud/cwp/v20180228/models.py +206 -52
  34. tencentcloud/cynosdb/v20190107/cynosdb_client.py +27 -27
  35. tencentcloud/cynosdb/v20190107/models.py +78 -0
  36. tencentcloud/dasb/v20191018/models.py +155 -0
  37. tencentcloud/dlc/v20210125/models.py +13 -0
  38. tencentcloud/domain/v20180808/errorcodes.py +45 -0
  39. tencentcloud/eb/v20210416/models.py +19 -19
  40. tencentcloud/emr/v20190103/models.py +12 -0
  41. tencentcloud/es/v20180416/errorcodes.py +4 -1
  42. tencentcloud/es/v20180416/es_client.py +92 -0
  43. tencentcloud/es/v20180416/models.py +770 -12
  44. tencentcloud/ess/v20201111/ess_client.py +71 -4
  45. tencentcloud/ess/v20201111/models.py +260 -10
  46. tencentcloud/essbasic/v20210526/essbasic_client.py +135 -51
  47. tencentcloud/essbasic/v20210526/models.py +390 -21
  48. tencentcloud/gaap/v20180529/models.py +40 -3
  49. tencentcloud/hunyuan/v20230901/models.py +12 -0
  50. tencentcloud/ioa/v20220601/errorcodes.py +15 -0
  51. tencentcloud/ioa/v20220601/ioa_client.py +26 -2
  52. tencentcloud/ioa/v20220601/models.py +516 -46
  53. tencentcloud/iotexplorer/v20190423/models.py +52 -0
  54. tencentcloud/iotvideo/v20191126/iotvideo_client.py +46 -0
  55. tencentcloud/iotvideo/v20191126/models.py +379 -0
  56. tencentcloud/iss/v20230517/models.py +25 -0
  57. tencentcloud/lighthouse/v20200324/errorcodes.py +1 -1
  58. tencentcloud/live/v20180801/models.py +51 -0
  59. tencentcloud/mongodb/v20190725/models.py +3 -7
  60. tencentcloud/mqtt/v20240516/models.py +4 -4
  61. tencentcloud/ocr/v20181119/models.py +7 -16
  62. tencentcloud/ocr/v20181119/ocr_client.py +1 -0
  63. tencentcloud/organization/v20210331/errorcodes.py +31 -1
  64. tencentcloud/organization/v20210331/models.py +674 -0
  65. tencentcloud/organization/v20210331/organization_client.py +138 -0
  66. tencentcloud/partners/v20180321/models.py +71 -0
  67. tencentcloud/partners/v20180321/partners_client.py +23 -0
  68. tencentcloud/privatedns/v20201028/errorcodes.py +12 -0
  69. tencentcloud/privatedns/v20201028/models.py +858 -4
  70. tencentcloud/privatedns/v20201028/privatedns_client.py +92 -0
  71. tencentcloud/region/v20220627/models.py +0 -1
  72. tencentcloud/scf/v20180416/models.py +889 -8
  73. tencentcloud/scf/v20180416/scf_client.py +115 -0
  74. tencentcloud/smop/v20201203/models.py +17 -17
  75. tencentcloud/ssl/v20191205/models.py +44 -3
  76. tencentcloud/ssm/v20190923/models.py +84 -0
  77. tencentcloud/tat/v20201028/models.py +1 -29
  78. tencentcloud/tcss/v20201101/models.py +815 -33
  79. tencentcloud/tcss/v20201101/tcss_client.py +1 -1
  80. tencentcloud/tdmq/v20200217/models.py +7 -7
  81. tencentcloud/tem/v20210701/models.py +202 -198
  82. tencentcloud/teo/v20220901/errorcodes.py +51 -0
  83. tencentcloud/teo/v20220901/models.py +1470 -97
  84. tencentcloud/teo/v20220901/teo_client.py +115 -0
  85. tencentcloud/tke/v20180525/models.py +70 -0
  86. tencentcloud/tke/v20180525/tke_client.py +23 -0
  87. tencentcloud/tms/v20201229/models.py +0 -558
  88. tencentcloud/tms/v20201229/tms_client.py +0 -23
  89. tencentcloud/trp/v20210515/models.py +6 -6
  90. tencentcloud/trtc/v20190722/models.py +353 -4
  91. tencentcloud/tse/v20201207/models.py +94 -0
  92. tencentcloud/tse/v20201207/tse_client.py +23 -0
  93. tencentcloud/vclm/v20240523/models.py +166 -0
  94. tencentcloud/vpc/v20170312/models.py +137 -6
  95. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  96. tencentcloud/waf/v20180125/models.py +99 -0
  97. tencentcloud/waf/v20180125/waf_client.py +23 -0
  98. tencentcloud/wedata/v20210820/models.py +991 -0
  99. tencentcloud/wedata/v20210820/wedata_client.py +46 -0
  100. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/METADATA +1 -1
  101. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/RECORD +104 -109
  102. tencentcloud/cr/__init__.py +0 -0
  103. tencentcloud/cr/v20180321/__init__.py +0 -0
  104. tencentcloud/cr/v20180321/cr_client.py +0 -672
  105. tencentcloud/cr/v20180321/errorcodes.py +0 -114
  106. tencentcloud/cr/v20180321/models.py +0 -4966
  107. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/LICENSE +0 -0
  108. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/WHEEL +0 -0
  109. {tencentcloud_sdk_python-3.0.1256.dist-info → tencentcloud_sdk_python-3.0.1258.dist-info}/top_level.txt +0 -0
@@ -2797,6 +2797,9 @@ class LogMessage(AbstractModel):
2797
2797
  :param _Detail: 详情
2798
2798
  注意:此字段可能返回 null,表示取不到有效值。
2799
2799
  :type Detail: str
2800
+ :param _ActionResult: 日志结果
2801
+ 注意:此字段可能返回 null,表示取不到有效值。
2802
+ :type ActionResult: str
2800
2803
  """
2801
2804
  self._LogId = None
2802
2805
  self._TenantId = None
@@ -2815,6 +2818,7 @@ class LogMessage(AbstractModel):
2815
2818
  self._UserAgent = None
2816
2819
  self._UserId = None
2817
2820
  self._Detail = None
2821
+ self._ActionResult = None
2818
2822
 
2819
2823
  @property
2820
2824
  def LogId(self):
@@ -2952,6 +2956,14 @@ class LogMessage(AbstractModel):
2952
2956
  def Detail(self, Detail):
2953
2957
  self._Detail = Detail
2954
2958
 
2959
+ @property
2960
+ def ActionResult(self):
2961
+ return self._ActionResult
2962
+
2963
+ @ActionResult.setter
2964
+ def ActionResult(self, ActionResult):
2965
+ self._ActionResult = ActionResult
2966
+
2955
2967
 
2956
2968
  def _deserialize(self, params):
2957
2969
  self._LogId = params.get("LogId")
@@ -2971,6 +2983,7 @@ class LogMessage(AbstractModel):
2971
2983
  self._UserAgent = params.get("UserAgent")
2972
2984
  self._UserId = params.get("UserId")
2973
2985
  self._Detail = params.get("Detail")
2986
+ self._ActionResult = params.get("ActionResult")
2974
2987
  memeber_set = set(params.keys())
2975
2988
  for name, value in vars(self).items():
2976
2989
  property_name = name[1:]
@@ -6177,7 +6177,7 @@ class CreateTopicRequest(AbstractModel):
6177
6177
  :type RetentionMs: int
6178
6178
  :param _SegmentMs: Segment分片滚动的时长,单位ms,当前最小为3600000ms
6179
6179
  :type SegmentMs: int
6180
- :param _MaxMessageBytes: 主题消息最大值,单位为 Byte,最小值1024Byte(即1KB),最大值为8388608Byte(即8MB)。
6180
+ :param _MaxMessageBytes: 主题消息最大值,单位为 Byte,最小值1024Byte(即1KB),最大值为12582912Byte(即12MB)
6181
6181
  :type MaxMessageBytes: int
6182
6182
  :param _EnableAclRule: 预设ACL规则, 1:打开 0:关闭,默认不打开
6183
6183
  :type EnableAclRule: int
@@ -11762,11 +11762,11 @@ class DescribeInstancesRequest(AbstractModel):
11762
11762
 
11763
11763
  def __init__(self):
11764
11764
  r"""
11765
- :param _InstanceId: (过滤条件)按照实例ID过滤
11765
+ :param _InstanceId: (查询条件)按照ckafka集群实例Id过滤
11766
11766
  :type InstanceId: str
11767
- :param _SearchWord: (过滤条件)按照实例名称过滤,支持模糊查询
11767
+ :param _SearchWord: 搜索词 ex:(查询条件)按照实例名称过滤,支持模糊查询
11768
11768
  :type SearchWord: str
11769
- :param _Status: (过滤条件)实例的状态。0:创建中,1:运行中,2:删除中,不填默认返回全部
11769
+ :param _Status: (查询条件)实例的状态 0:创建中,1:运行中,2:删除中,5: 隔离中, 7:升级中 不填默认返回全部
11770
11770
  :type Status: list of int
11771
11771
  :param _Offset: 偏移量,不填默认为0
11772
11772
  :type Offset: int
@@ -11774,7 +11774,7 @@ class DescribeInstancesRequest(AbstractModel):
11774
11774
  :type Limit: int
11775
11775
  :param _TagKey: 已废弃。匹配标签key值。
11776
11776
  :type TagKey: str
11777
- :param _VpcId: 私有网络Id
11777
+ :param _VpcId: (查询条件)私有网络Id
11778
11778
  :type VpcId: str
11779
11779
  """
11780
11780
  self._InstanceId = None
@@ -7083,7 +7083,7 @@ class DescribeLoadBalancersDetailRequest(AbstractModel):
7083
7083
  :type Offset: int
7084
7084
  :param _Fields: 选择返回的Fields列表,系统仅会返回Fileds中填写的字段,可填写的字段详情请参见<a href="https://cloud.tencent.com/document/api/214/30694#LoadBalancerDetail">LoadBalancerDetail</a>。若未在Fileds填写相关字段,则此字段返回null。Fileds中默认添加LoadBalancerId和LoadBalancerName字段。
7085
7085
  :type Fields: list of str
7086
- :param _TargetType: 当Fields包含TargetId、TargetAddress、TargetPort、TargetWeight、ListenerId、Protocol、Port、LocationId、Domain、Url等Fields时,必选选择导出目标组的Target或者非目标组Target,值范围NODE、GROUP。
7086
+ :param _TargetType: 当Fields包含TargetId、TargetAddress、TargetPort、TargetWeight、ListenerId、Protocol、Port、LocationId、Domain、Url等Fields时,必选选择导出目标组的Target或者非目标组Target,取值范围NODE、GROUP。
7087
7087
  :type TargetType: str
7088
7088
  :param _Filters: 查询负载均衡详细信息列表条件,详细的过滤条件如下:
7089
7089
  <li> loadbalancer-id - String - 是否必填:否 - (过滤条件)按照 负载均衡ID 过滤,如:"lb-12345678"。</li>
@@ -26,33 +26,6 @@ class CloudauditClient(AbstractClient):
26
26
  _service = 'cloudaudit'
27
27
 
28
28
 
29
- def CreateAudit(self, request):
30
- """参数要求:
31
- 1、如果IsCreateNewBucket的值存在的话,cosRegion和cosBucketName都是必填参数。
32
- 2、如果IsEnableCmqNotify的值是1的话,IsCreateNewQueue、CmqRegion和CmqQueueName都是必填参数。
33
- 3、如果IsEnableCmqNotify的值是0的话,IsCreateNewQueue、CmqRegion和CmqQueueName都不能传。
34
- 4、如果IsEnableKmsEncry的值是1的话,KmsRegion和KeyId属于必填项
35
-
36
- :param request: Request instance for CreateAudit.
37
- :type request: :class:`tencentcloud.cloudaudit.v20190319.models.CreateAuditRequest`
38
- :rtype: :class:`tencentcloud.cloudaudit.v20190319.models.CreateAuditResponse`
39
-
40
- """
41
- try:
42
- params = request._serialize()
43
- headers = request.headers
44
- body = self.call("CreateAudit", params, headers=headers)
45
- response = json.loads(body)
46
- model = models.CreateAuditResponse()
47
- model._deserialize(response["Response"])
48
- return model
49
- except Exception as e:
50
- if isinstance(e, TencentCloudSDKException):
51
- raise
52
- else:
53
- raise TencentCloudSDKException(type(e).__name__, str(e))
54
-
55
-
56
29
  def CreateAuditTrack(self, request):
57
30
  """创建操作审计跟踪集
58
31
 
@@ -76,20 +49,20 @@ class CloudauditClient(AbstractClient):
76
49
  raise TencentCloudSDKException(type(e).__name__, str(e))
77
50
 
78
51
 
79
- def DeleteAudit(self, request):
80
- """删除跟踪集
52
+ def CreateEventsAuditTrack(self, request):
53
+ """创建操作审计跟踪集
81
54
 
82
- :param request: Request instance for DeleteAudit.
83
- :type request: :class:`tencentcloud.cloudaudit.v20190319.models.DeleteAuditRequest`
84
- :rtype: :class:`tencentcloud.cloudaudit.v20190319.models.DeleteAuditResponse`
55
+ :param request: Request instance for CreateEventsAuditTrack.
56
+ :type request: :class:`tencentcloud.cloudaudit.v20190319.models.CreateEventsAuditTrackRequest`
57
+ :rtype: :class:`tencentcloud.cloudaudit.v20190319.models.CreateEventsAuditTrackResponse`
85
58
 
86
59
  """
87
60
  try:
88
61
  params = request._serialize()
89
62
  headers = request.headers
90
- body = self.call("DeleteAudit", params, headers=headers)
63
+ body = self.call("CreateEventsAuditTrack", params, headers=headers)
91
64
  response = json.loads(body)
92
- model = models.DeleteAuditResponse()
65
+ model = models.CreateEventsAuditTrackResponse()
93
66
  model._deserialize(response["Response"])
94
67
  return model
95
68
  except Exception as e:
@@ -398,6 +371,29 @@ class CloudauditClient(AbstractClient):
398
371
  raise TencentCloudSDKException(type(e).__name__, str(e))
399
372
 
400
373
 
374
+ def ModifyEventsAuditTrack(self, request):
375
+ """修改操作审计跟踪集
376
+
377
+ :param request: Request instance for ModifyEventsAuditTrack.
378
+ :type request: :class:`tencentcloud.cloudaudit.v20190319.models.ModifyEventsAuditTrackRequest`
379
+ :rtype: :class:`tencentcloud.cloudaudit.v20190319.models.ModifyEventsAuditTrackResponse`
380
+
381
+ """
382
+ try:
383
+ params = request._serialize()
384
+ headers = request.headers
385
+ body = self.call("ModifyEventsAuditTrack", params, headers=headers)
386
+ response = json.loads(body)
387
+ model = models.ModifyEventsAuditTrackResponse()
388
+ model._deserialize(response["Response"])
389
+ return model
390
+ except Exception as e:
391
+ if isinstance(e, TencentCloudSDKException):
392
+ raise
393
+ else:
394
+ raise TencentCloudSDKException(type(e).__name__, str(e))
395
+
396
+
401
397
  def StartLogging(self, request):
402
398
  """开启跟踪集
403
399
 
@@ -23,9 +23,6 @@ FAILEDOPERATION_CHECKCLSTOPICISEXISTFAILED = 'FailedOperation.CheckClsTopicIsExi
23
23
  # 检查cos桶是否存在失败。
24
24
  FAILEDOPERATION_CHECKCOSBUCKETISEXISTFAILED = 'FailedOperation.CheckCosBucketIsExistFailed'
25
25
 
26
- # 创建COS存储桶失败
27
- FAILEDOPERATION_CREATEBUCKETFAIL = 'FailedOperation.CreateBucketFail'
28
-
29
26
  # 拉取cls日志主题失败。
30
27
  FAILEDOPERATION_GETCLSTOPICFAILED = 'FailedOperation.GetClsTopicFailed'
31
28
 
@@ -38,12 +35,6 @@ INTERNALERROR = 'InternalError'
38
35
  # 创建cmq时发生异常,可能您准备创建的cmq队列已经存在,也有可能您没有权限或者欠费。
39
36
  INTERNALERROR_CMQERROR = 'InternalError.CmqError'
40
37
 
41
- # 创建跟踪集错误,请联系开发人员。
42
- INTERNALERROR_CREATEAUDITERROR = 'InternalError.CreateAuditError'
43
-
44
- # 删除跟踪集失败,请联系开发人员
45
- INTERNALERROR_DELETEAUDITERROR = 'InternalError.DeleteAuditError'
46
-
47
38
  # 查看跟踪集详情错误,请联系开发人员
48
39
  INTERNALERROR_DESCRIBEAUDITERROR = 'InternalError.DescribeAuditError'
49
40
 
@@ -83,9 +74,6 @@ INVALIDPARAMETER_TIME = 'InvalidParameter.Time'
83
74
  # 别名已经存在
84
75
  INVALIDPARAMETERVALUE_ALIASALREADYEXISTS = 'InvalidParameterValue.AliasAlreadyExists'
85
76
 
86
- # 跟踪集名称不符合规则
87
- INVALIDPARAMETERVALUE_AUDITNAMEERROR = 'InvalidParameterValue.AuditNameError'
88
-
89
77
  # 跟踪集名称不支持修改。
90
78
  INVALIDPARAMETERVALUE_AUDITTRACKNAMENOTSUPPORTMODIFY = 'InvalidParameterValue.AuditTrackNameNotSupportModify'
91
79
 
@@ -98,15 +86,6 @@ INVALIDPARAMETERVALUE_COSNAMEERROR = 'InvalidParameterValue.CosNameError'
98
86
  # 操作审计目前不支持输入的cos地域
99
87
  INVALIDPARAMETERVALUE_COSREGIONERROR = 'InvalidParameterValue.CosRegionError'
100
88
 
101
- # IsCreateNewBucket的有效取值范围是0和1,0代表不创建新的存储桶,1代表创建新的存储桶。
102
- INVALIDPARAMETERVALUE_ISCREATENEWBUCKETERROR = 'InvalidParameterValue.IsCreateNewBucketError'
103
-
104
- # IsCreateNewQueue的有效取值范围是0和1,0代表不新创建,1代表新创建。
105
- INVALIDPARAMETERVALUE_ISCREATENEWQUEUEERROR = 'InvalidParameterValue.IsCreateNewQueueError'
106
-
107
- # IsEnableCmqNotify的有效取值范围是0和1,0代表不开启投递cmq,1代表开启cmq投递。
108
- INVALIDPARAMETERVALUE_ISENABLECMQNOTIFYERROR = 'InvalidParameterValue.IsEnableCmqNotifyError'
109
-
110
89
  # 操作审计暂不支持该地域的KMS
111
90
  INVALIDPARAMETERVALUE_KMSREGIONERROR = 'InvalidParameterValue.KmsRegionError'
112
91
 
@@ -134,27 +113,9 @@ LIMITEXCEEDED_OVERAMOUNT = 'LimitExceeded.OverAmount'
134
113
  # 检索支持的有效时间范围是7天
135
114
  LIMITEXCEEDED_OVERTIME = 'LimitExceeded.OverTime'
136
115
 
137
- # 缺少跟踪集名称
138
- MISSINGPARAMETER_MISSAUDITNAME = 'MissingParameter.MissAuditName'
139
-
140
- # 缺少cos存储桶参数
141
- MISSINGPARAMETER_MISSCOSBUCKETNAME = 'MissingParameter.MissCosBucketName'
142
-
143
- # 缺少cos地域参数
144
- MISSINGPARAMETER_MISSCOSREGION = 'MissingParameter.MissCosRegion'
145
-
146
116
  # IsEnableCmqNotify输入1的话,IsCreateNewQueue、CmqQueueName和CmqRegion都是必须参数。
147
117
  MISSINGPARAMETER_CMQ = 'MissingParameter.cmq'
148
118
 
149
- # 已经存在相同名称的跟踪集
150
- RESOURCEINUSE_ALREADYEXISTSSAMEAUDIT = 'ResourceInUse.AlreadyExistsSameAudit'
151
-
152
- # 已经存在相同cmq投递配置的跟踪集
153
- RESOURCEINUSE_ALREADYEXISTSSAMEAUDITCMQCONFIG = 'ResourceInUse.AlreadyExistsSameAuditCmqConfig'
154
-
155
- # 已经存在相同cos投递配置的跟踪集
156
- RESOURCEINUSE_ALREADYEXISTSSAMEAUDITCOSCONFIG = 'ResourceInUse.AlreadyExistsSameAuditCosConfig'
157
-
158
119
  # cos存储桶已经存在
159
120
  RESOURCEINUSE_COSBUCKETEXISTS = 'ResourceInUse.CosBucketExists'
160
121