tccli 3.0.1228.1__py2.py3-none-any.whl → 3.0.1230.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/aiart_client.py +57 -4
  3. tccli/services/aiart/v20221229/api.json +101 -3
  4. tccli/services/aiart/v20221229/examples.json +8 -0
  5. tccli/services/batch/v20170312/api.json +15 -8
  6. tccli/services/cam/v20190116/api.json +25 -25
  7. tccli/services/cam/v20190116/examples.json +8 -8
  8. tccli/services/cdb/v20170320/api.json +8 -8
  9. tccli/services/cfw/v20190904/api.json +1 -1
  10. tccli/services/ckafka/v20190819/api.json +1 -1
  11. tccli/services/ckafka/v20190819/examples.json +14 -14
  12. tccli/services/clb/v20180317/api.json +1 -1
  13. tccli/services/cloudaudit/v20190319/api.json +15 -15
  14. tccli/services/cloudaudit/v20190319/examples.json +3 -3
  15. tccli/services/config/v20220802/api.json +70 -68
  16. tccli/services/config/v20220802/examples.json +6 -6
  17. tccli/services/cwp/v20180228/api.json +1 -1
  18. tccli/services/cynosdb/cynosdb_client.py +175 -16
  19. tccli/services/cynosdb/v20190107/api.json +292 -18
  20. tccli/services/cynosdb/v20190107/examples.json +30 -0
  21. tccli/services/dbbrain/v20210527/api.json +3 -1
  22. tccli/services/emr/emr_client.py +110 -4
  23. tccli/services/emr/v20190103/api.json +645 -0
  24. tccli/services/emr/v20190103/examples.json +16 -0
  25. tccli/services/essbasic/v20210526/api.json +10 -0
  26. tccli/services/facefusion/v20181201/api.json +12 -6
  27. tccli/services/hai/v20230812/api.json +6 -6
  28. tccli/services/hai/v20230812/examples.json +2 -2
  29. tccli/services/iotexplorer/v20190423/api.json +10 -0
  30. tccli/services/ivld/v20210903/api.json +25 -25
  31. tccli/services/ivld/v20210903/examples.json +1 -1
  32. tccli/services/lcic/v20220817/api.json +2 -2
  33. tccli/services/lke/v20231130/api.json +4 -4
  34. tccli/services/mps/v20190612/api.json +54 -1
  35. tccli/services/mqtt/mqtt_client.py +118 -12
  36. tccli/services/mqtt/v20240516/api.json +312 -33
  37. tccli/services/mqtt/v20240516/examples.json +23 -13
  38. tccli/services/ocr/v20181119/api.json +119 -30
  39. tccli/services/ocr/v20181119/examples.json +6 -6
  40. tccli/services/postgres/v20170312/api.json +221 -219
  41. tccli/services/postgres/v20170312/examples.json +36 -36
  42. tccli/services/pts/v20210728/api.json +22 -12
  43. tccli/services/redis/v20180412/api.json +14 -14
  44. tccli/services/scf/v20180416/api.json +12 -0
  45. tccli/services/ssl/v20191205/api.json +246 -173
  46. tccli/services/ssl/v20191205/examples.json +69 -69
  47. tccli/services/sts/v20180813/api.json +17 -11
  48. tccli/services/sts/v20180813/examples.json +6 -6
  49. tccli/services/tcr/v20190924/api.json +17 -17
  50. tccli/services/tdmq/tdmq_client.py +4 -57
  51. tccli/services/tdmq/v20200217/api.json +121 -202
  52. tccli/services/tdmq/v20200217/examples.json +29 -49
  53. tccli/services/trtc/v20190722/api.json +5 -9
  54. tccli/services/vclm/v20240523/api.json +28 -18
  55. tccli/services/vclm/v20240523/examples.json +2 -2
  56. tccli/services/vod/v20180717/api.json +18 -18
  57. tccli/services/vpc/v20170312/api.json +658 -163
  58. tccli/services/vpc/v20170312/examples.json +70 -14
  59. tccli/services/vpc/vpc_client.py +475 -104
  60. {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/METADATA +2 -2
  61. {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/RECORD +64 -64
  62. {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/WHEEL +0 -0
  63. {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/entry_points.txt +0 -0
  64. {tccli-3.0.1228.1.dist-info → tccli-3.0.1230.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1228.1'
1
+ __version__ = '3.0.1230.1'
@@ -225,7 +225,7 @@ def doSubmitTrainPortraitModelJob(args, parsed_globals):
225
225
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
226
226
 
227
227
 
228
- def doQueryTextToImageProJob(args, parsed_globals):
228
+ def doImageOutpainting(args, parsed_globals):
229
229
  g_param = parse_global_arg(parsed_globals)
230
230
 
231
231
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -254,11 +254,11 @@ def doQueryTextToImageProJob(args, parsed_globals):
254
254
  client = mod.AiartClient(cred, g_param[OptionsDefine.Region], profile)
255
255
  client._sdkVersion += ("_CLI_" + __version__)
256
256
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
257
- model = models.QueryTextToImageProJobRequest()
257
+ model = models.ImageOutpaintingRequest()
258
258
  model.from_json_string(json.dumps(args))
259
259
  start_time = time.time()
260
260
  while True:
261
- rsp = client.QueryTextToImageProJob(model)
261
+ rsp = client.ImageOutpainting(model)
262
262
  result = rsp.to_json_string()
263
263
  try:
264
264
  json_obj = json.loads(result)
@@ -537,6 +537,58 @@ def doTextToImage(args, parsed_globals):
537
537
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
538
538
 
539
539
 
540
+ def doQueryTextToImageProJob(args, parsed_globals):
541
+ g_param = parse_global_arg(parsed_globals)
542
+
543
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
544
+ cred = credential.CVMRoleCredential()
545
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
546
+ cred = credential.STSAssumeRoleCredential(
547
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
548
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
549
+ )
550
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
551
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
552
+ else:
553
+ cred = credential.Credential(
554
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
555
+ )
556
+ http_profile = HttpProfile(
557
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
558
+ reqMethod="POST",
559
+ endpoint=g_param[OptionsDefine.Endpoint],
560
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
561
+ )
562
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
563
+ if g_param[OptionsDefine.Language]:
564
+ profile.language = g_param[OptionsDefine.Language]
565
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
566
+ client = mod.AiartClient(cred, g_param[OptionsDefine.Region], profile)
567
+ client._sdkVersion += ("_CLI_" + __version__)
568
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
569
+ model = models.QueryTextToImageProJobRequest()
570
+ model.from_json_string(json.dumps(args))
571
+ start_time = time.time()
572
+ while True:
573
+ rsp = client.QueryTextToImageProJob(model)
574
+ result = rsp.to_json_string()
575
+ try:
576
+ json_obj = json.loads(result)
577
+ except TypeError as e:
578
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
579
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
580
+ break
581
+ cur_time = time.time()
582
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
583
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
584
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
585
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
586
+ else:
587
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
588
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
589
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
590
+
591
+
540
592
  def doChangeClothes(args, parsed_globals):
541
593
  g_param = parse_global_arg(parsed_globals)
542
594
 
@@ -708,12 +760,13 @@ ACTION_MAP = {
708
760
  "SubmitTextToImageProJob": doSubmitTextToImageProJob,
709
761
  "ReplaceBackground": doReplaceBackground,
710
762
  "SubmitTrainPortraitModelJob": doSubmitTrainPortraitModelJob,
711
- "QueryTextToImageProJob": doQueryTextToImageProJob,
763
+ "ImageOutpainting": doImageOutpainting,
712
764
  "GenerateAvatar": doGenerateAvatar,
713
765
  "QueryTrainPortraitModelJob": doQueryTrainPortraitModelJob,
714
766
  "UploadTrainPortraitImages": doUploadTrainPortraitImages,
715
767
  "QueryDrawPortraitJob": doQueryDrawPortraitJob,
716
768
  "TextToImage": doTextToImage,
769
+ "QueryTextToImageProJob": doQueryTextToImageProJob,
717
770
  "ChangeClothes": doChangeClothes,
718
771
  "SubmitDrawPortraitJob": doSubmitDrawPortraitJob,
719
772
  "ImageToImage": doImageToImage,
@@ -14,6 +14,13 @@
14
14
  "output": "GenerateAvatarResponse",
15
15
  "status": "online"
16
16
  },
17
+ "ImageOutpainting": {
18
+ "document": "扩图接口支持对输入图像按指定宽高比实现智能扩图。\n默认提供1个并发,代表最多能同时处理1个已提交的任务。",
19
+ "input": "ImageOutpaintingRequest",
20
+ "name": "扩图",
21
+ "output": "ImageOutpaintingResponse",
22
+ "status": "online"
23
+ },
17
24
  "ImageToImage": {
18
25
  "document": "图像风格化(图生图)接口提供生成式的图生图风格转化能力,将根据输入的图像及文本描述,智能生成风格转化后的图像。建议避免输入人像过小、姿势复杂、人数较多的人像图片。\n图像风格化(图生图)默认提供3个并发任务数,代表最多能同时处理3个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。",
19
26
  "input": "ImageToImageRequest",
@@ -219,11 +226,20 @@
219
226
  "members": [
220
227
  {
221
228
  "disabled": false,
222
- "document": "头像风格。\n请在 [百变头像风格列表](https://cloud.tencent.com/document/product/1668/107741) 中选择期望的风格,必须传入风格编号。",
229
+ "document": "图像类型,默认为人像。\nhuman:人像头像,仅支持人像图片输入,建议避免上传无人、多人、人像过小的图片。\npet:萌宠贴纸,仅支持动物图片输入,建议避免上传无动物、多动物、动物过小的图片。",
230
+ "example": "human",
231
+ "member": "string",
232
+ "name": "Type",
233
+ "required": false,
234
+ "type": "string"
235
+ },
236
+ {
237
+ "disabled": false,
238
+ "document": "头像风格,仅在人像模式下生效。\n若使用人像模式,请在 [百变头像风格列表](https://cloud.tencent.com/document/product/1668/107741) 中选择期望的风格,传入风格编号,不传默认使用 flower 风格。\n若使用萌宠贴纸模式,无需选择风格,该参数不生效。",
223
239
  "example": "flower",
224
240
  "member": "string",
225
241
  "name": "Style",
226
- "required": true,
242
+ "required": false,
227
243
  "type": "string"
228
244
  },
229
245
  {
@@ -246,7 +262,7 @@
246
262
  },
247
263
  {
248
264
  "disabled": false,
249
- "document": "输入图像质量检测开关,默认开启。\n1:开启\n0:关闭\n建议开启检测,可提升生成效果,关闭检测可能因输入图像质量较差导致生成效果受损。\n开启后,将增强对输入图像的质量要求,如果输入图像单边分辨率<500、图像中人脸占比较小、存在多人、没有检测到人脸、人脸不完整、人脸遮挡等,将被拦截。\n关闭后,将降低对输入图像的质量要求,如果图像中没有检测到人脸或人脸占比过小等,将被拦截。",
265
+ "document": "输入人像图的质量检测开关,默认开启,仅在人像模式下生效。\n1:开启\n0:关闭\n建议开启检测,可提升生成效果,关闭检测可能因输入图像质量较差导致生成效果受损。\n开启后,将增强对输入图像的质量要求,如果输入图像单边分辨率<500、图像中人脸占比较小、存在多人、没有检测到人脸、人脸不完整、人脸遮挡等,将被拦截。\n关闭后,将降低对输入图像的质量要求,如果图像中没有检测到人脸或人脸占比过小等,将被拦截。",
250
266
  "example": "1",
251
267
  "member": "int64",
252
268
  "name": "Filter",
@@ -305,6 +321,88 @@
305
321
  ],
306
322
  "type": "object"
307
323
  },
324
+ "ImageOutpaintingRequest": {
325
+ "document": "ImageOutpainting请求参数结构体",
326
+ "members": [
327
+ {
328
+ "disabled": false,
329
+ "document": "扩展后的比例(宽:高),需要不等于原图比例。\n支持:1:1、4:3、3:4、16:9、9:16",
330
+ "example": "4:3",
331
+ "member": "string",
332
+ "name": "Ratio",
333
+ "required": true,
334
+ "type": "string"
335
+ },
336
+ {
337
+ "disabled": false,
338
+ "document": "输入图 Base64 数据。\nBase64 和 Url 必须提供一个,如果都提供以 Url 为准。\n图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。",
339
+ "example": "9j/4QlQaHR0c...N6a2M5ZCI",
340
+ "member": "string",
341
+ "name": "InputImage",
342
+ "required": false,
343
+ "type": "string"
344
+ },
345
+ {
346
+ "disabled": false,
347
+ "document": "输入图 Url。\nBase64 和 Url 必须提供一个,如果都提供以 Url 为准。\n图片限制:单边分辨率小于5000,转成 Base64 字符串后小于 6MB,格式支持 jpg、jpeg、png、bmp、tiff、webp。",
348
+ "example": "https://xxx.com/image.jpg",
349
+ "member": "string",
350
+ "name": "InputUrl",
351
+ "required": false,
352
+ "type": "string"
353
+ },
354
+ {
355
+ "disabled": false,
356
+ "document": "返回图像方式(base64 或 url) ,二选一,默认为 base64。url 有效期为1小时。",
357
+ "example": "url",
358
+ "member": "string",
359
+ "name": "RspImgType",
360
+ "required": false,
361
+ "type": "string"
362
+ },
363
+ {
364
+ "disabled": false,
365
+ "document": "为生成结果图添加标识的开关,默认为1。\n1:添加标识。\n0:不添加标识。\n其他数值:默认按1处理。\n建议您使用显著标识来提示结果图使用了 AI 绘画技术,是 AI 生成的图片。",
366
+ "example": "1",
367
+ "member": "int64",
368
+ "name": "LogoAdd",
369
+ "required": false,
370
+ "type": "int"
371
+ },
372
+ {
373
+ "disabled": false,
374
+ "document": "标识内容设置。\n默认在生成结果图右下角添加“图片由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
375
+ "example": "{\"LogoUrl\": \"https://xxx.com/logo.jpg\", \"LogoRect\": {\"X\": 10, \"Y\": 10, \"Width\": 20, \"Height\": 20}}",
376
+ "member": "LogoParam",
377
+ "name": "LogoParam",
378
+ "required": false,
379
+ "type": "object"
380
+ }
381
+ ],
382
+ "type": "object"
383
+ },
384
+ "ImageOutpaintingResponse": {
385
+ "document": "ImageOutpainting返回参数结构体",
386
+ "members": [
387
+ {
388
+ "disabled": false,
389
+ "document": "根据入参 RspImgType 填入不同,返回不同的内容。\n如果传入 base64 则返回生成图 Base64 编码。\n如果传入 url 则返回的生成图 URL , 有效期1小时,请及时保存。",
390
+ "example": "https://aiart-xxx.cos.ap-guangzhou.myqcloud.com/xxx.jpg?q-sign-algorithm=sha1&q-ak=xxxxx&q-sign-time=1731574045;1731577645&q-key-time=1731574045;1731577645&q-header-list=host&q-url-param-list=&q-signature=31fe75c1c18c3d91db59508961209dd37aaf41c7",
391
+ "member": "string",
392
+ "name": "ResultImage",
393
+ "output_required": false,
394
+ "type": "string",
395
+ "value_allowed_null": false
396
+ },
397
+ {
398
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
399
+ "member": "string",
400
+ "name": "RequestId",
401
+ "type": "string"
402
+ }
403
+ ],
404
+ "type": "object"
405
+ },
308
406
  "ImageToImageRequest": {
309
407
  "document": "ImageToImage请求参数结构体",
310
408
  "members": [
@@ -16,6 +16,14 @@
16
16
  "title": "调用成功示例"
17
17
  }
18
18
  ],
19
+ "ImageOutpainting": [
20
+ {
21
+ "document": "",
22
+ "input": "POST / HTTP/1.1\nHost: aiart.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImageOutpainting\n<公共请求参数>\n\n{\n \"InputUrl\": \"https://xxx.com/image.jpg\",\n \"Ratio\": \"4:3\",\n \"RspImgType\": \"url\"\n}",
23
+ "output": "{\n \"Response\": {\n \"ResultImage\": \"https://aiart-xxx.cos.ap-guangzhou.myqcloud.com/xxx.jpg?q-sign-algorithm=sha1&q-ak=xxxxx&q-sign-time=1731574045;1731577645&q-key-time=1731574045;1731577645&q-header-list=host&q-url-param-list=&q-signature=31fe75c1c18c3d91db59508961209dd37aaf41c7\",\n \"RequestId\": \"301bfc25-61ca-4ece-b03e-f6aefb547969\"\n }\n}",
24
+ "title": "调用示例"
25
+ }
26
+ ],
19
27
  "ImageToImage": [
20
28
  {
21
29
  "document": "调用成功示例",
@@ -2762,31 +2762,34 @@
2762
2762
  "members": [
2763
2763
  {
2764
2764
  "disabled": false,
2765
- "document": "Docker Hub 用户名或 Tencent Registry 用户名",
2765
+ "document": "Docker Hub填写“[user/repo]:[tag]”,Tencent Registry填写“ccr.ccs.tencentyun.com/[namespace/repo]:[tag]”",
2766
2766
  "example": "无",
2767
2767
  "member": "string",
2768
- "name": "User",
2768
+ "name": "Image",
2769
+ "output_required": true,
2769
2770
  "required": true,
2770
2771
  "type": "string",
2771
2772
  "value_allowed_null": false
2772
2773
  },
2773
2774
  {
2774
2775
  "disabled": false,
2775
- "document": "Docker Hub 密码或 Tencent Registry 密码",
2776
+ "document": "Docker Hub 用户名或 Tencent Registry 用户名;公共镜像可不填写此参数。",
2776
2777
  "example": "无",
2777
2778
  "member": "string",
2778
- "name": "Password",
2779
- "required": true,
2779
+ "name": "User",
2780
+ "output_required": true,
2781
+ "required": false,
2780
2782
  "type": "string",
2781
2783
  "value_allowed_null": false
2782
2784
  },
2783
2785
  {
2784
2786
  "disabled": false,
2785
- "document": "Docker Hub填写“[user/repo]:[tag]”,Tencent Registry填写“ccr.ccs.tencentyun.com/[namespace/repo]:[tag]”",
2787
+ "document": "Docker Hub 密码或 Tencent Registry 密码;公共镜像可不填写此参数。",
2786
2788
  "example": "无",
2787
2789
  "member": "string",
2788
- "name": "Image",
2789
- "required": true,
2790
+ "name": "Password",
2791
+ "output_required": true,
2792
+ "required": false,
2790
2793
  "type": "string",
2791
2794
  "value_allowed_null": false
2792
2795
  },
@@ -2796,6 +2799,7 @@
2796
2799
  "example": "无",
2797
2800
  "member": "string",
2798
2801
  "name": "Server",
2802
+ "output_required": true,
2799
2803
  "required": false,
2800
2804
  "type": "string",
2801
2805
  "value_allowed_null": false
@@ -2806,6 +2810,7 @@
2806
2810
  "example": "0",
2807
2811
  "member": "uint64",
2808
2812
  "name": "MaxRetryCount",
2813
+ "output_required": true,
2809
2814
  "required": false,
2810
2815
  "type": "int",
2811
2816
  "value_allowed_null": false
@@ -2816,6 +2821,7 @@
2816
2821
  "example": "1",
2817
2822
  "member": "uint64",
2818
2823
  "name": "DelayOnRetry",
2824
+ "output_required": true,
2819
2825
  "required": false,
2820
2826
  "type": "int",
2821
2827
  "value_allowed_null": false
@@ -2826,6 +2832,7 @@
2826
2832
  "example": "-u root",
2827
2833
  "member": "string",
2828
2834
  "name": "DockerRunOption",
2835
+ "output_required": true,
2829
2836
  "required": false,
2830
2837
  "type": "string",
2831
2838
  "value_allowed_null": true
@@ -1024,7 +1024,7 @@
1024
1024
  {
1025
1025
  "disabled": false,
1026
1026
  "document": "策略id",
1027
- "example": "",
1027
+ "example": "109360057",
1028
1028
  "member": "uint64",
1029
1029
  "name": "PolicyId",
1030
1030
  "output_required": true,
@@ -1034,7 +1034,7 @@
1034
1034
  {
1035
1035
  "disabled": false,
1036
1036
  "document": "策略名称\n注意:此字段可能返回 null,表示取不到有效值。",
1037
- "example": "",
1037
+ "example": "readOnlyPolicy",
1038
1038
  "member": "string",
1039
1039
  "name": "PolicyName",
1040
1040
  "output_required": true,
@@ -1044,7 +1044,7 @@
1044
1044
  {
1045
1045
  "disabled": false,
1046
1046
  "document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
1047
- "example": "",
1047
+ "example": "2022-01-03 10:38:28",
1048
1048
  "member": "datetime",
1049
1049
  "name": "AddTime",
1050
1050
  "output_required": true,
@@ -1053,8 +1053,8 @@
1053
1053
  },
1054
1054
  {
1055
1055
  "disabled": false,
1056
- "document": "创建来源,1 通过控制台创建, 2 通过策略语法创建。\n注意:此字段可能返回 null,表示取不到有效值。",
1057
- "example": "",
1056
+ "document": "创建来源,1 通过控制台创建, 2 通过策略语法创建\n注意:此字段可能返回 null,表示取不到有效值。",
1057
+ "example": "1",
1058
1058
  "member": "uint64",
1059
1059
  "name": "CreateMode",
1060
1060
  "output_required": true,
@@ -1063,8 +1063,8 @@
1063
1063
  },
1064
1064
  {
1065
1065
  "disabled": false,
1066
- "document": "取值为user和QCS\n注意:此字段可能返回 null,表示取不到有效值。",
1067
- "example": "",
1066
+ "document": "取值为User和QCS。User代表自定义策略,QCS代表系统策略\n注意:此字段可能返回 null,表示取不到有效值。",
1067
+ "example": "User",
1068
1068
  "member": "string",
1069
1069
  "name": "PolicyType",
1070
1070
  "output_required": true,
@@ -1074,7 +1074,7 @@
1074
1074
  {
1075
1075
  "disabled": false,
1076
1076
  "document": "策略备注\n注意:此字段可能返回 null,表示取不到有效值。",
1077
- "example": "",
1077
+ "example": "备注",
1078
1078
  "member": "string",
1079
1079
  "name": "Remark",
1080
1080
  "output_required": true,
@@ -1084,7 +1084,7 @@
1084
1084
  {
1085
1085
  "disabled": false,
1086
1086
  "document": "策略关联操作者主账号\n注意:此字段可能返回 null,表示取不到有效值。",
1087
- "example": "",
1087
+ "example": "100013065917",
1088
1088
  "member": "string",
1089
1089
  "name": "OperateOwnerUin",
1090
1090
  "output_required": true,
@@ -1094,7 +1094,7 @@
1094
1094
  {
1095
1095
  "disabled": false,
1096
1096
  "document": "策略关联操作者ID,如果UinType为0表示子账号Uin,如果UinType为1表示角色ID\n注意:此字段可能返回 null,表示取不到有效值。",
1097
- "example": "",
1097
+ "example": "0",
1098
1098
  "member": "string",
1099
1099
  "name": "OperateUin",
1100
1100
  "output_required": true,
@@ -1103,8 +1103,8 @@
1103
1103
  },
1104
1104
  {
1105
1105
  "disabled": false,
1106
- "document": "UinType为0表示OperateUin字段是子账号Uin,如果UinType为1表示OperateUin字段是角色ID\n注意:此字段可能返回 null,表示取不到有效值。",
1107
- "example": "",
1106
+ "document": "取值为0和1。OperateUinType为0表示OperateUin字段是子账号Uin。如果OperateUinType为1表示OperateUin字段是角色ID\n注意:此字段可能返回 null,表示取不到有效值。",
1107
+ "example": "0",
1108
1108
  "member": "uint64",
1109
1109
  "name": "OperateUinType",
1110
1110
  "output_required": true,
@@ -1113,8 +1113,8 @@
1113
1113
  },
1114
1114
  {
1115
1115
  "disabled": false,
1116
- "document": "是否已下线\n注意:此字段可能返回 null,表示取不到有效值。",
1117
- "example": "",
1116
+ "document": "是否已下线,1代表已下线,0代表未下线\n注意:此字段可能返回 null,表示取不到有效值。",
1117
+ "example": "1",
1118
1118
  "member": "uint64",
1119
1119
  "name": "Deactived",
1120
1120
  "output_required": true,
@@ -1124,7 +1124,7 @@
1124
1124
  {
1125
1125
  "disabled": false,
1126
1126
  "document": "已下线的产品列表\n注意:此字段可能返回 null,表示取不到有效值。",
1127
- "example": "",
1127
+ "example": "[]",
1128
1128
  "member": "string",
1129
1129
  "name": "DeactivedDetail",
1130
1130
  "output_required": true,
@@ -1586,7 +1586,7 @@
1586
1586
  {
1587
1587
  "disabled": false,
1588
1588
  "document": "指定用户Uin,不填默认为当前用户创建访问密钥",
1589
- "example": "123456",
1589
+ "example": "100013065917",
1590
1590
  "member": "uint64",
1591
1591
  "name": "TargetUin",
1592
1592
  "required": false,
@@ -1610,7 +1610,7 @@
1610
1610
  {
1611
1611
  "disabled": false,
1612
1612
  "document": "访问密钥\n注意:此字段可能返回 null,表示取不到有效值。",
1613
- "example": "",
1613
+ "example": "{\"AccessKeyId\":\"AKID***\",\"SecretAccessKey\":\"iDVd***\",\"Status\":\"Active\",\"CreateTime\":\"2020-03-03 18:00:26\"}",
1614
1614
  "member": "AccessKeyDetail",
1615
1615
  "name": "AccessKey",
1616
1616
  "output_required": true,
@@ -2249,7 +2249,7 @@
2249
2249
  {
2250
2250
  "disabled": false,
2251
2251
  "document": "指定需要删除的AccessKeyId",
2252
- "example": "AKIDtmV4QYS9dx4yhEZllY8VebL2c0Tlqorp",
2252
+ "example": "AKID***",
2253
2253
  "member": "string",
2254
2254
  "name": "AccessKeyId",
2255
2255
  "required": true,
@@ -2258,7 +2258,7 @@
2258
2258
  {
2259
2259
  "disabled": false,
2260
2260
  "document": "指定用户Uin,不填默认为当前用户删除访问密钥",
2261
- "example": "123456",
2261
+ "example": "100013065917",
2262
2262
  "member": "uint64",
2263
2263
  "name": "TargetUin",
2264
2264
  "required": false,
@@ -3883,10 +3883,10 @@
3883
3883
  {
3884
3884
  "disabled": false,
3885
3885
  "document": "密钥ID最近访问列表",
3886
- "example": "",
3886
+ "example": "[{\"SecretId\":\"AKID***\",\"LastUsedDate\":\"2022-12-19\",\"LastSecretUsedDate\":1671681023555}]",
3887
3887
  "member": "SecretIdLastUsed",
3888
3888
  "name": "SecretIdLastUsedRows",
3889
- "required": true,
3889
+ "output_required": true,
3890
3890
  "type": "list",
3891
3891
  "value_allowed_null": false
3892
3892
  },
@@ -4406,7 +4406,7 @@
4406
4406
  {
4407
4407
  "disabled": false,
4408
4408
  "document": "指定用户Uin,不填默认列出当前用户访问密钥",
4409
- "example": "123456",
4409
+ "example": "100013065917",
4410
4410
  "member": "uint64",
4411
4411
  "name": "TargetUin",
4412
4412
  "required": false,
@@ -4424,7 +4424,7 @@
4424
4424
  "example": "无",
4425
4425
  "member": "AccessKey",
4426
4426
  "name": "AccessKeys",
4427
- "required": true,
4427
+ "output_required": true,
4428
4428
  "type": "list",
4429
4429
  "value_allowed_null": true
4430
4430
  },
@@ -6903,7 +6903,7 @@
6903
6903
  {
6904
6904
  "disabled": false,
6905
6905
  "document": "指定需要更新的AccessKeyId",
6906
- "example": "AKIDtmV4QYS9dx4yhEZllY8VebL2c0Tlqorp",
6906
+ "example": "AKID***",
6907
6907
  "member": "string",
6908
6908
  "name": "AccessKeyId",
6909
6909
  "required": true,
@@ -6921,7 +6921,7 @@
6921
6921
  {
6922
6922
  "disabled": false,
6923
6923
  "document": "指定用户Uin,不填默认为当前用户更新访问密钥",
6924
- "example": "123456",
6924
+ "example": "100013065917",
6925
6925
  "member": "uint64",
6926
6926
  "name": "TargetUin",
6927
6927
  "required": false,
@@ -59,8 +59,8 @@
59
59
  "CreateAccessKey": [
60
60
  {
61
61
  "document": "",
62
- "input": "https://cam.tencentcloudapi.com/?Action=CreateAccessKey\n&TargetUin=123456\n&<公共请求参数>",
63
- "output": "{\n \"Response\": {\n \"AccessKey\": {\n \"AccessKeyId\": \"AKID8GFED7s****QrFXkmb\",\n \"SecretAccessKey\": \"iDVjy****tNzX\",\n \"Status\": \"Active\",\n \"CreateTime\": \"2020-03-03 18:00:26\"\n },\n \"RequestId\": \"f8423e9b-a7da-488d-9539-333f1955ca78\"\n }\n}",
62
+ "input": "https://cam.tencentcloudapi.com/?Action=CreateAccessKey\n&TargetUin=100013065917\n&<公共请求参数>",
63
+ "output": "{\n \"Response\": {\n \"AccessKey\": {\n \"AccessKeyId\": \"AKID***\",\n \"SecretAccessKey\": \"iDVd***\",\n \"Status\": \"Active\",\n \"CreateTime\": \"2020-03-03 18:00:26\"\n },\n \"RequestId\": \"f8423e9b-a7da-488d-9539-333f1955ca78\"\n }\n}",
64
64
  "title": "创建访问密钥"
65
65
  }
66
66
  ],
@@ -147,7 +147,7 @@
147
147
  "DeleteAccessKey": [
148
148
  {
149
149
  "document": "",
150
- "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAccessKey\n<公共请求参数>\n\n{\n \"TargetUin\": \"123456\",\n \"AccessKeyId\": \"AKIDtm****lqorp\"\n}",
150
+ "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAccessKey\n<公共请求参数>\n\n{\n \"TargetUin\": \"100013065917\",\n \"AccessKeyId\": \"AKID***\"\n}",
151
151
  "output": "{\n \"Response\": {\n \"RequestId\": \"99d650e2-10fa-4c8f-819f-874578039641\"\n }\n}",
152
152
  "title": "删除访问密钥"
153
153
  }
@@ -410,7 +410,7 @@
410
410
  {
411
411
  "document": "",
412
412
  "input": "POST / HTTP/1.1\nHost: cam.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetSecurityLastUsed\n<公共请求参数>\n\n{\n \"SecretIdList\": [\n \"***\"\n ]\n}",
413
- "output": "{\n \"Response\": {\n \"SecretIdLastUsedRows\": [\n {\n \"SecretId\": \"***\",\n \"LastUsedDate\": \"2022-12-19\",\n \"LastSecretUsedDate\": 1671681023555\n }\n ],\n \"RequestId\": \"b790d4ca-5692-42ae-8a8c-d15c6ed976db\"\n }\n}",
413
+ "output": "{\n \"Response\": {\n \"SecretIdLastUsedRows\": [\n {\n \"SecretId\": \"AKID***\",\n \"LastUsedDate\": \"2022-12-19\",\n \"LastSecretUsedDate\": 1671681023555\n }\n ],\n \"RequestId\": \"b790d4ca-5692-42ae-8a8c-d15c6ed976db\"\n }\n}",
414
414
  "title": "密钥最后一次访问时间"
415
415
  }
416
416
  ],
@@ -448,9 +448,9 @@
448
448
  ],
449
449
  "ListAccessKeys": [
450
450
  {
451
- "document": "",
452
- "input": "https://cam.tencentcloudapi.com/?Action=ListAccessKeys\n&TargetUin=123456\n&<公共请求参数>",
453
- "output": "{\n \"Response\": {\n \"AccessKeys\": [\n {\n \"AccessKeyId\": \"AKIDlOp****mQsJQWEaYK\",\n \"Status\": \"Active\",\n \"CreateTime\": \"2019-12-25 14:53:03\"\n },\n {\n \"AccessKeyId\": \"A2342hOv****QOHySnzb5P7dv8\",\n \"Status\": \"Active\",\n \"CreateTime\": \"2020-03-03 16:51:21\"\n }\n ],\n \"RequestId\": \"bbc4c6b1-ee32-416a-9135-68de318c54f2\"\n }\n}",
451
+ "document": "列出访问密钥",
452
+ "input": "https://cam.tencentcloudapi.com/?Action=ListAccessKeys\n&TargetUin=100013065917\n&<公共请求参数>",
453
+ "output": "{\n \"Response\": {\n \"AccessKeys\": [\n {\n \"AccessKeyId\": \"AKID***\",\n \"Status\": \"Active\",\n \"CreateTime\": \"2019-12-25 14:53:03\"\n },\n {\n \"AccessKeyId\": \"AKID***\",\n \"Status\": \"Active\",\n \"CreateTime\": \"2020-03-03 16:51:21\"\n }\n ],\n \"RequestId\": \"bbc4c6b1-ee32-416a-9135-68de318c54f2\"\n }\n}",
454
454
  "title": "列出访问密钥"
455
455
  }
456
456
  ],
@@ -647,7 +647,7 @@
647
647
  "UpdateAccessKey": [
648
648
  {
649
649
  "document": "",
650
- "input": "https://cam.tencentcloudapi.com/?Action=UpdateAccessKey\n&TargetUin=123456\n&AccessKeyId=AKIDtm****lqorp\n&Status=Active\n&<公共请求参数>",
650
+ "input": "https://cam.tencentcloudapi.com/?Action=UpdateAccessKey\n&TargetUin=100013065917\n&AccessKeyId=AKID***\n&Status=Active\n&<公共请求参数>",
651
651
  "output": "{\n \"Response\": {\n \"RequestId\": \"99d650e2-10fa-4c8f-819f-874578039641\"\n }\n}",
652
652
  "title": "更新访问密钥"
653
653
  }
@@ -106,11 +106,11 @@
106
106
  "status": "online"
107
107
  },
108
108
  "CreateAuditRule": {
109
- "document": "本接口(CreateAuditRule)用于创建用户在当前地域的审计规则。",
109
+ "document": "不再支持审计规则创建\n\n本接口(CreateAuditRule)用于创建用户在当前地域的审计规则。",
110
110
  "input": "CreateAuditRuleRequest",
111
111
  "name": "创建审计规则",
112
112
  "output": "CreateAuditRuleResponse",
113
- "status": "online"
113
+ "status": "deprecated"
114
114
  },
115
115
  "CreateAuditRuleTemplate": {
116
116
  "document": "创建审计规则模板",
@@ -225,11 +225,11 @@
225
225
  "status": "online"
226
226
  },
227
227
  "DeleteAuditRule": {
228
- "document": "本接口(DeleteAuditRule)用于删除用户的审计规则。",
228
+ "document": "不再支持审计规则创建\n\n本接口(DeleteAuditRule)用于删除用户的审计规则。",
229
229
  "input": "DeleteAuditRuleRequest",
230
230
  "name": "删除审计规则",
231
231
  "output": "DeleteAuditRuleResponse",
232
- "status": "online"
232
+ "status": "deprecated"
233
233
  },
234
234
  "DeleteAuditRuleTemplates": {
235
235
  "document": "删除审计规则模板",
@@ -351,11 +351,11 @@
351
351
  "status": "online"
352
352
  },
353
353
  "DescribeAuditRules": {
354
- "document": "本接口(DescribeAuditRules)用于查询用户在当前地域的审计规则。",
354
+ "document": "不再支持审计规则创建\n\n本接口(DescribeAuditRules)用于查询用户在当前地域的审计规则。",
355
355
  "input": "DescribeAuditRulesRequest",
356
356
  "name": "查询审计规则",
357
357
  "output": "DescribeAuditRulesResponse",
358
- "status": "online"
358
+ "status": "deprecated"
359
359
  },
360
360
  "DescribeBackupConfig": {
361
361
  "document": "本接口(DescribeBackupConfig)用于查询数据库备份配置信息。",
@@ -820,11 +820,11 @@
820
820
  "status": "online"
821
821
  },
822
822
  "ModifyAuditRule": {
823
- "document": "本接口(ModifyAuditRule)用于修改用户的审计规则。",
823
+ "document": "不再支持审计规则创建\n\n本接口(ModifyAuditRule)用于修改用户的审计规则。",
824
824
  "input": "ModifyAuditRuleRequest",
825
825
  "name": "修改审计规则",
826
826
  "output": "ModifyAuditRuleResponse",
827
- "status": "online"
827
+ "status": "deprecated"
828
828
  },
829
829
  "ModifyAuditRuleTemplates": {
830
830
  "document": "修改审计规则模板",
@@ -5565,7 +5565,7 @@
5565
5565
  "members": [
5566
5566
  {
5567
5567
  "disabled": false,
5568
- "document": "",
5568
+ "document": "查询结果",
5569
5569
  "example": "[{\"Address\":\"beijing\",\"InsID\":\"ins-cvmid\",\"InsName\":\"cvmname\",\"Ip\":\"141.98.11.67\",\"Num\":39,\"Port\":\"22\"}]",
5570
5570
  "member": "StaticInfo",
5571
5571
  "name": "Data",