tencentcloud-sdk-python-cloudaudit 3.0.1481__tar.gz → 3.1.27__tar.gz
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_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/setup.py +2 -1
- {tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/tencentcloud/__init__.py +1 -1
- tencentcloud_sdk_python_cloudaudit-3.1.27/tencentcloud/cloudaudit/v20190319/cloudaudit_client_async.py +372 -0
- {tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/tencentcloud/cloudaudit/v20190319/models.py +32 -4
- {tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/tencentcloud_sdk_python_cloudaudit.egg-info/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/tencentcloud_sdk_python_cloudaudit.egg-info/SOURCES.txt +1 -0
- tencentcloud_sdk_python_cloudaudit-3.1.27/tencentcloud_sdk_python_cloudaudit.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cloudaudit-3.0.1481/tencentcloud_sdk_python_cloudaudit.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/README.rst +0 -0
- {tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/tencentcloud/cloudaudit/__init__.py +0 -0
- {tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/tencentcloud/cloudaudit/v20190319/__init__.py +0 -0
- {tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +0 -0
- {tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/tencentcloud_sdk_python_cloudaudit.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/tencentcloud_sdk_python_cloudaudit.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cloudaudit
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.27
|
|
4
4
|
Summary: Tencent Cloud Cloudaudit SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.27
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/setup.py
RENAMED
|
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cloudaudit',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.27,<4.0.0"],
|
|
12
|
+
|
|
12
13
|
version=tencentcloud.__version__,
|
|
13
14
|
description='Tencent Cloud Cloudaudit SDK for Python',
|
|
14
15
|
long_description=open('README.rst').read(),
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. 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
|
+
from tencentcloud.common.abstract_client_async import AbstractClient
|
|
19
|
+
from tencentcloud.cloudaudit.v20190319 import models
|
|
20
|
+
from typing import Dict
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class CloudauditClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2019-03-19'
|
|
25
|
+
_endpoint = 'cloudaudit.tencentcloudapi.com'
|
|
26
|
+
_service = 'cloudaudit'
|
|
27
|
+
|
|
28
|
+
async def CreateAuditTrack(
|
|
29
|
+
self,
|
|
30
|
+
request: models.CreateAuditTrackRequest,
|
|
31
|
+
opts: Dict = None,
|
|
32
|
+
) -> models.CreateAuditTrackResponse:
|
|
33
|
+
"""
|
|
34
|
+
创建操作审计跟踪集
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
kwargs = {}
|
|
38
|
+
kwargs["action"] = "CreateAuditTrack"
|
|
39
|
+
kwargs["params"] = request._serialize()
|
|
40
|
+
kwargs["resp_cls"] = models.CreateAuditTrackResponse
|
|
41
|
+
kwargs["headers"] = request.headers
|
|
42
|
+
kwargs["opts"] = opts or {}
|
|
43
|
+
|
|
44
|
+
return await self.call_and_deserialize(**kwargs)
|
|
45
|
+
|
|
46
|
+
async def CreateEventsAuditTrack(
|
|
47
|
+
self,
|
|
48
|
+
request: models.CreateEventsAuditTrackRequest,
|
|
49
|
+
opts: Dict = None,
|
|
50
|
+
) -> models.CreateEventsAuditTrackResponse:
|
|
51
|
+
"""
|
|
52
|
+
创建操作审计跟踪集
|
|
53
|
+
"""
|
|
54
|
+
|
|
55
|
+
kwargs = {}
|
|
56
|
+
kwargs["action"] = "CreateEventsAuditTrack"
|
|
57
|
+
kwargs["params"] = request._serialize()
|
|
58
|
+
kwargs["resp_cls"] = models.CreateEventsAuditTrackResponse
|
|
59
|
+
kwargs["headers"] = request.headers
|
|
60
|
+
kwargs["opts"] = opts or {}
|
|
61
|
+
|
|
62
|
+
return await self.call_and_deserialize(**kwargs)
|
|
63
|
+
|
|
64
|
+
async def DeleteAuditTrack(
|
|
65
|
+
self,
|
|
66
|
+
request: models.DeleteAuditTrackRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.DeleteAuditTrackResponse:
|
|
69
|
+
"""
|
|
70
|
+
删除操作审计跟踪集
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "DeleteAuditTrack"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.DeleteAuditTrackResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
82
|
+
async def DescribeAudit(
|
|
83
|
+
self,
|
|
84
|
+
request: models.DescribeAuditRequest,
|
|
85
|
+
opts: Dict = None,
|
|
86
|
+
) -> models.DescribeAuditResponse:
|
|
87
|
+
"""
|
|
88
|
+
查询跟踪集详情
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
kwargs = {}
|
|
92
|
+
kwargs["action"] = "DescribeAudit"
|
|
93
|
+
kwargs["params"] = request._serialize()
|
|
94
|
+
kwargs["resp_cls"] = models.DescribeAuditResponse
|
|
95
|
+
kwargs["headers"] = request.headers
|
|
96
|
+
kwargs["opts"] = opts or {}
|
|
97
|
+
|
|
98
|
+
return await self.call_and_deserialize(**kwargs)
|
|
99
|
+
|
|
100
|
+
async def DescribeAuditTrack(
|
|
101
|
+
self,
|
|
102
|
+
request: models.DescribeAuditTrackRequest,
|
|
103
|
+
opts: Dict = None,
|
|
104
|
+
) -> models.DescribeAuditTrackResponse:
|
|
105
|
+
"""
|
|
106
|
+
查询操作审计跟踪集详情
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
kwargs = {}
|
|
110
|
+
kwargs["action"] = "DescribeAuditTrack"
|
|
111
|
+
kwargs["params"] = request._serialize()
|
|
112
|
+
kwargs["resp_cls"] = models.DescribeAuditTrackResponse
|
|
113
|
+
kwargs["headers"] = request.headers
|
|
114
|
+
kwargs["opts"] = opts or {}
|
|
115
|
+
|
|
116
|
+
return await self.call_and_deserialize(**kwargs)
|
|
117
|
+
|
|
118
|
+
async def DescribeAuditTracks(
|
|
119
|
+
self,
|
|
120
|
+
request: models.DescribeAuditTracksRequest,
|
|
121
|
+
opts: Dict = None,
|
|
122
|
+
) -> models.DescribeAuditTracksResponse:
|
|
123
|
+
"""
|
|
124
|
+
查询操作审计跟踪集列表
|
|
125
|
+
"""
|
|
126
|
+
|
|
127
|
+
kwargs = {}
|
|
128
|
+
kwargs["action"] = "DescribeAuditTracks"
|
|
129
|
+
kwargs["params"] = request._serialize()
|
|
130
|
+
kwargs["resp_cls"] = models.DescribeAuditTracksResponse
|
|
131
|
+
kwargs["headers"] = request.headers
|
|
132
|
+
kwargs["opts"] = opts or {}
|
|
133
|
+
|
|
134
|
+
return await self.call_and_deserialize(**kwargs)
|
|
135
|
+
|
|
136
|
+
async def DescribeEvents(
|
|
137
|
+
self,
|
|
138
|
+
request: models.DescribeEventsRequest,
|
|
139
|
+
opts: Dict = None,
|
|
140
|
+
) -> models.DescribeEventsResponse:
|
|
141
|
+
"""
|
|
142
|
+
查询操作审计日志
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
kwargs = {}
|
|
146
|
+
kwargs["action"] = "DescribeEvents"
|
|
147
|
+
kwargs["params"] = request._serialize()
|
|
148
|
+
kwargs["resp_cls"] = models.DescribeEventsResponse
|
|
149
|
+
kwargs["headers"] = request.headers
|
|
150
|
+
kwargs["opts"] = opts or {}
|
|
151
|
+
|
|
152
|
+
return await self.call_and_deserialize(**kwargs)
|
|
153
|
+
|
|
154
|
+
async def GetAttributeKey(
|
|
155
|
+
self,
|
|
156
|
+
request: models.GetAttributeKeyRequest,
|
|
157
|
+
opts: Dict = None,
|
|
158
|
+
) -> models.GetAttributeKeyResponse:
|
|
159
|
+
"""
|
|
160
|
+
查询AttributeKey的有效取值范围
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
kwargs = {}
|
|
164
|
+
kwargs["action"] = "GetAttributeKey"
|
|
165
|
+
kwargs["params"] = request._serialize()
|
|
166
|
+
kwargs["resp_cls"] = models.GetAttributeKeyResponse
|
|
167
|
+
kwargs["headers"] = request.headers
|
|
168
|
+
kwargs["opts"] = opts or {}
|
|
169
|
+
|
|
170
|
+
return await self.call_and_deserialize(**kwargs)
|
|
171
|
+
|
|
172
|
+
async def InquireAuditCredit(
|
|
173
|
+
self,
|
|
174
|
+
request: models.InquireAuditCreditRequest,
|
|
175
|
+
opts: Dict = None,
|
|
176
|
+
) -> models.InquireAuditCreditResponse:
|
|
177
|
+
"""
|
|
178
|
+
查询用户可创建跟踪集的数量
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
kwargs = {}
|
|
182
|
+
kwargs["action"] = "InquireAuditCredit"
|
|
183
|
+
kwargs["params"] = request._serialize()
|
|
184
|
+
kwargs["resp_cls"] = models.InquireAuditCreditResponse
|
|
185
|
+
kwargs["headers"] = request.headers
|
|
186
|
+
kwargs["opts"] = opts or {}
|
|
187
|
+
|
|
188
|
+
return await self.call_and_deserialize(**kwargs)
|
|
189
|
+
|
|
190
|
+
async def ListAudits(
|
|
191
|
+
self,
|
|
192
|
+
request: models.ListAuditsRequest,
|
|
193
|
+
opts: Dict = None,
|
|
194
|
+
) -> models.ListAuditsResponse:
|
|
195
|
+
"""
|
|
196
|
+
查询跟踪集概要
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
kwargs = {}
|
|
200
|
+
kwargs["action"] = "ListAudits"
|
|
201
|
+
kwargs["params"] = request._serialize()
|
|
202
|
+
kwargs["resp_cls"] = models.ListAuditsResponse
|
|
203
|
+
kwargs["headers"] = request.headers
|
|
204
|
+
kwargs["opts"] = opts or {}
|
|
205
|
+
|
|
206
|
+
return await self.call_and_deserialize(**kwargs)
|
|
207
|
+
|
|
208
|
+
async def ListCmqEnableRegion(
|
|
209
|
+
self,
|
|
210
|
+
request: models.ListCmqEnableRegionRequest,
|
|
211
|
+
opts: Dict = None,
|
|
212
|
+
) -> models.ListCmqEnableRegionResponse:
|
|
213
|
+
"""
|
|
214
|
+
查询操作审计支持的cmq的可用区
|
|
215
|
+
"""
|
|
216
|
+
|
|
217
|
+
kwargs = {}
|
|
218
|
+
kwargs["action"] = "ListCmqEnableRegion"
|
|
219
|
+
kwargs["params"] = request._serialize()
|
|
220
|
+
kwargs["resp_cls"] = models.ListCmqEnableRegionResponse
|
|
221
|
+
kwargs["headers"] = request.headers
|
|
222
|
+
kwargs["opts"] = opts or {}
|
|
223
|
+
|
|
224
|
+
return await self.call_and_deserialize(**kwargs)
|
|
225
|
+
|
|
226
|
+
async def ListCosEnableRegion(
|
|
227
|
+
self,
|
|
228
|
+
request: models.ListCosEnableRegionRequest,
|
|
229
|
+
opts: Dict = None,
|
|
230
|
+
) -> models.ListCosEnableRegionResponse:
|
|
231
|
+
"""
|
|
232
|
+
查询操作审计支持的cos可用区
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
kwargs = {}
|
|
236
|
+
kwargs["action"] = "ListCosEnableRegion"
|
|
237
|
+
kwargs["params"] = request._serialize()
|
|
238
|
+
kwargs["resp_cls"] = models.ListCosEnableRegionResponse
|
|
239
|
+
kwargs["headers"] = request.headers
|
|
240
|
+
kwargs["opts"] = opts or {}
|
|
241
|
+
|
|
242
|
+
return await self.call_and_deserialize(**kwargs)
|
|
243
|
+
|
|
244
|
+
async def ListKeyAliasByRegion(
|
|
245
|
+
self,
|
|
246
|
+
request: models.ListKeyAliasByRegionRequest,
|
|
247
|
+
opts: Dict = None,
|
|
248
|
+
) -> models.ListKeyAliasByRegionResponse:
|
|
249
|
+
"""
|
|
250
|
+
根据地域获取KMS密钥别名
|
|
251
|
+
"""
|
|
252
|
+
|
|
253
|
+
kwargs = {}
|
|
254
|
+
kwargs["action"] = "ListKeyAliasByRegion"
|
|
255
|
+
kwargs["params"] = request._serialize()
|
|
256
|
+
kwargs["resp_cls"] = models.ListKeyAliasByRegionResponse
|
|
257
|
+
kwargs["headers"] = request.headers
|
|
258
|
+
kwargs["opts"] = opts or {}
|
|
259
|
+
|
|
260
|
+
return await self.call_and_deserialize(**kwargs)
|
|
261
|
+
|
|
262
|
+
async def LookUpEvents(
|
|
263
|
+
self,
|
|
264
|
+
request: models.LookUpEventsRequest,
|
|
265
|
+
opts: Dict = None,
|
|
266
|
+
) -> models.LookUpEventsResponse:
|
|
267
|
+
"""
|
|
268
|
+
用于对操作日志进行检索,便于用户进行查询相关的操作信息。
|
|
269
|
+
"""
|
|
270
|
+
|
|
271
|
+
kwargs = {}
|
|
272
|
+
kwargs["action"] = "LookUpEvents"
|
|
273
|
+
kwargs["params"] = request._serialize()
|
|
274
|
+
kwargs["resp_cls"] = models.LookUpEventsResponse
|
|
275
|
+
kwargs["headers"] = request.headers
|
|
276
|
+
kwargs["opts"] = opts or {}
|
|
277
|
+
|
|
278
|
+
return await self.call_and_deserialize(**kwargs)
|
|
279
|
+
|
|
280
|
+
async def ModifyAuditTrack(
|
|
281
|
+
self,
|
|
282
|
+
request: models.ModifyAuditTrackRequest,
|
|
283
|
+
opts: Dict = None,
|
|
284
|
+
) -> models.ModifyAuditTrackResponse:
|
|
285
|
+
"""
|
|
286
|
+
修改操作审计跟踪集
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
kwargs = {}
|
|
290
|
+
kwargs["action"] = "ModifyAuditTrack"
|
|
291
|
+
kwargs["params"] = request._serialize()
|
|
292
|
+
kwargs["resp_cls"] = models.ModifyAuditTrackResponse
|
|
293
|
+
kwargs["headers"] = request.headers
|
|
294
|
+
kwargs["opts"] = opts or {}
|
|
295
|
+
|
|
296
|
+
return await self.call_and_deserialize(**kwargs)
|
|
297
|
+
|
|
298
|
+
async def ModifyEventsAuditTrack(
|
|
299
|
+
self,
|
|
300
|
+
request: models.ModifyEventsAuditTrackRequest,
|
|
301
|
+
opts: Dict = None,
|
|
302
|
+
) -> models.ModifyEventsAuditTrackResponse:
|
|
303
|
+
"""
|
|
304
|
+
修改操作审计跟踪集
|
|
305
|
+
"""
|
|
306
|
+
|
|
307
|
+
kwargs = {}
|
|
308
|
+
kwargs["action"] = "ModifyEventsAuditTrack"
|
|
309
|
+
kwargs["params"] = request._serialize()
|
|
310
|
+
kwargs["resp_cls"] = models.ModifyEventsAuditTrackResponse
|
|
311
|
+
kwargs["headers"] = request.headers
|
|
312
|
+
kwargs["opts"] = opts or {}
|
|
313
|
+
|
|
314
|
+
return await self.call_and_deserialize(**kwargs)
|
|
315
|
+
|
|
316
|
+
async def StartLogging(
|
|
317
|
+
self,
|
|
318
|
+
request: models.StartLoggingRequest,
|
|
319
|
+
opts: Dict = None,
|
|
320
|
+
) -> models.StartLoggingResponse:
|
|
321
|
+
"""
|
|
322
|
+
开启跟踪集
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
kwargs = {}
|
|
326
|
+
kwargs["action"] = "StartLogging"
|
|
327
|
+
kwargs["params"] = request._serialize()
|
|
328
|
+
kwargs["resp_cls"] = models.StartLoggingResponse
|
|
329
|
+
kwargs["headers"] = request.headers
|
|
330
|
+
kwargs["opts"] = opts or {}
|
|
331
|
+
|
|
332
|
+
return await self.call_and_deserialize(**kwargs)
|
|
333
|
+
|
|
334
|
+
async def StopLogging(
|
|
335
|
+
self,
|
|
336
|
+
request: models.StopLoggingRequest,
|
|
337
|
+
opts: Dict = None,
|
|
338
|
+
) -> models.StopLoggingResponse:
|
|
339
|
+
"""
|
|
340
|
+
关闭跟踪集
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
kwargs = {}
|
|
344
|
+
kwargs["action"] = "StopLogging"
|
|
345
|
+
kwargs["params"] = request._serialize()
|
|
346
|
+
kwargs["resp_cls"] = models.StopLoggingResponse
|
|
347
|
+
kwargs["headers"] = request.headers
|
|
348
|
+
kwargs["opts"] = opts or {}
|
|
349
|
+
|
|
350
|
+
return await self.call_and_deserialize(**kwargs)
|
|
351
|
+
|
|
352
|
+
async def UpdateAudit(
|
|
353
|
+
self,
|
|
354
|
+
request: models.UpdateAuditRequest,
|
|
355
|
+
opts: Dict = None,
|
|
356
|
+
) -> models.UpdateAuditResponse:
|
|
357
|
+
"""
|
|
358
|
+
参数要求:
|
|
359
|
+
1、如果IsCreateNewBucket的值存在的话,cosRegion和cosBucketName都是必填参数。
|
|
360
|
+
2、如果IsEnableCmqNotify的值是1的话,IsCreateNewQueue、CmqRegion和CmqQueueName都是必填参数。
|
|
361
|
+
3、如果IsEnableCmqNotify的值是0的话,IsCreateNewQueue、CmqRegion和CmqQueueName都不能传。
|
|
362
|
+
4、如果IsEnableKmsEncry的值是1的话,KmsRegion和KeyId属于必填项
|
|
363
|
+
"""
|
|
364
|
+
|
|
365
|
+
kwargs = {}
|
|
366
|
+
kwargs["action"] = "UpdateAudit"
|
|
367
|
+
kwargs["params"] = request._serialize()
|
|
368
|
+
kwargs["resp_cls"] = models.UpdateAuditResponse
|
|
369
|
+
kwargs["headers"] = request.headers
|
|
370
|
+
kwargs["opts"] = opts or {}
|
|
371
|
+
|
|
372
|
+
return await self.call_and_deserialize(**kwargs)
|
|
@@ -1281,7 +1281,21 @@ class DescribeEventsRequest(AbstractModel):
|
|
|
1281
1281
|
:type NextToken: int
|
|
1282
1282
|
:param _MaxResults: 返回日志的最大条数(最大 50 条)
|
|
1283
1283
|
:type MaxResults: int
|
|
1284
|
-
:param _LookupAttributes:
|
|
1284
|
+
:param _LookupAttributes: 检索条件(目前支持:
|
|
1285
|
+
RequestId:请求 ID
|
|
1286
|
+
EventName:事件名称
|
|
1287
|
+
ActionType:操作类型(Write:写;Read:读)
|
|
1288
|
+
PrincipalId:子账号
|
|
1289
|
+
ResourceType:资源类型
|
|
1290
|
+
ResourceId:资源Id
|
|
1291
|
+
ResourceName:资源名称
|
|
1292
|
+
AccessKeyId:密钥 ID
|
|
1293
|
+
SensitiveAction:是否敏感操作
|
|
1294
|
+
ApiErrorCode:API 错误码
|
|
1295
|
+
CamErrorCode:CAM 错误码
|
|
1296
|
+
SourceIPAddress:请求IP
|
|
1297
|
+
Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])
|
|
1298
|
+
备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)
|
|
1285
1299
|
:type LookupAttributes: list of LookupAttribute
|
|
1286
1300
|
:param _IsReturnLocation: 是否返回 IP 归属地(1 返回,0 不返回)
|
|
1287
1301
|
:type IsReturnLocation: int
|
|
@@ -1339,7 +1353,21 @@ class DescribeEventsRequest(AbstractModel):
|
|
|
1339
1353
|
|
|
1340
1354
|
@property
|
|
1341
1355
|
def LookupAttributes(self):
|
|
1342
|
-
r"""
|
|
1356
|
+
r"""检索条件(目前支持:
|
|
1357
|
+
RequestId:请求 ID
|
|
1358
|
+
EventName:事件名称
|
|
1359
|
+
ActionType:操作类型(Write:写;Read:读)
|
|
1360
|
+
PrincipalId:子账号
|
|
1361
|
+
ResourceType:资源类型
|
|
1362
|
+
ResourceId:资源Id
|
|
1363
|
+
ResourceName:资源名称
|
|
1364
|
+
AccessKeyId:密钥 ID
|
|
1365
|
+
SensitiveAction:是否敏感操作
|
|
1366
|
+
ApiErrorCode:API 错误码
|
|
1367
|
+
CamErrorCode:CAM 错误码
|
|
1368
|
+
SourceIPAddress:请求IP
|
|
1369
|
+
Tags:标签(AttributeValue格式:[{"key":"*","value":"*"}])
|
|
1370
|
+
备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)
|
|
1343
1371
|
:rtype: list of LookupAttribute
|
|
1344
1372
|
"""
|
|
1345
1373
|
return self._LookupAttributes
|
|
@@ -2545,7 +2573,7 @@ class LookupAttribute(AbstractModel):
|
|
|
2545
2573
|
|
|
2546
2574
|
def __init__(self):
|
|
2547
2575
|
r"""
|
|
2548
|
-
:param _AttributeKey: AttributeKey的有效取值范围是:RequestId、EventName、
|
|
2576
|
+
:param _AttributeKey: AttributeKey的有效取值范围是:RequestId、EventName、ActionType、PrincipalId、ResourceId、ResourceName、AccessKeyId、SensitiveAction、ApiErrorCode、CamErrorCode、SourceIPAddress、Tags
|
|
2549
2577
|
:type AttributeKey: str
|
|
2550
2578
|
:param _AttributeValue: AttributeValue的值
|
|
2551
2579
|
:type AttributeValue: str
|
|
@@ -2555,7 +2583,7 @@ class LookupAttribute(AbstractModel):
|
|
|
2555
2583
|
|
|
2556
2584
|
@property
|
|
2557
2585
|
def AttributeKey(self):
|
|
2558
|
-
r"""AttributeKey的有效取值范围是:RequestId、EventName、
|
|
2586
|
+
r"""AttributeKey的有效取值范围是:RequestId、EventName、ActionType、PrincipalId、ResourceId、ResourceName、AccessKeyId、SensitiveAction、ApiErrorCode、CamErrorCode、SourceIPAddress、Tags
|
|
2559
2587
|
:rtype: str
|
|
2560
2588
|
"""
|
|
2561
2589
|
return self._AttributeKey
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cloudaudit
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.1.27
|
|
4
4
|
Summary: Tencent Cloud Cloudaudit SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.27
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -5,6 +5,7 @@ tencentcloud/__init__.py
|
|
|
5
5
|
tencentcloud/cloudaudit/__init__.py
|
|
6
6
|
tencentcloud/cloudaudit/v20190319/__init__.py
|
|
7
7
|
tencentcloud/cloudaudit/v20190319/cloudaudit_client.py
|
|
8
|
+
tencentcloud/cloudaudit/v20190319/cloudaudit_client_async.py
|
|
8
9
|
tencentcloud/cloudaudit/v20190319/errorcodes.py
|
|
9
10
|
tencentcloud/cloudaudit/v20190319/models.py
|
|
10
11
|
tencentcloud_sdk_python_cloudaudit.egg-info/PKG-INFO
|
tencentcloud_sdk_python_cloudaudit-3.1.27/tencentcloud_sdk_python_cloudaudit.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.27
|
tencentcloud_sdk_python_cloudaudit-3.0.1481/tencentcloud_sdk_python_cloudaudit.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1481
|
{tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_cloudaudit-3.0.1481 → tencentcloud_sdk_python_cloudaudit-3.1.27}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|