tccli 3.0.1099.1__py2.py3-none-any.whl → 3.0.1101.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 (127) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cdb/v20170320/CloseSSL.md +21 -0
  3. tccli/examples/cdb/v20170320/DescribeSSLStatus.md +22 -0
  4. tccli/examples/cdb/v20170320/OpenSSL.md +21 -0
  5. tccli/examples/cls/v20201016/CreateCosRecharge.md +4 -4
  6. tccli/examples/cls/v20201016/CreateDashboardSubscribe.md +18 -0
  7. tccli/examples/cls/v20201016/DeleteConfigExtra.md +1 -1
  8. tccli/examples/cls/v20201016/DeleteDashboardSubscribe.md +18 -0
  9. tccli/examples/cls/v20201016/DescribeDashboardSubscribes.md +18 -0
  10. tccli/examples/cls/v20201016/ModifyCosRecharge.md +3 -3
  11. tccli/examples/cls/v20201016/ModifyDashboardSubscribe.md +18 -0
  12. tccli/examples/cls/v20201016/SearchDashboardSubscribe.md +35 -0
  13. tccli/examples/csip/v20221121/CreateRiskCenterScanTask.md +1 -0
  14. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewCFGRiskList.md +1 -0
  15. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewPortRiskList.md +1 -0
  16. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewVULRiskList.md +1 -0
  17. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewWeakPasswordRiskList.md +1 -0
  18. tccli/examples/csip/v20221121/DescribeRiskCenterPortViewPortRiskList.md +1 -0
  19. tccli/examples/csip/v20221121/DescribeRiskCenterServerRiskList.md +1 -0
  20. tccli/examples/csip/v20221121/DescribeRiskCenterVULViewVULRiskList.md +1 -0
  21. tccli/examples/csip/v20221121/DescribeRiskCenterWebsiteRiskList.md +1 -0
  22. tccli/examples/csip/v20221121/DescribeScanTaskList.md +1 -0
  23. tccli/examples/csip/v20221121/DescribeTaskLogURL.md +1 -0
  24. tccli/examples/csip/v20221121/ModifyRiskCenterRiskStatus.md +1 -0
  25. tccli/examples/csip/v20221121/ModifyRiskCenterScanTask.md +1 -0
  26. tccli/examples/dlc/v20210125/CreateSparkSessionBatchSQL.md +1 -1
  27. tccli/examples/domain/v20180808/ModifyTemplate.md +73 -0
  28. tccli/examples/ess/v20201111/DescribeBatchOrganizationRegistrationUrls.md +27 -0
  29. tccli/examples/hunyuan/v20230901/ChatCompletions.md +141 -1
  30. tccli/examples/hunyuan/v20230901/ChatPro.md +2 -2
  31. tccli/examples/lke/v20231130/GetEmbedding.md +1 -1
  32. tccli/examples/lke/v20231130/GetMsgRecord.md +4 -1
  33. tccli/examples/ocr/v20181119/RecognizeGeneralTextImageWarn.md +83 -0
  34. tccli/examples/postgres/v20170312/ModifyAccountRemark.md +1 -1
  35. tccli/examples/rum/v20210622/CreateWhitelist.md +2 -2
  36. tccli/examples/rum/v20210622/DescribeRumGroupLog.md +3 -3
  37. tccli/examples/rum/v20210622/DescribeRumLogExport.md +6 -6
  38. tccli/examples/rum/v20210622/DescribeRumStatsLogList.md +2 -2
  39. tccli/examples/teo/v20220901/CreatePlan.md +47 -0
  40. tccli/examples/teo/v20220901/DescribeRulesSetting.md +6 -159
  41. tccli/examples/teo/v20220901/DestroyPlan.md +20 -0
  42. tccli/examples/teo/v20220901/IncreasePlanQuota.md +46 -0
  43. tccli/examples/teo/v20220901/ModifyPlan.md +21 -0
  44. tccli/examples/teo/v20220901/RenewPlan.md +23 -0
  45. tccli/examples/teo/v20220901/UpgradePlan.md +23 -0
  46. tccli/examples/tione/v20191022/UpdateCodeRepository.md +1 -1
  47. tccli/examples/tke/v20180525/CheckInstancesUpgradeAble.md +15 -7
  48. tccli/examples/tke/v20180525/CreateCluster.md +58 -142
  49. tccli/examples/tke/v20180525/DescribeClusterNodePools.md +1 -0
  50. tccli/examples/tke/v20180525/GetUpgradeInstanceProgress.md +18 -19
  51. tccli/examples/tke/v20180525/ModifyClusterAuthenticationOptions.md +3 -0
  52. tccli/examples/tke/v20180525/ModifyNodePoolInstanceTypes.md +1 -1
  53. tccli/examples/tms/v20201229/AnswerQuestion.md +21 -0
  54. tccli/examples/tsf/v20180326/CreateCluster.md +2 -2
  55. tccli/examples/vpc/v20170312/DeleteVpnGateway.md +1 -2
  56. tccli/examples/vpc/v20170312/DescribeVpnGatewayRoutes.md +2 -1
  57. tccli/examples/vpc/v20170312/DescribeVpnGatewaySslServers.md +23 -33
  58. tccli/examples/vpc/v20170312/InquiryPriceCreateVpnGateway.md +11 -3
  59. tccli/examples/vpc/v20170312/InquiryPriceResetVpnGatewayInternetMaxBandwidth.md +14 -7
  60. tccli/examples/vpc/v20170312/ModifyVpnGatewayCcnRoutes.md +1 -1
  61. tccli/examples/vpc/v20170312/ModifyVpnGatewayRoutes.md +8 -4
  62. tccli/examples/wedata/v20210820/DescribeProject.md +58 -1
  63. tccli/services/aiart/v20221229/api.json +5 -5
  64. tccli/services/cdb/cdb_client.py +163 -4
  65. tccli/services/cdb/v20170320/api.json +169 -0
  66. tccli/services/cdb/v20170320/examples.json +24 -0
  67. tccli/services/clb/v20180317/api.json +18 -0
  68. tccli/services/cls/cls_client.py +337 -72
  69. tccli/services/cls/v20201016/api.json +461 -50
  70. tccli/services/cls/v20201016/examples.json +45 -5
  71. tccli/services/csip/v20221121/api.json +157 -4
  72. tccli/services/csip/v20221121/examples.json +13 -13
  73. tccli/services/cvm/v20170312/api.json +3 -3
  74. tccli/services/cwp/cwp_client.py +0 -53
  75. tccli/services/cwp/v20180228/api.json +0 -194
  76. tccli/services/cwp/v20180228/examples.json +0 -8
  77. tccli/services/cynosdb/v20190107/api.json +1 -1
  78. tccli/services/dlc/v20210125/api.json +14 -4
  79. tccli/services/dlc/v20210125/examples.json +1 -1
  80. tccli/services/domain/domain_client.py +53 -0
  81. tccli/services/domain/v20180808/api.json +62 -0
  82. tccli/services/domain/v20180808/examples.json +8 -0
  83. tccli/services/dts/v20211206/api.json +1 -1
  84. tccli/services/ess/ess_client.py +57 -4
  85. tccli/services/ess/v20201111/api.json +88 -0
  86. tccli/services/ess/v20201111/examples.json +8 -0
  87. tccli/services/essbasic/v20210526/api.json +1 -1
  88. tccli/services/hunyuan/v20230901/api.json +10 -10
  89. tccli/services/hunyuan/v20230901/examples.json +26 -2
  90. tccli/services/ims/v20201229/api.json +2 -1
  91. tccli/services/iotvideo/v20211125/api.json +15 -0
  92. tccli/services/lke/lke_client.py +114 -8
  93. tccli/services/lke/v20231130/api.json +492 -0
  94. tccli/services/lke/v20231130/examples.json +18 -2
  95. tccli/services/nlp/v20190408/api.json +13 -0
  96. tccli/services/ocr/ocr_client.py +53 -0
  97. tccli/services/ocr/v20181119/api.json +156 -0
  98. tccli/services/ocr/v20181119/examples.json +8 -0
  99. tccli/services/postgres/v20170312/examples.json +1 -1
  100. tccli/services/rce/v20201103/api.json +9 -9
  101. tccli/services/rum/v20210622/api.json +43 -41
  102. tccli/services/rum/v20210622/examples.json +7 -7
  103. tccli/services/ssl/v20191205/api.json +2 -2
  104. tccli/services/tdmq/v20200217/api.json +6 -6
  105. tccli/services/teo/teo_client.py +338 -20
  106. tccli/services/teo/v20220901/api.json +376 -2
  107. tccli/services/teo/v20220901/examples.json +61 -1
  108. tccli/services/tione/v20191022/api.json +6 -7
  109. tccli/services/tione/v20191022/examples.json +1 -1
  110. tccli/services/tione/v20211111/api.json +2 -0
  111. tccli/services/tke/v20180525/api.json +77 -93
  112. tccli/services/tke/v20180525/examples.json +7 -7
  113. tccli/services/tms/tms_client.py +53 -0
  114. tccli/services/tms/v20201229/api.json +44 -0
  115. tccli/services/tms/v20201229/examples.json +8 -0
  116. tccli/services/tse/v20201207/api.json +49 -1
  117. tccli/services/tsf/v20180326/api.json +80 -42
  118. tccli/services/tsf/v20180326/examples.json +1 -1
  119. tccli/services/vpc/v20170312/api.json +39 -23
  120. tccli/services/vpc/v20170312/examples.json +14 -14
  121. tccli/services/wedata/v20210820/api.json +465 -0
  122. tccli/services/wedata/v20210820/examples.json +1 -1
  123. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/METADATA +2 -2
  124. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/RECORD +127 -109
  125. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/WHEEL +0 -0
  126. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/entry_points.txt +0 -0
  127. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/license_files/LICENSE +0 -0
@@ -116,6 +116,7 @@
116
116
  "example": "无",
117
117
  "member": "float",
118
118
  "name": "Positive",
119
+ "output_required": true,
119
120
  "type": "float",
120
121
  "value_allowed_null": false
121
122
  },
@@ -125,6 +126,7 @@
125
126
  "example": "无",
126
127
  "member": "float",
127
128
  "name": "Neutral",
129
+ "output_required": true,
128
130
  "type": "float",
129
131
  "value_allowed_null": false
130
132
  },
@@ -134,6 +136,7 @@
134
136
  "example": "无",
135
137
  "member": "float",
136
138
  "name": "Negative",
139
+ "output_required": true,
137
140
  "type": "float",
138
141
  "value_allowed_null": false
139
142
  },
@@ -143,6 +146,7 @@
143
146
  "example": "无",
144
147
  "member": "string",
145
148
  "name": "Sentiment",
149
+ "output_required": true,
146
150
  "type": "string",
147
151
  "value_allowed_null": false
148
152
  },
@@ -346,6 +350,7 @@
346
350
  "example": "满园春色",
347
351
  "member": "string",
348
352
  "name": "TopScroll",
353
+ "output_required": true,
349
354
  "type": "string",
350
355
  "value_allowed_null": false
351
356
  },
@@ -355,6 +360,7 @@
355
360
  "example": "无",
356
361
  "member": "string",
357
362
  "name": "Content",
363
+ "output_required": true,
358
364
  "type": "list",
359
365
  "value_allowed_null": false
360
366
  },
@@ -364,6 +370,7 @@
364
370
  "example": "无",
365
371
  "member": "string",
366
372
  "name": "RandomCause",
373
+ "output_required": true,
367
374
  "type": "string",
368
375
  "value_allowed_null": false
369
376
  },
@@ -418,6 +425,7 @@
418
425
  "example": "阳光",
419
426
  "member": "string",
420
427
  "name": "Title",
428
+ "output_required": true,
421
429
  "type": "string",
422
430
  "value_allowed_null": false
423
431
  },
@@ -427,6 +435,7 @@
427
435
  "example": "无",
428
436
  "member": "string",
429
437
  "name": "Content",
438
+ "output_required": true,
430
439
  "type": "list",
431
440
  "value_allowed_null": false
432
441
  },
@@ -733,6 +742,7 @@
733
742
  "example": "无",
734
743
  "member": "float",
735
744
  "name": "Similarity",
745
+ "output_required": true,
736
746
  "type": "float",
737
747
  "value_allowed_null": false
738
748
  },
@@ -916,6 +926,7 @@
916
926
  "example": "无",
917
927
  "member": "string",
918
928
  "name": "WordList",
929
+ "output_required": true,
919
930
  "type": "list",
920
931
  "value_allowed_null": false
921
932
  },
@@ -1042,6 +1053,7 @@
1042
1053
  "example": "无",
1043
1054
  "member": "Embellish",
1044
1055
  "name": "EmbellishList",
1056
+ "output_required": true,
1045
1057
  "type": "list",
1046
1058
  "value_allowed_null": false
1047
1059
  },
@@ -1114,6 +1126,7 @@
1114
1126
  "example": "无",
1115
1127
  "member": "Writing",
1116
1128
  "name": "WritingList",
1129
+ "output_required": true,
1117
1130
  "type": "list",
1118
1131
  "value_allowed_null": false
1119
1132
  },
@@ -2357,6 +2357,58 @@ def doHmtResidentPermitOCR(args, parsed_globals):
2357
2357
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2358
2358
 
2359
2359
 
2360
+ def doRecognizeGeneralTextImageWarn(args, parsed_globals):
2361
+ g_param = parse_global_arg(parsed_globals)
2362
+
2363
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2364
+ cred = credential.CVMRoleCredential()
2365
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2366
+ cred = credential.STSAssumeRoleCredential(
2367
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2368
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2369
+ )
2370
+ 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):
2371
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2372
+ else:
2373
+ cred = credential.Credential(
2374
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2375
+ )
2376
+ http_profile = HttpProfile(
2377
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2378
+ reqMethod="POST",
2379
+ endpoint=g_param[OptionsDefine.Endpoint],
2380
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2381
+ )
2382
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2383
+ if g_param[OptionsDefine.Language]:
2384
+ profile.language = g_param[OptionsDefine.Language]
2385
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2386
+ client = mod.OcrClient(cred, g_param[OptionsDefine.Region], profile)
2387
+ client._sdkVersion += ("_CLI_" + __version__)
2388
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2389
+ model = models.RecognizeGeneralTextImageWarnRequest()
2390
+ model.from_json_string(json.dumps(args))
2391
+ start_time = time.time()
2392
+ while True:
2393
+ rsp = client.RecognizeGeneralTextImageWarn(model)
2394
+ result = rsp.to_json_string()
2395
+ try:
2396
+ json_obj = json.loads(result)
2397
+ except TypeError as e:
2398
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2399
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2400
+ break
2401
+ cur_time = time.time()
2402
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2403
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2404
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2405
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2406
+ else:
2407
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2408
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2409
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2410
+
2411
+
2360
2412
  def doSmartStructuralOCR(args, parsed_globals):
2361
2413
  g_param = parse_global_arg(parsed_globals)
2362
2414
 
@@ -4441,6 +4493,7 @@ ACTION_MAP = {
4441
4493
  "TableOCR": doTableOCR,
4442
4494
  "EnglishOCR": doEnglishOCR,
4443
4495
  "HmtResidentPermitOCR": doHmtResidentPermitOCR,
4496
+ "RecognizeGeneralTextImageWarn": doRecognizeGeneralTextImageWarn,
4444
4497
  "SmartStructuralOCR": doSmartStructuralOCR,
4445
4498
  "ArithmeticOCR": doArithmeticOCR,
4446
4499
  "TollInvoiceOCR": doTollInvoiceOCR,
@@ -343,6 +343,13 @@
343
343
  "output": "RecognizeGeneralInvoiceResponse",
344
344
  "status": "online"
345
345
  },
346
+ "RecognizeGeneralTextImageWarn": {
347
+ "document": "本接口支持多种类型证件有效性检测告警,包括卡证复印件告警、卡证翻拍告警等功能。可以应用于各种证件信息有效性校验场景,例如银行开户、用户注册等场景。",
348
+ "input": "RecognizeGeneralTextImageWarnRequest",
349
+ "name": "通用文本图像告警",
350
+ "output": "RecognizeGeneralTextImageWarnResponse",
351
+ "status": "online"
352
+ },
346
353
  "RecognizeHealthCodeOCR": {
347
354
  "document": "本接口支持北京、上海、广东、江苏、吉林、黑龙江、天津、辽宁、浙江、河南、四川、贵州、山东、安徽、福建、江西、湖北、湖南等省份健康码的识别,包括持码人姓名、持码人身份证号、健康码更新时间、健康码颜色、核酸检测结果、核酸检测间隔时长、核酸检测时间,疫苗接种信息,八个字段的识别结果输出。不同省市健康码显示的字段信息有所不同,上述字段的识别结果可能为空,以图片上具体展示的信息为准。\n\n默认接口请求频率限制:10次/秒。",
348
355
  "input": "RecognizeHealthCodeOCRRequest",
@@ -5721,6 +5728,42 @@
5721
5728
  ],
5722
5729
  "usage": "out"
5723
5730
  },
5731
+ "GeneralWarnInfo": {
5732
+ "document": "通用告警详情",
5733
+ "members": [
5734
+ {
5735
+ "disabled": false,
5736
+ "document": "是否存在该告警",
5737
+ "example": "无",
5738
+ "member": "bool",
5739
+ "name": "IsWarn",
5740
+ "output_required": true,
5741
+ "type": "bool",
5742
+ "value_allowed_null": false
5743
+ },
5744
+ {
5745
+ "disabled": false,
5746
+ "document": "告警位置四点坐标",
5747
+ "example": "无",
5748
+ "member": "Polygon",
5749
+ "name": "Polygon",
5750
+ "output_required": true,
5751
+ "type": "list",
5752
+ "value_allowed_null": false
5753
+ },
5754
+ {
5755
+ "disabled": false,
5756
+ "document": "特殊判定,支持包括\n\nFinger:由手指导致的不完整,仅在不完整告警中返回",
5757
+ "example": "无",
5758
+ "member": "string",
5759
+ "name": "SpecificMatter",
5760
+ "output_required": true,
5761
+ "type": "string",
5762
+ "value_allowed_null": false
5763
+ }
5764
+ ],
5765
+ "usage": "out"
5766
+ },
5724
5767
  "GetTaskStateRequest": {
5725
5768
  "document": "GetTaskState请求参数结构体",
5726
5769
  "members": [
@@ -11320,6 +11363,119 @@
11320
11363
  ],
11321
11364
  "type": "object"
11322
11365
  },
11366
+ "RecognizeGeneralTextImageWarnRequest": {
11367
+ "document": "RecognizeGeneralTextImageWarn请求参数结构体",
11368
+ "members": [
11369
+ {
11370
+ "disabled": false,
11371
+ "document": "图片的 Url 地址。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经 Base64 编码后不超过 7M。图片下载时间不超过 3 秒。\n支持的图片像素:需介于20-10000px之间。\n图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。\n非腾讯云存储的 Url 速度和稳定性可能受一定影响。",
11372
+ "example": "https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/docume",
11373
+ "member": "string",
11374
+ "name": "ImageUrl",
11375
+ "required": false,
11376
+ "type": "string"
11377
+ },
11378
+ {
11379
+ "disabled": false,
11380
+ "document": "图片的 Base64 值。\n支持的图片格式:PNG、JPG、JPEG,暂不支持 GIF 格式。\n支持的图片大小:所下载图片经Base64编码后不超过 7M。图片下载时间不超过 3 秒。\n支持的图片像素:需介于20-10000px之间。\n图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。",
11381
+ "example": "无",
11382
+ "member": "string",
11383
+ "name": "ImageBase64",
11384
+ "required": false,
11385
+ "type": "string"
11386
+ },
11387
+ {
11388
+ "disabled": false,
11389
+ "document": "是否开启PDF识别,默认值为true,开启后可同时支持图片和PDF的识别。 示例值:false",
11390
+ "example": "true",
11391
+ "member": "bool",
11392
+ "name": "EnablePdf",
11393
+ "required": false,
11394
+ "type": "bool"
11395
+ },
11396
+ {
11397
+ "disabled": false,
11398
+ "document": "需要识别的PDF页面的对应页码,传入时仅支持PDF单页识别,当上传文件为PDF且EnablePdf参数值为true时有效,默认值为1。 示例值:1",
11399
+ "example": "1",
11400
+ "member": "int64",
11401
+ "name": "PdfPageNumber",
11402
+ "required": false,
11403
+ "type": "int"
11404
+ },
11405
+ {
11406
+ "disabled": false,
11407
+ "document": "支持的模板类型\n- General 通用告警\n- LicensePlate 车牌告警",
11408
+ "example": "无",
11409
+ "member": "string",
11410
+ "name": "Type",
11411
+ "required": false,
11412
+ "type": "string"
11413
+ }
11414
+ ],
11415
+ "type": "object"
11416
+ },
11417
+ "RecognizeGeneralTextImageWarnResponse": {
11418
+ "document": "RecognizeGeneralTextImageWarn返回参数结构体",
11419
+ "members": [
11420
+ {
11421
+ "disabled": false,
11422
+ "document": "复印告警信息",
11423
+ "example": "无",
11424
+ "member": "GeneralWarnInfo",
11425
+ "name": "Copy",
11426
+ "output_required": true,
11427
+ "type": "object",
11428
+ "value_allowed_null": false
11429
+ },
11430
+ {
11431
+ "disabled": false,
11432
+ "document": "翻拍告警信息",
11433
+ "example": "无",
11434
+ "member": "GeneralWarnInfo",
11435
+ "name": "Reprint",
11436
+ "output_required": true,
11437
+ "type": "object",
11438
+ "value_allowed_null": false
11439
+ },
11440
+ {
11441
+ "disabled": false,
11442
+ "document": "模糊告警信息",
11443
+ "example": "无",
11444
+ "member": "GeneralWarnInfo",
11445
+ "name": "Blur",
11446
+ "output_required": true,
11447
+ "type": "object",
11448
+ "value_allowed_null": false
11449
+ },
11450
+ {
11451
+ "disabled": false,
11452
+ "document": "反光告警信息",
11453
+ "example": "无",
11454
+ "member": "GeneralWarnInfo",
11455
+ "name": "Reflection",
11456
+ "output_required": true,
11457
+ "type": "object",
11458
+ "value_allowed_null": false
11459
+ },
11460
+ {
11461
+ "disabled": false,
11462
+ "document": "边框不完整告警信息",
11463
+ "example": "无",
11464
+ "member": "GeneralWarnInfo",
11465
+ "name": "BorderIncomplete",
11466
+ "output_required": true,
11467
+ "type": "object",
11468
+ "value_allowed_null": false
11469
+ },
11470
+ {
11471
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
11472
+ "member": "string",
11473
+ "name": "RequestId",
11474
+ "type": "string"
11475
+ }
11476
+ ],
11477
+ "type": "object"
11478
+ },
11323
11479
  "RecognizeHealthCodeOCRRequest": {
11324
11480
  "document": "RecognizeHealthCodeOCR请求参数结构体",
11325
11481
  "members": [
@@ -446,6 +446,14 @@
446
446
  "title": "通用票据识别(高级版)"
447
447
  }
448
448
  ],
449
+ "RecognizeGeneralTextImageWarn": [
450
+ {
451
+ "document": "通用文本图像告警示例",
452
+ "input": "POST / HTTP/1.1\nHost: ocr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RecognizeGeneralTextImageWarn\n<公共请求参数>\n\n{\n \"ImageUrl\": \"https://xx/a.jpg\"\n}",
453
+ "output": "{\n \"Response\": {\n \"Blur\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"BorderIncomplete\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"Copy\": {\n \"IsWarn\": true,\n \"Polygon\": [\n {\n \"LeftBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 0,\n \"Y\": 0\n }\n }\n ],\n \"SpecificMatter\": \"\"\n },\n \"Reflection\": {\n \"IsWarn\": false,\n \"Polygon\": [],\n \"SpecificMatter\": \"\"\n },\n \"Reprint\": {\n \"IsWarn\": true,\n \"Polygon\": [\n {\n \"LeftBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"LeftTop\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightBottom\": {\n \"X\": 0,\n \"Y\": 0\n },\n \"RightTop\": {\n \"X\": 0,\n \"Y\": 0\n }\n }\n ],\n \"SpecificMatter\": \"\"\n },\n \"RequestId\": \"d8b2bf40-091e-43f1-a075-d98a5c9b2e1e\"\n }\n}",
454
+ "title": "通用文本图像告警示例代码"
455
+ }
456
+ ],
449
457
  "RecognizeHealthCodeOCR": [
450
458
  {
451
459
  "document": "健康码识别",
@@ -549,7 +549,7 @@
549
549
  "document": "",
550
550
  "input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAccountRemark\n<公共请求参数>\n\n{\n \"UserName\": \"test\",\n \"Remark\": \"testModifyRemark\",\n \"DBInstanceId\": \"postgres-6bwgamo3\"\n}",
551
551
  "output": "{\n \"Response\": {\n \"RequestId\": \"08fdf411-5d39-44f2-8e1d-a58ee60b237d\"\n }\n}",
552
- "title": "修改帐号备注"
552
+ "title": "修改账号备注"
553
553
  }
554
554
  ],
555
555
  "ModifyBackupDownloadRestriction": [
@@ -684,41 +684,41 @@
684
684
  "members": [
685
685
  {
686
686
  "disabled": false,
687
- "document": "返回码。0表示成功,非0标识失败错误码。\n注意:此字段可能返回 null,表示取不到有效值。",
688
- "example": "",
687
+ "document": "错误码,0 表示成功,非0表示失败错误码。\n0:成功\n1:错误\n1002:参数错误\n4300:未开通服务\n4301:后端未创建对应产品\n注意:此字段可能返回 null,表示取不到有效值。",
688
+ "example": "",
689
689
  "member": "int64",
690
690
  "name": "Code",
691
- "required": true,
691
+ "output_required": true,
692
692
  "type": "int",
693
693
  "value_allowed_null": true
694
694
  },
695
695
  {
696
696
  "disabled": false,
697
697
  "document": "UTF-8编码,出错消息。\n注意:此字段可能返回 null,表示取不到有效值。",
698
- "example": "",
698
+ "example": "",
699
699
  "member": "string",
700
700
  "name": "Message",
701
- "required": true,
701
+ "output_required": true,
702
702
  "type": "string",
703
703
  "value_allowed_null": true
704
704
  },
705
705
  {
706
706
  "disabled": false,
707
707
  "document": "业务详情。\n注意:此字段可能返回 null,表示取不到有效值。",
708
- "example": "",
708
+ "example": "",
709
709
  "member": "OutputManageMarketingRiskValue",
710
710
  "name": "Value",
711
- "required": true,
711
+ "output_required": true,
712
712
  "type": "object",
713
713
  "value_allowed_null": true
714
714
  },
715
715
  {
716
716
  "disabled": false,
717
717
  "document": "控制台显示的req_id。\n注意:此字段可能返回 null,表示取不到有效值。",
718
- "example": "",
718
+ "example": "",
719
719
  "member": "string",
720
720
  "name": "UUid",
721
- "required": true,
721
+ "output_required": true,
722
722
  "type": "string",
723
723
  "value_allowed_null": true
724
724
  }